Commit Graph

4714 Commits

Author SHA1 Message Date
hikerstk
f3347d5937 Fixed error handling so that STK doesn't crash if it can't
write downloaded data, see #280.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9020 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 12:03:15 +00:00
hikerstk
62e5f76979 Improved documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 11:26:30 +00:00
hikerstk
b4d3d5e5bb Fixed several copy&paste errors in checkAndCreateAddonsDir
(instead of creating m_addons_dir, the code was creating
m_config_dir, so the addons directories would not be created
correctly) - see #280.
Also improved error handling and error messages. The file_manager
now checks for $XDG_DATA_HOME, $HOME/.local/share, $HOME/.stkaddons
or else "." as a base directory for addons (under which it will
create supertuxkart/addons).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 07:18:05 +00:00
hikerstk
03b74e2e97 Added some debug output to swatter to check why a swatter is swatting
(use --debug=misc to enable).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-22 23:53:10 +00:00
hikerstk
da8ec214ce Added a very first version of a swatter (or inflatable hammer).
Details are in the wiki (http://supertuxkart.sourceforge.net/Items).
Note that the model is _obviously_ a placeholder, and I  used
the icon for the bomb (which isn't used in game atm) for the
swatter. I hope someone can provide a better model and icon.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-22 12:27:48 +00:00
auria
863feb055d Add code-level support for new clamping flag
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-20 00:41:26 +00:00
hikerstk
9ea1300174 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-19 22:09:46 +00:00
auria
429267f44a Allow making races of 0 laps in artist debug mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-19 19:55:51 +00:00
auria
d5cf527232 Add support for sound effects exported by blender 2.5
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-19 19:44:31 +00:00
auria
c132207a3e Add support for reading 2.5-style zippers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-19 17:13:37 +00:00
auria
7b60ad1a9e Better error checking: refuse to continue when no drivelines are found but we're playing with AIs, we can only handle lack of drivelines when there is 1 kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 22:43:00 +00:00
auria
ccecbf0ba3 Allow playing without driveline when no AI akrt is used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 22:36:14 +00:00
auria
fa464cd4ab Fixed minor in-game menu bug found by KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 15:43:23 +00:00
auria
d391815608 Fixed clipping in bubble widgets
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-18 15:33:26 +00:00
auria
f27e3bfae4 Don't cache GP names translations so that if you switch the language they apepar in the new language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-17 01:46:30 +00:00
hikerstk
af147c3c37 Fixed minor typos in comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-15 13:04:15 +00:00
auria
b833ce158b Fixed weird list rendering
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-15 01:48:35 +00:00
auria
bb4a079145 Remove old Norwegian language definitions after request from mailing list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-13 22:30:38 +00:00
hikerstk
a3c9eac53b Fixed #274: unzipping of addons file would actually copy
data/testures/materials.xml instead of materials.xml from the
zip file.
To fix any already downloaded addon, they have to be uninstalled
and installed from scratch again.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-13 12:27:19 +00:00
hikerstk
058a2ca870 Fixed #272: the list of tracks was not cleared before reloading
all track files, resulting in more and more tracks accumulating
in the track list each time a track is (un)installed.
In case of uninstalling a track, the track would remain in the
list, and if this track is selected, STK crashed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-13 11:22:45 +00:00
auria
4e55c0f0c5 Add support for the rare case that the system language is actually a list of languages, separated by colons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 19:08:13 +00:00
auria
d0e4dabf9e Fixed harmless warning and bogus resolution display in options when viewing from in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 18:51:05 +00:00
auria
2ea4582366 Fix minor issue with resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 18:43:27 +00:00
auria
57499218f0 Fixed default karts in multiplayer appearing too small in the preview
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 17:47:03 +00:00
auria
42c71ad459 Fix the default kart not being approvable in multiplayer mdoe
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 17:43:40 +00:00
auria
7572725120 Improve a bit kart selection screen bug found by KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 17:35:13 +00:00
auria
b3a80826f4 Use proper multiplication sign in resolutions instead of abusing letter X
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 15:29:32 +00:00
auria
a6f9577b44 Make display of time in highscores uniform
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 15:14:53 +00:00
auria
6ef8702364 Make 2 more strings translatable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 15:09:50 +00:00
auria
561e40a9ed No questiuon mark for minimap when RTT is down
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-12 00:04:53 +00:00
hikerstk
47bee18eff Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 02:21:34 +00:00
auria
fd53245e0c nice featured indicator
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 01:47:49 +00:00
auria
2a482d7577 Remove logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-10 01:15:39 +00:00
auria
97eec932e8 Remove debug print I forgot in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-09 01:32:11 +00:00
auria
23711c7174 Try to add support for having dsome materials ignore fog. Works for lighthouse light, but not for lighthouse sky
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-09 01:29:25 +00:00
hikerstk
0b1f53983d Fixex embarrassing bug in r8860.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 22:38:47 +00:00
hikerstk
e83281495e Added proper error message in case that data for an item is missing in powerup.xml.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 10:59:59 +00:00
hikerstk
425dbd8f2e Added a 'bad badge' indicator if there is a problem downloading news.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 06:54:12 +00:00
auria
50234db02f Show 'hourclass' loading badge on addons menu item while it's loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 01:43:04 +00:00
auria
769333c1fe Remove a few superfluous (but harmless) include search paths in Xcode projet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-07 00:45:19 +00:00
hikerstk
38a3ece5dd 1) Made invulnerability time after being hit configurable.
2) Bugfix: there was no invulnerabilty time if graphical
   effects were disabled. While it is not ideal that in 
   this case there is no visual indication that the kart
   is invulnerable, the game play should be consistent
   and not depend on graphics settings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-05 12:05:40 +00:00
