Commit Graph

3301 Commits

Author SHA1 Message Date
auria
0131636e03 Updated chinese translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-20 00:33:36 +00:00
hikerstk
d1ceb4ae2d Added support for camera-far value to be exported.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-19 13:29:55 +00:00
hikerstk
d9e81df967 Fixed rotation in stk_exporter and stadium track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-19 12:30:18 +00:00
auria
78cd360697 Add 'stadium' battle arena
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-19 01:50:54 +00:00
hikerstk
8a74cfcbdd Bugfix: ftl crashed at end of race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-19 01:00:08 +00:00
hikerstk
e828ffc40b 1) Added support for arenas.
2) Added support for start positions.
3) Removed support for 'description', used 'designer' instead
   (for now 'description' still works, but prints a warning).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-19 00:56:44 +00:00
auria
262ba9275f Fixed messages saying 'tux has been', to now say 'tux has been eliminated' (strangely enough, the text is no more centered with this fix, even though I believe it should)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-19 00:53:08 +00:00
auria
b4c87bf459 Forgot to fix makefiles in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 21:30:34 +00:00
auria
b868909efe Some cleanups with ActivePlayer. Moved it to StateManager, because that's where active players are created and stored - this will be less confusing than hiding it inside a configuration class. More work is still to be done if we want to make this code really clean, though.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 21:28:32 +00:00
hikerstk
626ef5f30c Added support for end-race animations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 21:24:25 +00:00
hikerstk
888c783b83 Added support for end-race animation (though at this stage no kart model has them).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 21:23:26 +00:00
auria
76c6ddbc93 Fix FTL having no highscores as expected; don't display highscores in end-of-race dialogs when the mode has none
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 02:08:11 +00:00
auria
7969c3cb47 Removed no more useful debug print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 01:23:26 +00:00
auria
9880ed1537 Disable the AI karts amount widget when selection 3 Strikes Battle, because we have no AI for this mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 01:07:21 +00:00
auria
583f766b50 Removed a debug print I accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 23:55:32 +00:00
auria
2478db386a Don't try displaying highscores in modes that don't generate highscores (3 strikes, FTL)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 23:52:49 +00:00
auria
bbd2ecb4c4 Clarified one method by using a enum type instead of simply 'int'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 23:35:25 +00:00
auria
d4095bf3be Make a default selection in the arena selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 23:32:43 +00:00
auria
4119544ed7 Fixed the code-side confusion of track description vs designer (track exporter needs to be adapted accordingly)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 22:19:47 +00:00
auria
263b94c706 Various fixes to get battle mode working again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4753 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 16:48:12 +00:00
auria
85d077ff1d Don't let the fix for a Windows warning create warnings elsewhere
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 16:38:46 +00:00
hikerstk
7416a2c7b3 Fixed errors in scene.xml file: old/incorrect style 'type="lap"' was used instead
of kind="lap", and the reactivation line did not reset the lap counter checkline.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4751 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 12:00:23 +00:00
hikerstk
31e3806fd0 Refactor end of race handling so that more functions are done in a base class only
(esp. code that was previously duplicated in the battle mode and standard race).
There is now time for an end animation, even if the player should finish last
(in which case the previous end camera would not be shown). This mostly in 
preparation for end animations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 11:59:51 +00:00
hikerstk
b52a2a7e9b Bugfix: if items were switched when a game is restarted, they would
remain switched.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 11:36:44 +00:00
hikerstk
895324adbb Fixed gcc compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-17 00:08:10 +00:00
hikerstk
8c319e87f9 Bugfix: initialisation of variable was missing, resulting in (randomly)
all items being switched at start of race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 23:55:12 +00:00
hikerstk
afdd182810 Fixed incorrect paths (hardcoded instead of using appropriate
file_manager functions).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 23:52:04 +00:00
hikerstk
46ed8ff33e Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 23:50:52 +00:00
auria
c04cebeed7 Make arenas screen work again as well as before (which is not so good, but at least the regression is gone...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 20:12:23 +00:00
auria
297e6a731c Updated nl translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 01:33:03 +00:00
auria
f21830b056 Sorted sounds alphabetically in config file, made swapper sound have lowe rollback so it's heard from far
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 01:21:59 +00:00
auria
b9af327a29 Converted music files to XML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 01:18:40 +00:00
auria
11b0f5b226 Removed unnecessary includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:49:05 +00:00
auria
02a2d40fb1 Removed unnecessary include and unimplemented method
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:44:35 +00:00
auria
929482c802 Removed unnecessary includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:40:32 +00:00
auria
e15c217c5f Converted GPs to XML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 00:33:41 +00:00
auria
9f0e6a3d83 Removed another debug print that wasn't useful
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 23:33:15 +00:00
auria
ea4cd3263a Removed a couple debug prints that w ere not useful anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 23:32:37 +00:00
auria
d2dfb64f9e Renamed font file to not contain spaces, since that seems to confuse autotools on some platforms
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 22:50:08 +00:00
mbjornstk
0d97bfe2c4 Add string include.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 22:32:53 +00:00
auria
100883034e Remove unecessary #include (sorry everyone, will cause a full rebuild)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 21:57:39 +00:00
auria
6c40c061f5 Minor corrections to SFX license
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 19:19:42 +00:00
auria
5b61a0b23d Deleted directory (SVN requires this to be done in a separate commit...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 19:18:54 +00:00
auria
93cc5209f7 Converted sound effects file to XML. Along the way, refactored the audio code to be more flexible. before, when a sound changed, you needed to edit the config file of STK, edit the enum in the header, edit the loader in the .cpp... was annoying. Now you only need to edit the config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 19:17:35 +00:00
auria
b167931b9c Minor code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 16:12:50 +00:00
hikerstk
b28011ede2 If a bubble gum is dropped while items are switched,
immediately switch this item.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 03:07:19 +00:00
mbjornstk
0827c95c35 Make gum swap with big nitro (instead of small).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 02:47:05 +00:00
hikerstk
dfa152cd3b Bugfix: if a bubble gum was dropped while items were switched, stk could crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 02:44:39 +00:00
auria
2f1c755596 Added sound effect to using the Swapper powerup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 02:37:54 +00:00
auria
965381bc46 Hopefully fixed all holes in lighthouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 02:14:33 +00:00