Commit Graph

6135 Commits

Author SHA1 Message Date
auria
3b91d2c327 Add some missing docs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 01:03:38 +00:00
auria
209911fa21 Add method beforeAddingWidgets to dialogs too, use it to fix Joerg's problem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 01:02:24 +00:00
hikerstk
5d787ec0cb Try to use bubble widget for the description of addons. Also removed
'Description:' text.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 00:51:13 +00:00
auria
1ad86ccf55 Allow escaping from gamepad visualisation screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 00:03:12 +00:00
auria
61af0d7159 Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 00:02:23 +00:00
hikerstk
498a0a104e 1) Moved news message handling into a separate object.
2) Added prioritised request list to network manager.
3) Fixed ticket 217 (crash at shutdown), which happens if 
   the background thread downloading the icons is still
   active when STK is quit (and then accessing managers
   that have been deleted).
4) Handled partial downloads correctly: files are now
   downloaded with ".part" appended to the filename,
   and only upon a successful download renamed to 
   the original name.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8552 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-12 23:51:00 +00:00
auria
11e925f867 Fix musical note hiccup bug by preparing track music in 2 phases
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-11 01:47:27 +00:00
hikerstk
449f99be62 Used bitmask for verbosity.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-09 12:28:52 +00:00
auria
4c2d0215a0 Fixed leak + blindly try to fix disabling devices not working as seemed to be reported
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-08 00:56:09 +00:00
auria
1e2dc94c18 Minor tweak to Xcode project : sort files alphabetically
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-07 16:43:25 +00:00
auria
67b0d9b4d4 Fixed 'all' tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-06 01:28:19 +00:00
auria
e4c4524e74 Fix shortcut in scotland
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-06 01:14:51 +00:00
auria
31f61da7e2 recenter snow after recent particles center change
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8519 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-06 00:50:43 +00:00
hikerstk
24a11c5b8b Fixed resolution change (it got broken while fixing leaked textures).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-05 01:55:26 +00:00
hikerstk
68bb78ca36 Made 'notes.png' permanent (which is atm redundant since it's listed in
textures/materials.xml and therefore already is permanent - but just
in case that we remove it some day).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-05 01:54:31 +00:00
hikerstk
8475ac6d63 Switched addons verbosity handling to use the new bitmap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-04 22:04:12 +00:00
hikerstk
5e61e050a8 Simplified physics track mesh handling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-04 21:41:32 +00:00
hikerstk
9c127322f2 Added assert to material_manager to catch if unintentionally
temporary materials are made permanent (while this is not
a memory leak, the code should use the right functions to
indicate which materials will stay around). Fixed some
materials that became permanently even though the code
called 'pushTempMaterial' (but the materials stayed
permanent). Moved icons_frame into commong race gui
base class, and made race gui textures permanent (so
that they don't cause any false texture-leaked messasges,
and also to avoid loading them again at each race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-04 00:15:46 +00:00
auria
91432cd658 Style cleanup : add some missing m_ prefixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-04 00:01:55 +00:00
auria
0f57b0b46a Rename macros to avoid name clases
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:50:36 +00:00
auria
a4c846bbe3 Experimental test, Joerg I hope you won't hate me ;) Switch some GUI code to for_each instead of for, i think it's easier to read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-03 23:46:03 +00:00
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