Commit Graph

6104 Commits

Author SHA1 Message Date
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
auria
100d670866 Make all surfaces anistropic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8435 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-24 00:07:53 +00:00
auria
a4229e4cdb Fix focus lost when opening and closing dialog in players screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 20:56:57 +00:00
auria
c1f992231e Full support for smoothing scaled icons in the GUI (will only work if you use a patched irrlicht)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 20:34:38 +00:00
auria
0438696ac6 Attempt at smoothing GUI icons when scaled down. Doesn't appear to change much.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 19:21:54 +00:00
auria
7bf9bf353c Can no longer drive on water in city
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 17:34:08 +00:00
auria
16158e434f Make per-material sounds always positional
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 16:09:23 +00:00
auria
4229c14341 Oops, accidentally committed 2.5-exported gnu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 00:38:17 +00:00
auria
cea2f2d91b Terrain SFX fixes with latest changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 00:32:43 +00:00
auria
8b725a88c2 Major audio cleanup : remove sound effects names. Now their filename is their identifier. This simplifies things a lot
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-23 00:22:16 +00:00
auria
9dcb8b7753 Shorten locked message for karts in multiplayer mode, the long stirng doesn't fit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-22 23:54:06 +00:00