Commit Graph

6464 Commits

Author SHA1 Message Date
auria
e0361f53f1 Not really necessary cleanup :) : port kart properties to use Ptrvector, which makes code a bit smaller and (IMHO) easier to read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:14:00 +00:00
hikerstk
86329d7ec5 Changed order in which race gui and track are released to
avoid memory debugging having inconsistent texture information
at startup and cleanup time.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 07:14:04 +00:00
hikerstk
788d8b08e2 Fixed more texture related memory leaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-02 21:57:39 +00:00
auria
f0f7167216 Fixed leak when using images with masks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-02 01:44:38 +00:00
auria
532053d319 Fix some RTT-related leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-02 01:39:23 +00:00
auria
b183a8b250 Fixed afall camera not working when SFX are disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-02 01:22:35 +00:00
auria
0cf4133d8a Fixed nitro being emitted by small blobs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-02 00:21:53 +00:00
auria
6b9f04c858 Removed outdated FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-01 23:24:04 +00:00
auria
bb50ae6dbf Remove duplicate texture
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-01 22:39:47 +00:00
hikerstk
c216d2b35e Fixed more texture memory leaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8498 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-01 22:38:23 +00:00
hikerstk
92123f8681 Fixed incorrect 'priority' of texture search path:
data/texture/mossy_stone.png was loaded for jungle 
instead of data/tracks/jungle/mossy_stone.png.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-01 14:30:50 +00:00
auria
7a50215426 Minimal code to support disabling FBOs. No GUI for that at this time.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-30 22:58:05 +00:00
auria
bea4efecfc Fix material 2D not always being enabled when it should
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-30 17:42:44 +00:00
auria
b1c7d6954c Properly enable font smoothing in loading screen too (this may not work unless you have a patched irrlicht)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 21:10:44 +00:00
auria
0c788e14a4 Hopefully fixed crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 20:12:03 +00:00
hikerstk
6f765cb95f Added --debug=all as a shortcut if all debug output should be enabled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 03:42:47 +00:00
hikerstk
fd78e796d2 Changed interface to sky box and sky cube (so that textures can be
tracked and released). Fixed memory leak in sky domes/boxes and
mini map.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-29 00:29:34 +00:00
auria
8bd30a0b87 Fix abundant warnings with GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 17:47:02 +00:00
hikerstk
fb4fb58ffd Added memory debug output for texture cache usage.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 12:48:28 +00:00
hikerstk
84badc0eeb Added --debug={memory,gui,addons,misc} command line
option (so far only memory debug is actually supported
by debug code).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 10:56:13 +00:00
hikerstk
afad571929 Added convenience functions to check for log messages of various
types.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-28 04:25:58 +00:00
hikerstk
92b0d334de Made the m_old_mesh_buffer a member of the class instead of a global
variable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 23:08:35 +00:00
hikerstk
f70d077ba0 Fixed mesh leaks when track objects are used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 22:48:36 +00:00
hikerstk
b134eca433 Fixed memory corruption on cleanup when water nodes were used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 22:46:48 +00:00
hikerstk
4b39b151cc In debug mode with verbose memory output the names of all leaked buffers
is now printed (my apologies for using a global array, I want to reduce
compile time atm :)  , will fix this later).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 22:02:52 +00:00
hikerstk
74f3baec20 Started to add bit-patterns to be used with verbosity setting so that
only certain debug messages can be enabled.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 12:47:47 +00:00
hikerstk
559edb6178 Renamed Track::m_all_meshes to m_all_cached_meshes, IrrDriver::removeMesh
to IrrDriver::removeFromCache to better describe their functions.
Started to add proper freeing of cached track meshes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 11:47:33 +00:00
hikerstk
3e947254f0 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 11:27:21 +00:00
auria
510ca5e66b Added new SnowTuxPeak by Smauncle. Thanks\! (I still left the old one there, LOD in the track lacks subtility. Maybe we need an option for people to disable it when they have capable GPUs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 01:37:12 +00:00
hikerstk
577d837588 Removes tabs, added full path of downloaded file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 00:13:29 +00:00
hikerstk
af2476c6e0 The verbosity was set too late, so many messages where not shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-27 00:11:16 +00:00
auria
fd94266b45 Fixed disabled ribbon items can be accessed anyway if you use keyboard and not mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8465 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-26 17:39:07 +00:00
auria
1fb5469cb3 Fixed crash in ListWidget::getSelectionInternalName when nothing is selected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8464 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-26 17:22:11 +00:00
auria
e6168f8ad7 Add nicer saucer in star track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8462 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-26 00:47:38 +00:00
auria
8e6c7506db More attempts at working around the microsoft-pc-joystick-driver issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 15:46:04 +00:00
auria
4515b9ddcc Hopefully fixed RTl glitch now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 15:23:30 +00:00
auria
0e45501bd0 Fix compilation (ooops)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 14:59:42 +00:00
auria
ff92b342c8 Fix bridge sound in nsow peak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 14:54:13 +00:00
auria
1cb64e3bbf Fix RTL glitch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 14:07:45 +00:00
auria
0c792a7f15 Fix minor difference between crescent crossing sky and background boards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 02:07:18 +00:00
auria
ee3b52d10a Fixed minor instance of text clipping
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 02:04:35 +00:00
auria
83f426c545 Improve secret garden tunnel texturing; with anisotropic filtering enabled it was just psychedelic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 00:34:19 +00:00
auria
4b88999c72 Minor tweak, center label vertically
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 00:19:44 +00:00
auria
f7a9c6bcbd Continue waging war on hardcoded sizes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 00:18:36 +00:00
auria
9021f35cac Continue waging war on hardcoded sizes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 00:11:44 +00:00
auria
898fcdc8d6 Improve layout algorithm and remove many hardcoded sizes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-25 00:04:34 +00:00
auria
e65367f101 Minor documentation improvement
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-24 23:16:58 +00:00
auria
1d0621fd5a refactor gui layout code a little; next shall come awesome new layout features to hopefully crush all remaining resolution-specific bugs featuring clipped text
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-24 23:14:21 +00:00
auria
ef7de5bce8 Added forgotten file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-24 18:26:20 +00:00
auria
96f1e43178 remove anisotropic from material.xml code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-24 17:43:28 +00:00