mbjornstk
62e60b94fc Add "#include <string>" so it stops complaining about "return NULL".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-05 03:08:38 +00:00
auria
d24d70a2f8 Avoid crashing when checklines are incorrect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 23:31:31 +00:00
hikerstk
cdb2a7dab6 Removed support for explicit setting of verbosity flag using -v
(which clashed with -v usage for version number). Use
--debug={memory,addons,gui,misc,all}.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 14:06:06 +00:00
hikerstk
9b64fa1406 1) Added new isInvulnerable function to kart, which is now
also used by emergency animation to make a kart invulnerable
   for a certain amount of time.
2) Karts are not not affected anymore by a explosion that
   just happens close by, see #258.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 13:29:35 +00:00
hikerstk
8d2ac03837 Removed unused explosion-impulse property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 13:21:06 +00:00
auria
d56a729041 Better error handling
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 00:17:22 +00:00
auria
9d52fa1e46 Make new fastest lap messages much less visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-04 00:12:38 +00:00
auria
b6be9ad17a Fixed embarrassing compilation error, too much copy and paste
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-03 00:09:23 +00:00
auria
be939e5e86 Improve behavior when more players than karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 22:43:38 +00:00
auria
a5d4275554 Fixed various crashes related to having more players than karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 22:34:28 +00:00
hikerstk
ba1cf47ac3 Updated VC10 project file; removed curl-debug solution
(since curl/addon is now on by default).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 13:39:34 +00:00
hikerstk
9c3eacc0cc Fix #260: when returning from addons_loading, select the
previous selected list element again, so that the user
is still at the same entry on the list.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 07:00:29 +00:00
auria
a66accd21c Put 'all' group first in tracks too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-02 01:36:42 +00:00
mbjornstk
47f8d29011 Remove more useless exec properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8798 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-01 21:19:18 +00:00
hikerstk
4d3b1d5d2e Added i18n comment so that it people will know what this string is
about.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-01 01:52:59 +00:00
auria
3dbbb47648 Show all tab first, select by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-01 01:26:52 +00:00
hikerstk
f58b07ec38 Fixed bug in 'addon installed' condition.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 11:39:15 +00:00
hikerstk
48d1a3aaab Only accept news.xml if vesion==1 - to avoid problems if we should
change the format (though a new xml format would require a new
addons directory anyway to avoid problems with existing installed
addons).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 11:32:12 +00:00
hikerstk
404037c6e4 If a download of the news.xml file fails, retry with the
server reset to the defaults (in case that the url
got corrupted), see #197.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 07:20:20 +00:00
hikerstk
e151f35825 Added support for news messages to be filtered for addons
that are not installed. Syntax: "addons_id not installed".
Fixed ticket #127.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-31 06:58:11 +00:00
hikerstk
8061c078e6 Added more asserts to capture NANs early on.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-30 11:30:11 +00:00
hikerstk
0efa5020a2 Removed curl-debug configuration (which enabled the addon
manager), since addon manager is now always enabled.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-30 07:00:46 +00:00
hikerstk
430c86a020 Fix #166: minimal race gui shows item messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-30 06:58:33 +00:00
hikerstk
13c166eae5 Added asserts to bullet calls to catch NANs early on.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-30 06:57:23 +00:00
hikerstk
ef2f968473 Fixed compilation problem (missing string include), changed
parameter of getColour to be a string reference only.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:53:36 +00:00
hikerstk
7c628c1239 Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:50:20 +00:00
hikerstk
5d10b4f5db Fix linux compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:47:26 +00:00
hikerstk
cab7d5f6f1 Removed compiler warning (NoCopy already in base class), caused by recently
adding NoCopy to the TrackObject base class.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:15:17 +00:00
hikerstk
4fee01b72c Added 'addons' subdirectory to linux addons directory. This allows later
if necessary to have different versions of addons directory (which is what
Windows and Macs already support).
NOTE for linux users: this means that currently installed addons will not
     be found anymore. I would recommend to delete existing files in 
     .local/share/supertuxkart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:07:52 +00:00
