Commit Graph

4013 Commits

Author SHA1 Message Date
hikerstk
b6ae3a86a4 Enable fribi for all configuration, hopefully fixed
all issues with executable not being able to be run
in VS.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 11:06:04 +00:00
hikerstk
0fb5f93453 Tried to overlay/replace the install button with the progress bar,
but that doesn't work properly at this stage. Auria, any ideas?


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 06:13:20 +00:00
mbjornstk
70be2dc965 Add --weather=0 (or 1) parameter to set weather effects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 04:05:46 +00:00
mbjornstk
d62816117a Fix r7411 typo here too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 03:41:52 +00:00
mbjornstk
634ba9fc94 Fix typo, it should say weather.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 03:40:26 +00:00
auria
7ae7fb5dfd Added GFX level slider in options + spell wheather correctly in options...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 03:10:04 +00:00
auria
4396695920 Add a new config option for wheather effects (notm accessible in GUI yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:52:22 +00:00
hikerstk
2ebedd24ee Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:36:18 +00:00
auria
404bb88703 It now rains in lighthouse :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:27:14 +00:00
hikerstk
68bd15050b Fixed incorrect texture in case of lcoked karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:18:59 +00:00
hikerstk
f629413846 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 01:43:13 +00:00
auria
f7bcc2a6a5 Add snow flakes to Snow Mountain. Still to be improved
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 01:31:15 +00:00
hikerstk
dbe6395c1e 1) Changed queue and addon vector to use SynchronisedVector in order
to hide more pthread calls.
2) Started to work on screen layout.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:58:11 +00:00
auria
ab046ac2d1 Fixed water splash that tended to appear at race start
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:31:36 +00:00
auria
bf3b23210f Fixed race messages appearing in wrong viewport when playing with 3 or 4 players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:25:46 +00:00
auria
30e6f2323e Fixed a few displays for RTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:19:40 +00:00
auria
98cb8b14d9 Correct location of new speedometers when playing with 3 or 4 players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 00:07:52 +00:00
auria
70154fabfc Minor: fix rescue when flying
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 22:13:54 +00:00
hikerstk
c164bfefc0 Added lock and unlock method, plus a method to get
access to the actual data. This allows custom locking
(e.g. a synchronised vector might want a [] and erase
operation to be locked, to be sure to copy a element
before erasing it).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:02:12 +00:00
hikerstk
946526662a Added 'isVisible' method.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:00:19 +00:00
hikerstk
580ab70001 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 05:45:07 +00:00
mbjornstk
4faa1bac47 Fix comment, it mentioned shadow instead of stars.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 03:23:07 +00:00
aeonphyxius
840a77ed38 add new tutorial folder and a file containing the configuration
first tutorial configuration file 
Add to file_manager.cpp the method to check the tutorial file
tutorial data, to implement the XML loading

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 00:27:03 +00:00
auria
f360186b47 No dust particles when no on ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 20:30:32 +00:00
auria
dfb8c25793 Don't animate parachutes if animations are disabled
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 18:58:38 +00:00
auria
fe9be88c1e Don't switch camera to fall mode if flying
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 18:58:14 +00:00
auria
7a81498f19 Add gravity to particles, use gravity for water splash + fix camera modes like look back
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 16:28:25 +00:00
hikerstk
22aad91f66 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 03:25:33 +00:00
auria
03af38c9b0 Work on water splash effect a bit; only lighthouse was changed for now, we can change other tracks when Joerg modified the track exported. The effect can still be improved of course, I mostly did the basic code aspect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 03:01:57 +00:00
hikerstk
e5a5a7dc33 Fixed printing of std::string, replaced tab.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 02:16:34 +00:00
hikerstk
c7b52a99eb Fixed crash in AI controller ... again .. fixed the bugfix for the bugfix *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:32:30 +00:00
auria
a1ba3effc4 Add assertion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:27:49 +00:00
hikerstk
2a28fefb31 Support for fribidi version 0.10 added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:11:02 +00:00
hikerstk
0b6981022f Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:09:13 +00:00
hikerstk
b527abab17 Fixed compilation on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:08:27 +00:00
hikerstk
8769fc9492 Properly fixed previous bugfix (RAND_MAX+1 will wrap around on e.g. linux).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 23:00:30 +00:00
hikerstk
9dde70687f Implemented icon caching, and updated to support the future
web page (unfortunately the web server isn't up to that
standard yet, so expect error messages, addons that don't
work etc.).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 22:49:55 +00:00
hikerstk
3da1080eba Fixed potential crash in AI controller.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 22:33:45 +00:00
hikerstk
35cf3c7eab Fixed compiler warnings and some minor coding style issues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:11:22 +00:00
auria
225116fb6f Add new option to materials.xml : disable z-buffer writes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:09:00 +00:00
hikerstk
eeafd79995 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:06:19 +00:00
hikerstk
6a3269f7d1 Fixed RTL language support on windows 32 (since wchar_t is 2 bytes, but
fribid returns 4 bytes the type cast was incorrect). Also fixed FIXME.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 03:40:27 +00:00
hikerstk
67b827804d Fixed potential crash when starting a GP (accessing a member of an object
after it was deleted).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 00:57:30 +00:00
auria
79b41ace2a Say hello to the new nitro bar, thanks to Dakal (it only goes up to 16, while old one went up to 20, but I don't think it matters, I never reached 20 in real gameplay anyway)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 20:08:41 +00:00
auria
a9d7500fe2 Add gamepad visualisation command-line option, maybe can help debug those issues with gamepads stuck...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 16:49:34 +00:00
auria
372016af58 Fix bug with black spot appearing in nitro particles, caused by incorrect additive blending formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 02:54:23 +00:00
auria
4b039f935f Hopefully work around emitter pause bug by removing the emitter when nothing is emitted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 01:57:18 +00:00
auria
3efc2a189e Remove debug code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 01:22:11 +00:00
hikerstk
22d05cdab0 Added fribidi support for release mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 00:12:46 +00:00
auria
83e4bd054e Fix RTL languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 23:59:12 +00:00
auria
59b43cdbaf Bugfix : particle emission direction now rotates along the node
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 16:42:52 +00:00
hikerstk
04f007ac97 Added VS 10 project files (atm only debug configuration is fully working).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 09:40:34 +00:00
hikerstk
129f75da4f Fixed compilation problem of non-addon version if no pthread.h
is available.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 09:11:24 +00:00
hikerstk
993161e3a5 Updated project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 04:09:37 +00:00
auria
8a3b74a951 Fix smoke particles to not hardcode rate
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 01:49:10 +00:00
auria
ffc6fd299c Allow particles when normal driving
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-08 01:34:13 +00:00
auria
47add64448 Fix weird opaque particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 02:25:34 +00:00
mbjornstk
e034d1e345 Update with new graphics/particle_kind_manager.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:51:34 +00:00
auria
9413b7e97e Improve render order of particles. They're still wrong looknig though (WHY?? the same code worked moments ago)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:37:34 +00:00
auria
9f4e949874 Made per-material particles almost a reality. Sadly now we have terrible problems with irrlicht's render order
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:32:46 +00:00
magned
18b3c91954 Move all challenge files into one directory. Please tell if any problems occur.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:16:15 +00:00
mbjornstk
aac10e198d Adjust nitro particles a bit and recover the more solid image.
Emission angle is wrong, it should be kart based but looks world based.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:43:06 +00:00
auria
e76aace67c There was a name clash with my new proeprty. Oops\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:39:41 +00:00
auria
332209fde8 Support improved syntax in materials.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:29:18 +00:00
auria
279e551371 Remove outdated FIXMES + fix possible crash if section is missing in XML file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 21:11:32 +00:00
hikerstk
37b057a60e Removed unused m_abort variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 20:56:32 +00:00
hikerstk
e7d5b2314a Store icons in addons/icons and zip files in addons/tmp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 20:50:23 +00:00
xapantu
d6a2eea452 Fix addons path, I removed the 'icon/' +, to have a nicer way to change the path on the server
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 18:33:28 +00:00
hikerstk
002b9b8311 Bugfix: a dismissed dialog was accessed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 05:36:48 +00:00
auria
8724502d91 We now have only one spread angle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:47:34 +00:00
auria
4e5e7f96a8 Removed particle visualisation, which was accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:39:34 +00:00
auria
89346d58f1 Stop using our hack of moving the emission direction around, when you fire lots of particles this hack is very obvious. Use only what irrlicht provides
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:37:55 +00:00
auria
4a6793178d Fix bug in emitter visualisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:00:41 +00:00
auria
1e3515be04 Minor cleanup + add code to visualize emitter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:58:45 +00:00
auria
2847f8527e Now respecting rate in XML file for nitro (Kart was hardcoding rate...)+
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:40:00 +00:00
auria
b6b9f2810d Make more particle parameters configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:25:46 +00:00
auria
aa6c225684 Fix centering issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:06:52 +00:00
auria
3eeca13ce3 Add key to get free nitro + minor tweaks to particle code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:01:12 +00:00
auria
cd850cf300 Improvements to particle system, now fade out works as it should \o/
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 00:07:58 +00:00
auria
052a1664b3 Remove FIXME, add documentation itself, I found why things are like they are
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:49:50 +00:00
hikerstk
4571e76c03 Fixed non-addon compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:38:11 +00:00
hikerstk
fcbd7a4614 Fixed incorrect case of unzipped files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:07:07 +00:00
hikerstk
de50274e96 Fixed crash when installing a new addon.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 22:20:52 +00:00
hikerstk
a4db783f7e Fixed deleting installed addons.
NOTE: it is still NOT safe to use this, esp. now that there is code to remove a directory :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 21:54:12 +00:00
hikerstk
0bbcfc2361 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 21:50:07 +00:00
auria
c1c0a34897 Add braces in switch to please GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:57:05 +00:00
auria
e627ccc8f8 Fixed glitch in box emitters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:56:30 +00:00
auria
fc19059006 Add support for box emitters, use it back for nitro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:54:36 +00:00
auria
9fac4d06c6 Fixed minor glitches caused by reading value from RaceManager before it was set
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:07:39 +00:00
auria
be1d0f5eac Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 18:56:03 +00:00
xapantu
56450a708a Added error handling in the addons code to handle path error when extracting archove files.
(Feel free to remove it if you find a better way ;) )

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 13:47:16 +00:00
xapantu
b9d3841fd9 Fix a bug with addons installing:
A directory was created, with the addons name, in lowercase, whereas it tried to instal it in the addons name, in standard case (e.g. python vs Python).
So, it worked on Windows and Mac OS X, since they aren't case sensitive, but we had a segfault on Linux

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 13:38:35 +00:00
hikerstk
f97067d313 Started work on deleting installed updates; deleted unused variables
and file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 06:02:17 +00:00
hikerstk
93daa15d73 Removed unused update-tab in addons manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 05:38:11 +00:00
hikerstk
cd8ea2eead Removed compiler warning, updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 05:27:59 +00:00
hikerstk
f0f97d0fbb Added support for SUPERTUXKART_SAVEDIR environment variable to
specify/overwrite where the user-specific files are written to.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 03:58:43 +00:00
auria
fcba432e39 Cleaned up logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:57:17 +00:00
auria
c669a425e5 More particles tweak + eye candy : add additive blending to materials.xml, now the nitro looks awesome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:38:24 +00:00
auria
ec3c1f76a0 New XML-based particle system. May need a few tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 01:39:18 +00:00
auria
a3df5843aa Fixed makefiles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 23:06:13 +00:00
auria
38a8248fea Merge nitro and smoke emitters, as their code was almost identical. Next steps will likely involve allowing to specify particle effects in XML files. Note that atm nitro is slightly different from before, can be tweaked to be like before if wanted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 22:14:51 +00:00
hikerstk
3c729b4b0f 1) Added proper handling and detection of installed addons
2) Moved addon related data files into a separate 'addons' directory.
3) Directory names of addons are now lower case.
(Still addons are not stable enough to be used!)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 21:49:17 +00:00
auria
470832cd19 Minor documentation of particle code (since I may be looking at extending this soonish)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 20:34:21 +00:00
auria
856d184a35 Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 19:01:09 +00:00
hikerstk
110af2b7ae Removed/replaced getKartFile/Dir functions in file_manager, which
should solve issues with addon karts not being found or textures
not correctly loaded.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:47:49 +00:00
hikerstk
c1bc3c58fe Bugfix: using variables of an object after it was deleted.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:44:23 +00:00
hikerstk
54b7d57d63 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 04:35:35 +00:00
mbjornstk
7fe57b9802 Make item fog be based in track fog. Remove old lighting flag comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 02:42:11 +00:00
hikerstk
221f8899f3 Fixed missing icon display for addon karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 22:25:54 +00:00
hikerstk
1858a2e9f1 Removed the need of zip files including a 'file list' file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:47:54 +00:00
auria
1acb58ee59 Removed old code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:22:04 +00:00
auria
8ddb9aee41 Removed more useless FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:18:52 +00:00
auria
eea6279db2 Fix for 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:11:17 +00:00
auria
b11a8602b9 Still reduce the count of FIXMEs a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:07:09 +00:00
auria
847d67e3a5 Correct/remove a few more FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:02:19 +00:00
auria
fa8b2a8ed6 Improve documentation of race manager; this is one huge class so having good doxygen docs is important. Also clarify difference between setNumPlayers and setNumLocalPlayers; replace many calls to setNumPlayers with calls to setNumLocalPlayers, since setNumPlayers is called by the network manager already and as such calls to setNumPlayers had no effect (the same method was called again later) and were just confusing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 20:17:44 +00:00
auria
9c3f46521e Move some code from GUI screens to RaceManager, where it makes more sense to find the said code, and correcting 2 FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:25:56 +00:00
auria
d22ec956b6 Clean up deactivating spinners, removing a few FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:13:47 +00:00
auria
fdbafeb5ff More FIXME cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:06:45 +00:00
auria
27d75d2414 Correct code duplication (and FIXMEs) in challenges manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:55:01 +00:00
auria
7e04cb4f75 Implement a few long0misisng features in the layout manager, correcting FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:43:26 +00:00
auria
04e08b78ad Remove a few unuseful FIXMEs, replace with appropriate documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:41:19 +00:00
auria
6ad54434e0 Correct a few FIXMEs + minor style improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:23:52 +00:00
hikerstk
76b595e303 Fixed incorrect kart display after installing a new kart
(still pretty much work in progress, so not recommended to use right now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 12:17:43 +00:00
hikerstk
503723967f Fixed more hard coded paths. Icon path in KartProperties now
stores the absolute path (and getKartIconFile is now called
getAbsoluteKartIconFile).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 10:45:31 +00:00
mbjornstk
76ee2036d8 Update comment about items' fog, remove some lighting flags that just hide
wrong export options (resave with normals to fix) and make the items look 2d.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 04:39:18 +00:00
hikerstk
7e34b5d970 Further improvements to addons loading. Addons are now downloaded and installed,
but the kart icon display is still messed up (restarting stk solves that)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:34:16 +00:00
hikerstk
4a6b709685 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:31:11 +00:00
hikerstk
d11fed1471 Fixed incorrect/hard coded paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:28:18 +00:00
hikerstk
d82fe3350a Removed hard coded paths for karts and some duplicated code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:25:36 +00:00
hikerstk
e98f95697c Fixed progress callback for curl (incorrect parameter declaration).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:21:14 +00:00
mbjornstk
73a771632b Enable fog for boxes, bananas, etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 02:47:09 +00:00
auria
f196a544a2 Deactivate writing unicode XML until irrlicht devs fix thing son their side
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 19:02:31 +00:00
auria
d78a1c0700 Replace assertion failure and possible crash by printing a warning and keeping going
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 00:01:16 +00:00
auria
93503a8451 Better handle filler ribbon items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 23:49:46 +00:00
auria
39ebfcb9ea Make code more robust to print an error message instead of crashing in weird case reproduced by Arthur_D only
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 22:11:15 +00:00
auria
74c0c19688 Slightly improved confusing error message
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 21:29:55 +00:00
mbjornstk
810dbc3edc Add --animations=[01] and --gfx=[01] to control effects from command line.
Plus clean a bunch of tabs and trailing whitespace.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 05:04:59 +00:00
auria
ff33f8782f Add minor error checking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:41:11 +00:00
auria
7a6fbbde51 Nitro target line remains on restart. Important everyone : if you find a sequence of events that causes the nitro line to remain when it shouldn't, tell me, it's hard to think of every possible case
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:24:44 +00:00
auria
e7734931f2 Added support for %0 type syntax in StringUtils::insertValue, since tools that verify translations integrity don't all like the older %0 syntax I used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 01:29:04 +00:00
hikerstk
6129cfaa39 Made NetworkHttp::downloadFileSynchron to be able to be used from a thread;
fixed addons_loading to display the icon correctly.
Note: addons installing will still crash.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 23:05:54 +00:00
auria
031b96a55f Update Xcode project for latest addons changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 18:58:34 +00:00
hikerstk
cdc1591a11 Some code cleanups, mostly for addons_loading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:40:33 +00:00
hikerstk
809558f1cc More code simplification (removed m_type).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:23:04 +00:00
hikerstk
9097ece07c More cleanup and code simplification for addons_screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 05:17:10 +00:00
mbjornstk
9dbd09f812 Remove svn:executable prop.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-30 03:02:07 +00:00
hikerstk
f859156e76 Completely remove used of m_index (i.e. the addons_manager
does not have a concept of a current addon anymore).
Note that downloading addons still crashes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 23:19:26 +00:00
hikerstk
141ae9f5da Moved AddonProp into a separate class Addon with proper
getter; started to remove usage of m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 21:52:33 +00:00
auria
ad44673071 Play a short sound when enabling sound effects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 19:45:32 +00:00
hikerstk
d78310c9e3 Made ListWidget::addItem to take const &; started to remove use of
m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 05:43:10 +00:00
mbjornstk
976f2f463a Fix misplaced #endif and missing #ifdef ADDONS_MANAGER / #endif.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 23:50:19 +00:00
hikerstk
ce986d623d Many style changes and code improvements to addons management.
The addons icon is now greyed out in case of an error (and till
the list of addons is downloaded, though usually that is done by
the time the main gui is shown). Moved synchronisations/threading
from addons_manager to network_http. Added 'Synchron' template
to hide usage of mutex to provide synchronised accesses to a variable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 22:48:44 +00:00
mbjornstk
1c57310b41 Add io/xml_writer.[ch]pp to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 04:38:17 +00:00
auria
41e1d57f0b Fix player names so that they may contain accentuated characters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:50:24 +00:00
auria
5bd9afdd7f Big refactor : move a lot of strings and config files to use wide strings. For instance to be able to cope with foreign characters in player names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:29:36 +00:00
auria
fb8c9edf5e Add gamepad button info to --gamepad-debug, from our current bug reports this looks like info we need
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 00:34:26 +00:00
mbjornstk
c405c1de4a Replace static parachute with animated one. Adjust speed by hand in code.
Testing was near impossible, as this computer is too slow to reliable keep
a basic 25FPS rate, so it may need further speed tweaks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-26 03:38:37 +00:00
auria
6bf16b651e Mark another forgotten string as translatable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 18:35:47 +00:00
auria
afa16287ea Mark a few forgotten strings as translatable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 18:30:23 +00:00
aeonphyxius
86ba25bc59 Tutorial incremental commit. Add main loading and improving xml loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 13:38:38 +00:00
hikerstk
d8afbe9750 Added missing newline to information message.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 04:52:42 +00:00
auria
51cc6b8d5c Improved StringUtils::insertValues to only print warnings, not crash, when something is wrong
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 01:30:38 +00:00
auria
dbfe55071f Use irrlicht framework from now on
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-23 00:02:07 +00:00
hikerstk
588870d9bd Renamed network.?pp to network_http.?pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 10:37:23 +00:00
hikerstk
a8f8be4023 Re-enabled kart honking sound when a player kart is overtaken (which
was disabled accidentally). If it should be too annoying, it should
be properly removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 10:35:22 +00:00
hikerstk
7305efd8ba Fixed linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:09:16 +00:00
hikerstk
29e29c7bb7 Renamed addons.?pp to addons_manager.?pp.
NOTE: make distclean is most likely necessary on linux!!!!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 06:00:58 +00:00
mbjornstk
47a7f77b33 Wrap code with {}. g++ dislikes new variables in switch/case if labels follow.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-22 01:00:56 +00:00
auria
a49c2f81e7 Fixed compilation (#include <string.h> includes the old C string functions, not std::string)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 23:39:59 +00:00
auria
a0eed0f31c Fix compile warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 23:39:20 +00:00
hikerstk
b5837a624b Many more coding style adjustments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 22:06:38 +00:00
auria
e472d7459c Fix typo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 21:30:28 +00:00
auria
9260038719 Fix 2 minor warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 17:10:44 +00:00
aeonphyxius
704ea6ac7b tutorial incremental commit. first works on TutorialManager and Tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 08:23:08 +00:00
hikerstk
13241636d4 Simplified loading of news: no more threading in main_menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 06:13:40 +00:00
hikerstk
83a9993f68 Bugfix: difficulty was not tested in non GP challenges.
Also accept higher difficulties in challenges.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 06:10:28 +00:00
auria
04fd8df730 Don't allow restartign a race in GP mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 17:52:39 +00:00
auria
f4e0f7c1d9 Allow skipping feature unlocked animation while still seeing what was unlocked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 16:42:04 +00:00
auria
ae1f162d28 Update Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 16:38:04 +00:00
hikerstk
4f1af3a862 Auto-rescue will now not be counted as a hit in battle mode anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 12:21:48 +00:00
hikerstk
214bf5deec Fix bug in FTL: if the kart on position 1 was eliminated (i.e. it had
overtaken the leader), and the race is over, the leader was moved back
to position 1 (so that all points are given correct), but the ranks
were not adjusted properly, potentially resulting in duplicated ranks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 11:58:10 +00:00
hikerstk
39d4fe5fb7 Fixed incorrect rescue positions in battle mode, which could
result in a crash (bug #3140030).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 02:41:02 +00:00
auria
10299aae86 Don't display rank in 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:19:05 +00:00
hikerstk
fd3895b45f Fixed severals problems with FTL GP: GP rank od the leader must be -1
(some GP ranks were not set at all).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:16:03 +00:00
hikerstk
4d2a1d9faf Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 01:01:53 +00:00
hikerstk
7e1c8a4c50 Updated makefile for new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 00:59:53 +00:00
aeonphyxius
2427aed571 Tutorial development incremental commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-20 00:52:59 +00:00
auria
a8ae299119 At everyone's request, speed up feature unlocked screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 23:35:48 +00:00
aeonphyxius
2e5689134c tutorial developing progress commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 20:23:32 +00:00
auria
5a74502c29 Fixed accidentally committed debug print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7083 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 01:57:57 +00:00
auria
9f27068fb7 Fixed kart paths randomness issue (and probably many others) : don't continuously call srand, srand is made to be called ONCE only, repeatedly calling srand gives very poor randomisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-19 01:55:29 +00:00
auria
1b6d3b794c Removed dbeug print that shouldn't have been printed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 23:05:27 +00:00
auria
c78a85ea68 Apply NetBSD fix from bug tracker
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7075 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 15:05:49 +00:00
hikerstk
47661bf772 Fixed crashes in case of FTL GP (in 2nd races no number of laps was defined).
Note that the ordering in FTL GP is still broken and can still result in crashes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 12:58:09 +00:00
auria
d9ed9e5299 Removed unused code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-18 00:40:29 +00:00
auria
53e4546b09 Fixed debug mode build
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 18:55:34 +00:00
aeonphyxius
183ac72c2f New files for tutorial added to Codeblocks project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 13:28:03 +00:00
hikerstk
b232fa2f56 Bugfix (pressing F10 when no game is running could crash).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-17 12:17:13 +00:00
hikerstk
aa3b801dba Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:09:12 +00:00
auria
ac4d0806ca Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:08:49 +00:00
hikerstk
811550eb7f Removed tabs, fixed compiler warning ("/*" inside a comment).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:04:23 +00:00
hikerstk
407e91a1bc Updated makefile for new files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 23:03:24 +00:00
aeonphyxius
d672a5446b tutorial new classes, VC project and main menu screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 22:57:13 +00:00
hikerstk
5bbbea2d3c Fixed compilation problems when not using addon manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 22:28:33 +00:00
hikerstk
8ecee44a35 Renamed getConfigFile to getDataFile (since getConfigFile
would actually not return a directory under getConfigDir).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:59:06 +00:00
hikerstk
1c90d679e2 Removed unused animation_manager (track object manager takes care
of animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:15:59 +00:00
hikerstk
f5662118c6 Made addon manager compiler with windows (though not working yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:07:14 +00:00
hikerstk
fc4e59dc6e Bugfix: billboard nodes did not use materials.xml for setting the material properties.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:48:57 +00:00
hikerstk
731bb83ad3 Fixed position of non-animated billboards (new export of model required).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 02:34:00 +00:00
auria
03c6245e21 Added more copyright statements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:59:55 +00:00
auria
d725d5daea Added a few missing copyiright statements. More to come most likely
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:56:57 +00:00
hikerstk
eee27834d1 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:52:59 +00:00
hikerstk
c17ec200cf The --track-debug flag now also tests all reset positions for all
karts and prints a warning if the rescue position would result in
an immediate rescue again (which usually indicates that the
driveline is too low, and the kart is rescued 'under' the track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:50:17 +00:00
hikerstk
7de2c4de41 Replaced unicode characters in comments with normal ASCII characters.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:46:06 +00:00
hikerstk
e23664c5bb Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:31:53 +00:00
auria
5478aac7ca Save options before leaving options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 00:23:42 +00:00
hikerstk
ed8b3c4e6f Added list of Asian translations to use.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:53:38 +00:00
hikerstk
d81be16715 Removed display of highest speed when wheels are not on ground.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:50:42 +00:00
hikerstk
970d261f4b Removed warning for duplicated characters, since they are now ordered properly
and not considered an error anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:31:20 +00:00
hikerstk
283c47fad5 Added offset to texture for Asian font to avoid clash with other
fonts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 10:43:08 +00:00
hikerstk
d4513f0b40 Fixed memory leaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 11:49:00 +00:00
mbjornstk
16991a6bc7 Do not use/show nitro if no contact with ground.
This way saving nitro is automatic (ie, simpler controls).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 03:49:33 +00:00
auria
bcb3e7243a Fixed more leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:36:22 +00:00
auria
70bc94b3df Fixed another memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:23:38 +00:00
auria
9d854c7301 Fixed leak (Joerg: I'm not 100% sure on this one, can you check if what I did makes sense?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:14:29 +00:00
auria
347d73cfd1 Fixed more memory leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:01:23 +00:00
auria
65d2fff63c Fixed more leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 01:25:47 +00:00
auria
4392b42bb7 Fixed another memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 01:09:54 +00:00
auria
4ec08502b2 Fixed small memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:59:56 +00:00
auria
2e6ebaa63b Fixed memory leak (Joerg: phew, I'm not the only one writing stupid code ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:53:25 +00:00
auria
ad169e3191 Skyboxes and skydomes should be fog-free
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-11 21:52:14 +00:00
hikerstk
154369a7f5 Bowling balls now explode if they are rolling on a reset material.
I also fixed a bug in the 'height above terrain' computation, which
might have caused bowling balls to be more bouncy than they should be.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 13:03:38 +00:00
hikerstk
d0acfaae3c Fixed incorrect warnings when reading fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 06:20:12 +00:00
hikerstk
be7e8793b6 Fixed various compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 05:54:04 +00:00
mbjornstk
1eacc8fe59 Add tutorial_screen.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 03:08:25 +00:00
aeonphyxius
30c5ae81ab Rolled back to old version(6772)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 02:12:48 +00:00
aeonphyxius
cf1c0a6959 Rolled back to old version(6727)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 02:06:56 +00:00
aeonphyxius
777292a74f <stkgui>
<div x="5%" y="0" width="90%" height="98%" layout="vertical-row" >
    
        <icon id="logo" align="center" proportion="8" width="100%" icon="gui/logo.png"/>
        
        <buttonbar id="menu_toprow" proportion="3" width="75%" align="center">
            <icon-button id="new" width="128" height="128" icon="gui/main_race.png"
                    I18N="Main menu button" text="Race"/>
            <icon-button id="network" width="128" height="128" icon="gui/main_options.png"
                    I18N="Main menu button" text="DEBUG"/>
            <icon-button id="challenges" width="128" height="128"
                         icon="gui/challenge.png"
                         I18N="Main menu button"  text="Challenges"/>
			<icon-button id="tutorial" width="128" height="128"
                         icon="gui/tutorial.png"
                         I18N="Main menu button"  text="Tutorial"/>
        </buttonbar>
        
        <spacer width="10" proportion="1"/>
        
        <buttonbar id="menu_bottomrow" proportion="3" width="85%" align="center">
            <icon-button id="options" width="128" height="128" icon="gui/main_options.png"
                    I18N="Main menu button"  text="Options"/>
            <icon-button id="help" width="128" height="128" icon="gui/main_help.png"
                    I18N="Main menu button" text="Help"/>
            <icon-button id="about" width="128" height="128" icon="gui/main_about.png"
                    I18N="Main menu button" text="About"/>
            <icon-button id="quit" width="128" height="128" icon="gui/main_quit.png"
                    I18N="Main menu button" text="Quit"/>
        </buttonbar>
        
        <spacer width="10" proportion="1"/>
        
    </div>

</stkgui>

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 01:42:08 +00:00
hikerstk
fd55bc2273 Avoid crash if history.dat file can not be written; also added
2nd location to test for (where the config.xml etc files are stored)
to test, which makes history usable in standard windows installation
(where . is not writable). Fixes bug 3128511.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 00:04:08 +00:00
hikerstk
37892fc06d Fixed rank display in FTL races - the number of karts was not
decreased when a kart was removed (bug 3133631).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 21:19:01 +00:00
auria
fb86f84c3e Add debug checks to font class so that font conflicts are detected and reported
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 14:23:06 +00:00
hikerstk
af9f6d651e Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 05:49:30 +00:00
mbjornstk
2d33688f4a Apply SVN props to keep in line with the rest of the tree.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:41:00 +00:00
hikerstk
b701626c79 Added missing file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:36:25 +00:00
hikerstk
b675ef8810 Added acme_pjz's name in the header file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:28:23 +00:00
hikerstk
b7d6989624 Added acme_pjz's modified irrlicht font tool, which only
writes the characters necessary for the translation (this
significantly reduces the number of textures needed for
Chinese).
This tool only works on windows!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:24:52 +00:00
auria
3a149c5a78 Reduce font size for long GP names to avoid clipping (long translations can still cause clipping though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:06:44 +00:00
auria
243c9f37c0 Fixed rare crash with explosions, when m_remaining_time is exactly equal to explosion_time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 01:22:22 +00:00
auria
d737425fe5 Fixed gamepad input after changing resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 23:42:10 +00:00
auria
7f97094b87 Fixed numerous leaks, especially audio leaks + add debug functions to be able to easily check for audio leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 22:18:55 +00:00
auria
1b426216e6 Minor improvements to OpenAL error reporting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 20:29:08 +00:00
mbjornstk
8848ade794 Fix SVN properties before something backfires.
Probably aeonphyxius forgot to read SVN-CONFIG.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 17:45:10 +00:00
aeonphyxius
ce5ca9c572 tutorial changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 16:28:13 +00:00
aeonphyxius
820a7c7bd0 new tutorial screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:58:28 +00:00
aeonphyxius
a1cb7e0b63 codeblocks projects & workspace
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:13:06 +00:00
aeonphyxius
90a0bf28cc build under linux + codeblocks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 15:08:28 +00:00
auria
a0a85ed1c2 Fixed little glitch that could cause explosions to be cut before they had time to fade out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 02:04:00 +00:00
auria
a6f7b7df9d Fixed white puff bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:54:48 +00:00
auria
b49a807f2d More from feedback on RC1 : rescue removes the plunger from your face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:48:32 +00:00
auria
23cde9398f Added 16:9 icon + icon for unknown ratios
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 01:14:34 +00:00
mbjornstk
261b9d61f3 Change verb as suggested by Iron Seagull's comment in blog.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-07 00:47:43 +00:00
auria
c6b61f8a55 Add hidden feature to remove the race GUI: will be helpful to take track screenshots.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-07 00:28:13 +00:00
hikerstk
68920bd3e3 Fixed odd engine sfx at high speed (speed wasn't capped when it
was used, resulting in a fraction becoming >1, resulting in incorrect
gear usage). See bug 3124797.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-06 06:07:50 +00:00
hikerstk
c4ba313e19 Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 22:30:24 +00:00
hikerstk
07c2a3b3b0 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 22:24:01 +00:00
hikerstk
89de4d5483 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 20:57:25 +00:00
hikerstk
2c15bd265f 1) Made TrackObject use an ISceneNode instead of an IAnimatedMeshSceneNode,
allowing us to use the same base class for billboard.
2) Fixed billboard implementation: billboards are now properly removed,
   and can also be IPO animated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 20:55:09 +00:00
auria
5c372e2f81 Make timer in race gui resolution-independent + fixed some very fishy code along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 16:25:51 +00:00
auria
08b33dc2fe Fixed crash when random kart was last used and then trying to play challenges + move error messages to where they belong, no error message should be printed when doing a valid check if a kart exists
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-05 16:12:35 +00:00
auria
f6985bd379 Remember sfx volume even when it's off
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 18:45:17 +00:00
hikerstk
7470074b4d Fixed display of reset icon in the icons in the race gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 05:58:28 +00:00
hikerstk
9cddb351cd Bugfix: paths were looked up using the file manager
even if is_full_path was true (and where then not found).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 05:57:04 +00:00
auria
cc892ee8ad Various fixes to Xcode project : copy the fribidi framework, support spaces in paths, define NDEBUG in release mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 02:38:30 +00:00
auria
b6eb46e68b Xcode project : fix building from paths with spaces
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 00:59:50 +00:00
hikerstk
3fa1a65c01 Properly fixed warning for undefined texture for reset-button
(which is not used). Note that in 0.7rc1 we added a dummy
texture as a work around.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 00:26:13 +00:00
auria
4447f3431e Don't show lap message on last lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:36:14 +00:00
hikerstk
c6607f4dbc Fixed lap counting: sometimes karts would get a 'distance along track'
after crossing the lap counting line that's larger than 2. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:34:02 +00:00
auria
e137c16788 Make spinner for laps warp around
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 23:27:38 +00:00
hikerstk
24d8d9ee9e Fixed 3122615: acid lake in xr591 did not trigger rescue (the lake mesh
had a rotation applied. Due to this bug an incorrect rotation was applied
to the mesh, resulting in the wrong bullet mesh, so that the collision 
was not detected).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 09:43:29 +00:00
auria
b83f850cd4 Don't show lap message on first lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 02:07:38 +00:00
auria
3fe9acd0e9 Show a message on every lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-30 02:04:18 +00:00
hikerstk
b800ddd200 Made the 'wrap around' lap counting approach work correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 22:01:59 +00:00
hikerstk
99aa5b1960 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 22:01:01 +00:00
auria
09eaaebd64 Minor: make fly mode easier to use by preventing kart from rolling when turning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 21:50:45 +00:00
auria
1cec1b597e Clean up logging in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 18:53:04 +00:00
auria
3543dc4f86 Fixed warning (and, on the way, make the code slightly faster)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 17:01:58 +00:00
auria
afce1534b9 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 17:01:25 +00:00
auria
4ac69fefa2 Use peach skin by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 16:42:55 +00:00
auria
591c4e8281 Updated Windows icon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 15:38:55 +00:00
hikerstk
b4533f0798 Removed debug check line visualisation correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:47:15 +00:00
hikerstk
a1e6c01dae Reverted commit that added backface culling ... which was already supported
(also the patch did not initialise memory).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:31:07 +00:00
hikerstk
e9365d3a70 Fixed memory leak (title music was not freed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:03:22 +00:00
hikerstk
9dbe8120e2 Fixed compilation problems when compiling without -DDEBUG.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 10:02:47 +00:00
hikerstk
d7e78fa23a Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:42:27 +00:00
hikerstk
25b611a8d3 Adjust color of check lines according to state: active ones are
light red, inactive ones white-grey.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:26:45 +00:00
hikerstk
7e4257e689 Allowed transparency, and usee setFlag instead of directly accessing the attributes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:24:31 +00:00
hikerstk
8170b64fb2 Ugly removal of compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 03:40:44 +00:00
hikerstk
65d563ee2e Fixed profile world (ProfileWorld::CreateKart was not called anymore
since the parameters for that function had changed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 02:34:25 +00:00
hikerstk
87b98b8fa1 Added visual debugging to check lines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 22:08:02 +00:00