auria
c5ddfb1d6d
Add nice little race end fanfare and race summary song by Dundersylt
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 01:07:06 +00:00
auria
47d03595de
Make minimap less transparent
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 00:42:19 +00:00
hikerstk
be258f1b75
Added support for sorting addons by column; renamed addons.stkgui
...
to addons_screen.stkgui to indicate better where it is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8646 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 22:43:27 +00:00
hikerstk
8d760b11cd
Added display of the date for addons (should we perhaps make the
...
strftime format translatable?).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 13:09:53 +00:00
auria
f6bc7a0a71
Correct some miscalculation in previous commit; but on the way, max the speed boost less powerful with regard to max speed, I like it better this way ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 01:01:08 +00:00
auria
41ef52118f
Don't freely grant max speed increase on race start, first check if the bonus was obtained
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 00:57:30 +00:00
hikerstk
0e589e0db5
1) Removed unsupported 'fan' and 'high quality' flags.
...
2) Use multi-line label instead of manually splitting
the flags for two separate labels.
3) Translated flags that will be shown to 'normal'
users (i.e. with no artist debug defined).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 00:56:56 +00:00
auria
ad7cbfae3f
Add better docs about line breaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 00:54:39 +00:00
auria
b77f9fc9e7
Fix incorrect fog flag in recent commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-19 00:25:48 +00:00
hikerstk
af710f70d8
Changed layout of addons loading screen: made screen shot
...
smaller (since esp. icons are small anyway and look ugly
when scaled up), removed 'state' label.
The flags are now shown as well (not sure if they should
be all translated), and only approved addons are shown
for people without artist-debug mode set.
Added callback to header list (which don't do anything atm).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 23:10:04 +00:00
auria
0a2c9fc318
Simplify error message
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:19:58 +00:00
auria
9106fb8bfc
Tweak previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:15:04 +00:00
auria
426da1ed04
Apply fog settings to skid marks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:14:33 +00:00
auria
d8abe4604d
Fix glitch in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:05:33 +00:00
auria
0a41c5fff8
Fix fog wrt LOD nodes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-18 01:00:26 +00:00
hikerstk
078ba48e63
Store designer and status flag for addons. Designer is now
...
shown in table view of all addons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 12:01:03 +00:00
hikerstk
c83a6c990f
Fixed typo in log message.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 11:59:29 +00:00
hikerstk
1bd17892e5
4-This line, and those below, will be ignored --
...
M src/states_screens/addons_screen.cpp
M data/gui/addons.stkguRemoved unused field.i
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 07:06:10 +00:00
hikerstk
837277ef92
Fixed compile warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 06:47:44 +00:00
hikerstk
c3d40b798a
Renamed addons_view_dialog.stkgui to addons_loading.stkgui,
...
so that the stkgui name is the same as the source file name.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 06:43:18 +00:00
hikerstk
7fb3a6fb0b
Removed compiler warnings about order of initialisations.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 05:32:36 +00:00
hikerstk
9bdc12ba95
Removed unused HC_SLEEP command.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 05:31:33 +00:00
mbjornstk
53640b68c2
Change printf to fprintf (as other err prints in same file) so it compiles.
...
Otherwise it halted with g++ 4.6 with the following test:
addons/addons_manager.cpp: In member function ‘void* AddonsManager::downloadIcons()’:
addons/addons_manager.cpp:157:41: error: cannot pass objects of non-trivially-copyable type ‘const string’ through ‘...’
addons/addons_manager.cpp:157:41: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘const string’ [-Wformat]
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 04:24:56 +00:00
auria
780f45754f
make list header non-focusable for keyboard-only navigation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 01:15:21 +00:00
auria
7a1ab1fc61
Further improve list widget header
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 01:06:12 +00:00
auria
698ab54e7c
revert to default is currently selected skin is not found (if someday we decide to remove 'glass', for instance ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 00:55:13 +00:00
auria
5041199771
Some more work on list with header
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 00:49:57 +00:00
auria
3cee2ddbe3
A optional header to list control (atm not very pretty and only supports 2 columns, but the basic features are there)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-17 00:39:55 +00:00
hikerstk
8cd2eb1e16
Renamed Synchronised::get()/set() to getAtomic()/setAtomic()
...
to better indicate what those functions are doing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 21:49:58 +00:00
hikerstk
e0107c35eb
1) Fixed handling of aborts (previously an abort during installation
...
could end in cancelling a currently ongoing icon download, e.g. if
icons were still downloading, and the download of the addon had not
been started yet).
2) Fixed potential deadlocks or crash problems at exit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 13:17:03 +00:00
hikerstk
6ac6e76f12
Bugfix: clicking on 'back' in a new addon installation case
...
crashed stk.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 13:13:22 +00:00
hikerstk
859a77df0d
Added support for new XML format which can specify either
...
an image or an icon.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 13:11:37 +00:00
hikerstk
709b73deb8
Added warning message in case of an addon that has no image defined.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-16 13:10:38 +00:00
auria
13de7b86d4
Give the same APPROXIMATE plunger-in-face handicap at all resolutions
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 23:59:49 +00:00
auria
344c89e258
When aiming at the closest kart, prefer karts on similar Y levels to karts much higher or much below
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 23:42:21 +00:00
auria
4e85539c21
Remove commented out code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 23:26:12 +00:00
auria
2ed8f0f6d2
highlight ribbon arrows as requested by Joerg
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 23:08:15 +00:00
auria
41bded8917
More sound tweaks in multiplayer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:58:33 +00:00
auria
a3b3fafe27
More sound tweaks in multiplayer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:44:42 +00:00
auria
32a534b80f
Dim more sounds in multiplayer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:38:31 +00:00
auria
75c1b486db
Suppress annoying and harmless warning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:28:35 +00:00
auria
c66ada8168
Suppress annoying warning
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:28:07 +00:00
auria
424f176497
Fix annoyingly high terrain sounds in multiplayer mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 18:20:24 +00:00
hikerstk
c3a0007bd5
Bugfix:
...
1) If a downloaded file already existed (e.g. an aborted download previously),
the rename from *.part might fail (the behaviour of rename in this case
is unspecified).
2) Reset the abort flag if a download is aborted - otherwise no further download
is possible.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 12:56:07 +00:00
hikerstk
3198d8a6b7
Bugfix: don't cancel a download if the user actually only clicked
...
on 'back' in the uninstall page.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 12:54:12 +00:00
hikerstk
d0f4c8917a
Renamed IGNORE macro to FOR_GETTEXT_ONLY since IGNORE is
...
already defined in winbase.h.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 10:58:24 +00:00
auria
85c337fc7f
Add LOD to item. Say hello to a 5-10 FPS boost\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-15 00:18:35 +00:00
auria
0cf4b61e56
Removed some unused strings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-14 19:40:58 +00:00
auria
ca2906bac6
Allow translating the basic groups
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8572 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-14 19:33:48 +00:00
auria
5f812437b9
Build upon work from previous commit. Commented out because the code is currently not very useful
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-14 00:42:57 +00:00
auria
15cdaf04bd
For ticket #82 : start adding the infrastructure to show in the UI which gamepad is which
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-14 00:30:30 +00:00
auria
922eb14a22
Simplify and make more robust the random kart selection code for AIs, hopefully fixing Arthur_D's bugs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 23:40:29 +00:00
hikerstk
6ccd28d7b2
Fixed race condition on game end: if the network thread quit between the lines:
...
if(m_thread_id)
pthread_cancel(*m_thread_id)
a crash in pthread_cancel happened. Changing m_thread_id is now protected
by a mutex.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 06:49:12 +00:00
hikerstk
c52fa8ceff
1) Fixed race condition: the network thread could access network_http
...
before it is assigned.
2) The network thread is now signalled to quit earlier, giving it more
time to quit cleanly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 06:29:12 +00:00
auria
8b92b84076
Fixed crash when textures are not found
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 01:33:22 +00:00
auria
3d743e8e2d
Use a better path for add-ons on OSX, before I had chosen a poor location and addon files were among config files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 01:29:18 +00:00
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
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
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