hikerstk
9bc617bede Removed unused variable, added some documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:04:00 +00:00
hikerstk
89277bc963 Make sure that only the latest (working) revision of an addon
is used (atm there is no support for displaying the revision
number of an addons due to space/gui restrictions).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 22:14:11 +00:00
hikerstk
637a77906f Fixed sort order of addons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 22:12:09 +00:00
auria
d13f46fdd1 Minor improvement to ribbon layot, don't reserve space for arrows when arrows are hidden
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 21:04:22 +00:00
auria
63d224dc62 Fixed overlapping of highscore message in GP mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 21:00:31 +00:00
auria
6e4cee9341 Includes cleanup; especially avoid including in headers, creating implicit dependencies and horrible chains of recursive includes. Avoid iostream when possible because this header is not small
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 19:52:24 +00:00
hikerstk
4ccf633289 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 11:47:43 +00:00
auria
f373632486 Remember latest kart and track group
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 23:54:12 +00:00
auria
1671a445b1 Remove leftover check for ADDONS_MANAGER
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 01:06:31 +00:00
auria
acf220fa5d Remove add-ons target from Xcode project since they are now the default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 00:57:49 +00:00
hikerstk
6f0b97ba08 Removed ADDONS_MANAGER symbol completely.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-27 00:53:18 +00:00
hikerstk
56d95382b0 Make sure error messages displayed in the news bar are translated
even if the language is changed from the menu (i.e. while the
message is being shown). This will not happen for the message
currently scrolling, but the next time the message is displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 12:54:49 +00:00
hikerstk
ce3098d33e Fixed uncentered error message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 06:43:42 +00:00
hikerstk
a8008d38d7 First try to fix #253 - it might have some performance
impact since now all quads are checked if a kart is off road.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 06:02:10 +00:00
auria
fb26130a3c Improve highscores message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 01:02:16 +00:00
auria
9b4df89d2e More tweaks to the code that determines number of ribbon rows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 00:55:33 +00:00
auria
6103921a51 Show highscores in a reasonably visible way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-26 00:44:17 +00:00
hikerstk
fb268ed993 Added highlight: featured addons for normal players, and
non-approved items in artist mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 07:18:34 +00:00
hikerstk
610eabb20d Fixed reload functionality.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 06:57:21 +00:00
hikerstk
082476c8ce Bugfix: the label with the error message was invisible.
Note that the error message is not properly aligned atm, see
#229 for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 04:22:05 +00:00
auria
624d050571 Display when you get a highscore (it's a little subtle for now but at least the infrastructure is there)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:53:15 +00:00
auria
71832931b0 Fixed coordinate -1 resulting in weird bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:28:14 +00:00
auria
a74485f890 Improve a little the case of the relaod button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:23:35 +00:00
hikerstk
a94fa2d764 Fixed compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:11:23 +00:00
hikerstk
cbd83c24f6 Started to add a 'reload' button to refresh the addons.
This is WIP, so best not to press this button. Maybe I
should rename the button to read "Don't press"  ;)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-25 01:09:25 +00:00
hikerstk
13cc69246f Added better error handling in case of network problems with the addon manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 12:15:54 +00:00
hikerstk
4333eccc5c Started to replace asynchronous thread cancellation with pthread_join/exit
combination (which mean the code now depends on libcurl never to hang!!).
This should (again ;) ) fix #235.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 05:27:54 +00:00
hikerstk
8c22b21166 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 04:56:18 +00:00
auria
255a9d5619 More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:44:00 +00:00
auria
da85204faf Partial work towards showing highscores when they are made
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:34:02 +00:00
auria
19ce15aee9 More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:12:21 +00:00
auria
ab3822242f More attempts at tweaking ribbon row-count decision formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 01:10:51 +00:00
auria
d75a365da9 Allow battle arena group names to be translated
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:55:09 +00:00
auria
416c9bba86 Remove invalid FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:52:36 +00:00
auria
3c28fc6573 Remove outdated FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:50:56 +00:00
auria
06e3560897 Simplify for_in code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:44:25 +00:00
auria
edb21d16ce Tweak the algorithm that chooses the number of rows in a ribbon, hopefully gives better results at high resolutions now in kart screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:41:07 +00:00
auria
8a00579b2a Simplify code by using PtrVector instead of vector + manual delete
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-24 00:04:43 +00:00
auria
f83492ef3d Fixed uninstalled tracks remaining in the track list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 23:56:52 +00:00
auria
7082558a6a Fixed rare shutdown crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 23:55:50 +00:00
auria
30435bbde4 Highlight gamepad when pressing its keys, to help the player tell them apart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 20:51:17 +00:00
auria
da6742d7b1 Fixed focus navigation bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 20:29:12 +00:00
hikerstk
f83cbe28bb Tried to fix ticket #235 (and probably #245), though it uses
asynchronous cancelling, which isn't ideal (see man page
pthread_setcanceltype for details).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 12:32:41 +00:00
auria
d1400c4c10 Fixed looking back not working when wheels are not on ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-23 00:37:39 +00:00
auria
8788a07010 Minor includes cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 23:04:19 +00:00
auria
dd3a4406f2 Fixed add-ons being left out when reloading after a resolution switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 22:40:00 +00:00
auria
97506bba43 Revert r8647, seems no more necessary now that I updated irrlicht
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 22:25:17 +00:00
magned
7601074d37 Remove unneccesary includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 22:15:10 +00:00
magned
b1d8c96dc9 New attempt at fixing compilation, thanks to KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 21:55:17 +00:00
magned
52f574f72f Attempt to fix compilation, thanks to KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 21:47:58 +00:00
auria
fb7f9c6816 Fixed eager skipping of code when effects were disabled, which resulted in looking back to stop working
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 20:40:26 +00:00
auria
9e4b17d76f Fixed potential read of unset variable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 20:39:31 +00:00
auria
4157f7dc10 More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:45:17 +00:00
auria
b31cca3ccd Fixed warnings with Visual studio
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:30:24 +00:00
auria
357af5a27d More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:29:52 +00:00
auria
5b073ca9d0 More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to tinygettext in a desperate attempt to make STK Arthur_D-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:41:52 +00:00
auria
a37008d014 More work on 'thou shalt not include irrlicht.h everywhere carelessly', plus add debug checks to track.hpp in a desperate attempt to make STK Arthur_D-proof
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:31:25 +00:00
auria
d501753ef2 Clean up irrlicht includes; avoiding including the huge irrlicht.h when we only need one specific class, especially in header files; use forwards when possible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:03:28 +00:00
hikerstk
3ba9407518 Fixed first startup of STK (i.e. when no config.xml exist, and the
user is asked if he wants to connect). Fixed also some problems
with enabling/disabling internet news in the GUI.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 14:09:02 +00:00
auria
7aac279fc8 Improve layour of bubble widgets to be more predictable, fix potential lack of error checks in Skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 02:01:57 +00:00
auria
0dbed4b737 Allow track groups to be changed at runtime
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 01:30:11 +00:00
auria
e8161f092d Make end camera stick a bit more
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8655 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 01:16:19 +00:00
auria
105e941002 Fixed silly crash when editing player names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 01:08:13 +00:00
auria
837adee03d remove unecessary include
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 22:39:44 +00:00
auria
c35b36db3a Fixed memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 22:35:38 +00:00
auria
3ebdd0e396 revert previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 01:53:17 +00:00
auria
80f3f1a55c Apply patch by nathanm32292394
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 01:40:58 +00:00
auria
80ce6be8f7 Make FBO setting configurable in GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 01:35:45 +00:00
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
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
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
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
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
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