Commit Graph

988 Commits

Author SHA1 Message Date
auria
5e757da9d5 fixed possible issue with kart sorting in battle mode + some minor typo fixes and documentation improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 01:45:28 +00:00
auria
92e4ee5afb better time handling in battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 01:34:20 +00:00
auria
469518f04b initial support for proper kart rank/ordering in battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 00:42:31 +00:00
auria
0bab5f5772 remove debug stuff accidentally commited
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-22 23:30:44 +00:00
auria
6ac6eb9623 fixed bugs with battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-22 16:05:08 +00:00
scifly
ec272cf9ec Bugfix: Players can no longer set highscores of 0.00 if they do not
finish a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-21 16:04:54 +00:00
auria
bc842b38ab don't allow choosing battle mode in single-player mode (it looks a bit weird, disabled buttons are not displayed any different from enabled buttons??)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-21 00:29:29 +00:00
auria
fc5bce275a updated menus for battle mode. 1) don't add AI karts 2) don't show useless screens like kart amount or AI difficulty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-20 15:53:47 +00:00
auria
6105d98c1a removed documentation that doesn't apply anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-20 01:06:28 +00:00
auria
2ab2e98fae new implementation for cakes that doesn't rely on drivelines
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-20 01:06:01 +00:00
auria
2948a48f44 changed cake description string to be fully visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-19 01:26:55 +00:00
auria
800d94898a better description for FTL, thanks to UnNamed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-19 01:24:51 +00:00
auria
f076540f68 fixed what happens at the end of a race, fixed problems with faster music set twice
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-17 01:41:41 +00:00
hikerstk
14d6130bf3 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-17 00:10:54 +00:00
hikerstk
1d259bad84 Fixed broken compilation on linux and macs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-17 00:05:59 +00:00
hikerstk
b1de626e3e 1) Refactored KartProperties and STKConfig, so that kart defaults
and checks if all values are actually defined are done in one
   file now (and not in two different classes as before). Added
   doxygen comments as well.
2) More physics improvements.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 23:49:27 +00:00
auria
35c1c3eb32 work towards encapsulation of race results display
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 19:53:37 +00:00
auria
e92747fe56 updated Xcode project to latest changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 01:32:13 +00:00
hikerstk
b1cb705777 Improved physics: karts are now less likely to lose contact
with the ground (and as a result start rotating on the spot).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 00:20:49 +00:00
hikerstk
41ca66fc34 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 00:12:15 +00:00
auria
88fcbc0c95 improvements to battle mode. 1. drop karts at an acceptable angle on rescue 2. hits make karts lose lives 3. improved resetting, ending and restarting 4. added fast music support 5. fixed memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-15 19:00:50 +00:00
auria
ed2f52bee6 First iteration of battle mode! It's playable, and the rack selection works. Warning, if you select AI players it won't work. Lives are shown but don't decrease with hits yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-14 20:20:54 +00:00
auria
cff932964c minor changes to prepare for more modes to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-11 00:57:31 +00:00
auria
e6a257a7e2 better encapsulation of race modes. not the most elegant solution possible, but it was quick and easy, and will be easy to extend
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-11 00:32:44 +00:00
hikerstk
e93129a520 Added first version of doxyfile (and ignore html directory).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-10 03:56:52 +00:00
hikerstk
bb84db0664 Removed minor compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-09 23:33:14 +00:00
hikerstk
0ae024508a Applied Stephen's 3d sound patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-09 22:24:19 +00:00
hikerstk
167107fcbc 1) Cleaned up implementation of history function.
2) Improved history file format to collect control information (like 
   steering etc) to allow replaying based on the physics (and not only
   replaying recorded kart positions).
3) Added some constants (time till finish, time for music credits) to
   the stk_config.dat file.
4) Made name of the menu background picture configureable in 
   stk_config.dat file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-06 13:40:11 +00:00
auria
6a9a943292 better error checking when initing the SDL video driver
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-06 00:39:10 +00:00
auria
43d092c26c better encapsulation of on-screen messages so they are independant of what mode is in use, and are also independant of the type of clock used (for instance there's a few ones that in FTL counted backwards). switched to alternate timers independant of the game mode's timer + more cleanup on previous commit (clock merge)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 18:50:45 +00:00
auria
940f1a4702 correctly encapsulated fast music handling for FTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 18:02:49 +00:00
auria
4a1662f0cb improved FTL code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 17:47:29 +00:00
auria
0c945d61d3 Made World derive from 'Clock' (now 'TimedRace') simplifying a lot of things, especially the race end process
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 17:32:40 +00:00
auria
695255d9b6 somehwat nicer shortcut detection based on distance rather than sectors. can still be wrongly triggered if you drive just next to the road for a while (but that can probably wait for checkpoints)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 01:44:08 +00:00
auria
739436fff9 fixed search-and-replace introduced problem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-02 01:11:00 +00:00
hikerstk
f055a2c6bd 1) LAN mode now supports GP and restarting/setting up
new game etc.
2) Fixed non network end-of-game handling.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-02 00:27:39 +00:00
hikerstk
fb2900f05b Bugfix: GP information wasn't properly sent from server to client.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 12:37:20 +00:00
auria
f38e47954c full encapsulation of 'raceHasLaps'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 01:53:35 +00:00
auria
60b3f0ea6e removed one more explicit reference to a game mode, using a more dynamic/extendable call instead
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 01:37:43 +00:00
auria
dd5069d112 fixed times comparison at the end of a lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 01:15:34 +00:00
auria
1c7c08315a started fixing time comparison at the end of a lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 00:46:00 +00:00
auria
11bec6a781 fixed memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-30 20:38:11 +00:00
hikerstk
5f7cba7975 Fixed quickstart (-N command line option).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-30 11:02:04 +00:00
auria
0765e643cf fixed shortcut detection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-30 01:54:09 +00:00
auria
04c106843a better fix for karts-position wrong when restarting a race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 15:43:58 +00:00
auria
88d5b15747 fixed mistake in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 15:27:09 +00:00
auria
3728343cfa workaround attempt for crash seen only by conso, but that i can't reproduce, so he can test
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 15:23:54 +00:00
auria
6371efb4c1 fixed lap counting and invalid shortcut detection false positives when resetting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 15:14:14 +00:00
hikerstk
1809dd1da1 Synchronised race results menu, single races in LAN
mode can now be restarted (GP and FTL modes are still 
to be done).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 02:29:33 +00:00
hikerstk
44e9335baa Updates and minor bugfix for VS compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-28 10:39:52 +00:00
auria
faa1ba9161 minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-27 20:49:11 +00:00
auria
8d48875044 fixed rescuing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-27 20:32:07 +00:00
auria
019eaca2cf Mammoth patch to try and encapsulate sector and lap code better in modes. Still work in progress so expect suboptimal implementations and breakage. Known to be broken at this stage : opponents' times at the end of a lap, rescue button and rescuing in general, shortcut detection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-27 19:43:57 +00:00
auria
3477a7f7e2 made section handling and lap counting a little more modular (nothing definitive, just an incremental step)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-25 00:31:21 +00:00
auria
e48907a1cf removed wrong alut dep from xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-24 23:44:04 +00:00
auria
e9439f0cd7 removed wrong sdl_image dep from xcode project, minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-24 23:08:12 +00:00
auria
e1df51b631 made faster music a choice of the base class. various 'for' loop optimisations. replaced incorrect 'int' with 'bool'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-24 00:43:45 +00:00
auria
03ae2ce6d4 made use of highscores optional (for instance battle mode may not ahve high scores so we need a way to turn them off)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-24 00:13:31 +00:00
auria
b1ffefe0a4 switched to a simpler collision-detection algorithm to detect mouse clicks on GUI items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-23 01:47:04 +00:00
auria
0e5106bfb9 started highscores refactor, also fixing them (they had been broken during the world refactor)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-23 01:16:50 +00:00
hikerstk
cfb755ac9e Re-solved several VS/linux compilation errors, and updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-22 12:14:55 +00:00
auria
199681c1d2 added missing clock.*pp files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-22 01:52:28 +00:00
auria
0ece64bc05 split major and minor modes, started some more encapsulationa round that
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-22 00:55:27 +00:00
auria
cc61f53ff8 more cleanup, replaced World global variable with singleton-like implementation, removed lots of includes to world.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-21 16:07:56 +00:00
hikerstk
4f4d328bde 1) Fixed compilation problems with VS ('or' instead of || etc)
2) Added new files to VS project.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-21 15:33:12 +00:00
hikerstk
5e07085fd1 Removed FIXME (with the current SFX manager sounds are not loaded every
time a SFX object is created. They are preloaded once, and then shared
and reused)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-21 06:39:18 +00:00
hikerstk
1738961f68 1) Bugfix: World::Karts was protected (causing a compilation error on
linux)
2) Removed several warning (e.g. no newline at end of file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-21 06:04:38 +00:00
auria
67c514f1ed first iteration of new game mode code. most things seem okay, maybe high scores/rankings should be double-checked, also the end-of-race screen seems a bit messed up
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-20 23:45:22 +00:00
auria
164a7b87cf updated help page for cakes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-20 19:07:10 +00:00
hikerstk
548c35f7e1 1) Bugfix: sfx could not be disabled
2) Bugfix: certain sfx (esp. engine sound) would not get started
   correctly when changing sfx settings during a race.
3) Bugfix: Engine sound would be played if the in-race-menu was shown.
3) Allocating and deallocating SFX objects is now completely done
   in SXFManager (and not allocated in SFXmanager, but deallocated
   via a normal delete call).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-20 14:23:20 +00:00
hikerstk
f8646b5ed6 Adjustment of pitch change (due to the different wheel radius).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 15:04:58 +00:00
hikerstk
686540bf29 Removed various g++ compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 14:43:25 +00:00
hikerstk
66b3f127f6 Set wheel radius from kart properties, removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 14:41:23 +00:00
hikerstk
8931601f53 Bugfix: Novice-AI would crash in network mode since world->getPlayerKart was
not always defined (and additionally the client would do the full AI code, too,
which leads to crashes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 14:14:14 +00:00
hikerstk
21fbb9f21e Made z-velocity adjustment for flyables optional. Disabling this
fixed the gravity handling for the bowling ball.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 06:50:55 +00:00
hikerstk
32df4eb50b 1) The physics are now using the actual dimension of the track when
creating the world (which might give a performance boost).
2) Moved ssg_help into utils directory, added a namespace,
   and changed parameters to use Vec3 (instead of 3 floats).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 06:07:29 +00:00
hikerstk
c0226902a7 Bugfix: debug code was still left in (which removed the first kart).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 02:28:27 +00:00
hikerstk
5cd578d9bd Bugfixes from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 12:02:03 +00:00
hikerstk
c0eae662f2 1) Applied Stehen's patch to give each kart separate sound effects objects,
and add engine sounds.
2) Added sfx manager so that the buffers for the sfx are shared between
   all sfx objects.
3) Moved all audio related files into audio subdirectory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 03:24:19 +00:00
auria
5343635562 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 01:24:10 +00:00
hikerstk
6b92674f99 Added doxygen description about the classes (though not all functions
are documented yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-16 23:46:29 +00:00
hikerstk
803f188895 1) Renamed game_manager to main_loop.
2) Cleaned up some include files.
3) Fixed compilation of optimised version on VS.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-15 04:34:46 +00:00
hikerstk
f941785f35 Makefile.in should never have been committed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-15 03:48:07 +00:00
hikerstk
ca43ad6e21 Bugfix: if the currently selected character is selected elsewhere,
the selected character was removed from the list, but the model
didn't change - it was still rotating the now unavailable character.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-15 03:38:26 +00:00
hikerstk
d8ba0271c0 Bugfix: the AI on the clients would try to trigger a rescue (which would
only show the butterfly at the karts, but not actually do a rescue).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-15 02:19:23 +00:00
hikerstk
1ee4c7976a Bugfix: Compiler optimisations on certain compilers could cause the
networked version to fail (indication: warning message "warning:
dereferencing type-punned pointer will break strict-aliasing rules").


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-14 15:01:14 +00:00
hikerstk
5f6b27bb80 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-14 14:53:04 +00:00
hikerstk
8a4a939980 1) Character selection is now synchronsied between all clients and server (i.e.
a character can only be selected once, and is then not available for other
   players anymore).
2) Fixed restart race (which would finish the race after about 11 seconds)
3) Moved widget related classes into gui dir.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-13 07:09:36 +00:00
hikerstk
7203ad76c9 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-10 04:36:00 +00:00
auria
927f30f86e added cakes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-10 00:49:31 +00:00
hikerstk
5912969e9e Bugfix: missing closing comment made this file un-compilable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-10 00:31:41 +00:00
hikerstk
15b9ca64c6 1) Fixed 'install' and 'dist-*' make targets.
2) Removed unused files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-10 00:26:04 +00:00
hikerstk
a29ed474f4 Disabled karts on clients that are not available (i.e. do not exist
on all clients).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-09 13:44:17 +00:00
hikerstk
d24658febd 1) Fixed crash in case that less karts were selected on the server than there are players.
2) Added doxygen comments.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-09 13:43:09 +00:00
hikerstk
08f955e23d Fixed compilation problem on Macs (and other platforms).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-09 12:38:20 +00:00
hikerstk
efa41d9d84 Fixed non-network mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-09 04:35:35 +00:00
hikerstk
e4c646c0c5 Make sure that only karts available on all clients can be selected.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-09 04:20:24 +00:00
hikerstk
26324da7a2 Bugfix: projectiles were not handled correctly on the client, resulting in
a crash.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-08 10:53:29 +00:00
hikerstk
10915df3bb Bugfix: Fixed deadlock occurring when the server reaches the character
selection screen before a client has selected the number of players.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-08 10:45:20 +00:00
hikerstk
a4ce04aaf7 Bugfix: client didn't show the speed of the karts correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-08 10:01:48 +00:00
hikerstk
1c97237940 Added missing file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 16:12:40 +00:00
hikerstk
48271241ee 1) Bugfix: incorrect conflict resolution in kart.hpp.
2) Added track synchronisation between clients and server.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 15:31:28 +00:00
hikerstk
0c46cfb51c Bugfix: missing function in kart.hpp, missing include path in VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 15:24:14 +00:00
hikerstk
864a3a72aa Added support for moving physics in network play, fixed incorrect path in VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 15:10:59 +00:00
hikerstk
8519f9dbe3 1) Added enet sources.
2) Updated STK sources to unconditionally compile for enet.
3) Updated VS project file for enet.
4) enet support for automake.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 15:04:43 +00:00
hikerstk
22c1c92bf8 Fixed projectiles for network play.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:56:17 +00:00
hikerstk
9a17f748f1 1) Cleaned up all _WINSOCKAPI_ defines.
2) Improved kart_control to serialise/deserialise itself.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:55:05 +00:00
hikerstk
2455bdc32d 1) Synchronised herrings.
2) Fixed no-network play.
3) Fixed display of 'loading'/'synchronising' message.
4) Added missing files from previous commit.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:45:43 +00:00
hikerstk
ecac04b1bc Replaced kart update message with race_state (which gets send
from the server to the clients). Started to implement synchronising
of herrings and projectiles.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:42:37 +00:00
hikerstk
de72e53199 Bugfix for optimised compilations (at least with g++).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:39:34 +00:00
hikerstk
da69106378 Very first alpha version of network multiplayer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:34:04 +00:00
hikerstk
545a2703b5 1) Synchronised random-karts across the network.
2) Fixed non-network game play.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:24:40 +00:00
hikerstk
db75ee21f0 Added missing values to race info message, fixed state machine.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:13:04 +00:00
hikerstk
bb894b414d Several compile time bug fixes for linux, removed warnings,
fixed = vs == bug in network_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:12:14 +00:00
hikerstk
9191f89333 Added most of the messages, menu's are mostly synchronised now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:09:52 +00:00
hikerstk
3ccd8500de 1) Added kart_packet files to Makefile.am
2) Improvements to network managers (finite state machine) and to the network GUI.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:05:48 +00:00
hikerstk
ed1d4b0192 1) Added missing files from previous commit.
2) Added kart_packet classes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:02:31 +00:00
hikerstk
afbd02d824 Added network GUI, some improvements to network manager state,
server address and port are now saved in the user configuration.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 14:00:47 +00:00
hikerstk
fd93bfef1a Beginning of finite state machine for network manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:58:37 +00:00
hikerstk
94a1882435 Minor linux bugfixes and ignore of automatically created Makefile.in.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:55:38 +00:00
hikerstk
171a051b1b Added dummy network kart objects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:54:42 +00:00
hikerstk
ee0bb967c3 Added handling of local/global player and player ids.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:51:44 +00:00
hikerstk
ea579a3f62 Bugfix: non-network mode crashed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:44:55 +00:00
hikerstk
15c834e849 Fixed linux compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:44:10 +00:00
hikerstk
44f5691bab Moved network related code into network subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:38:46 +00:00
hikerstk
d3b4fcf8e7 Started to introduce concept of 'local player', but commit
'in between' to move a few files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:33:12 +00:00
hikerstk
e438565c62 Fixed displaying two different texts while waiting for
network connections and while loading the actual track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:27:38 +00:00
hikerstk
e8f6f0f708 Fixed first version of menu synchronisation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:27:00 +00:00
hikerstk
78f8c60934 1) Added network kart type.
2) Modified menu handling for clients (i.e. skip game mode select etc).
3) Added more (currently mostly empty) network functions.
4) Added missing network manager from previous commit.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:25:58 +00:00
hikerstk
2f2197308d 1) Added network manager with a dummy enet interface.
2) Added command line options to start a server and client.
3) Added enet support to configure.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-07 13:14:14 +00:00
auria
46a439fe3b improved getClosestKart() inFrontOf implementation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-03 14:43:58 +00:00
hikerstk
82d817a7ec Layout changes only (to be in STK coding style).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 02:40:02 +00:00
hikerstk
796b0b9848 Removed warning (and potential bug fix): a float was implicitly
converted to an int when using abs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:50:05 +00:00
hikerstk
0e014af8c4 Fixed const kart *.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:46:05 +00:00
auria
19d91fb0c1 i18n updates. updated script to new lcoation of files. added comments to translator, for unobvious strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:35:28 +00:00
hikerstk
813727d774 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-02 00:08:18 +00:00
auria
bd6a478c51 removed useless stuff from XCode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:41:43 +00:00
auria
75f7090392 documented a method and allowed better customisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:40:21 +00:00
auria
eeaf9a0295 allow better customisation of kart::getHeading method
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:39:17 +00:00
auria
11cc33e709 allow better customisation of flyables
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:38:51 +00:00
auria
826bd6ef64 minor bowling balls improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:37:38 +00:00
auria
b4fb3f8e57 documented a few methods
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-01 15:37:17 +00:00
auria
78d5cf65aa Some fine-tuning to bowling balls. Optimized code by removing repetitive calls to sqrt() (forgot one file)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-06 00:54:05 +00:00
auria
ec26ddb1ed Some fine-tuning to bowling balls. Optimized code by removing repetitive calls to sqrt().
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-06 00:53:40 +00:00
auria
5791464b84 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-05 00:55:51 +00:00
thebohemian
e4d495d898 RaceOptions::RaceOptions:
- select 'start' by default


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-04 18:46:47 +00:00
thebohemian
c3fc916588 Camera::setMode():
- use 1.5 times the distance from the kart properties in 2 and 3
    player (split screen) mode to fix kart not being visible


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-03 13:41:56 +00:00
hikerstk
ce2e8bfbf5 Removed unnecessary 'wheel width' parameter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-08-01 01:25:03 +00:00
hikerstk
46c5b8ab7d 1) Changed the challenges dependencies to have not more than
3 challenges at the same time.
2) Moved reading of grand prix challenges into unlock manager
   (previous location would not read the status of the challenges
   correctly from the user config file).
3) Fixed position requirement of 'follow the leader' challenges
   (winner has position 2, not 1).
4) GP which have missing tracks are now ignored (solves crash
   when STK is installed on top of an old installation)
5) Made the images in the race result screen non-active.
6) Made the description of challenges non-active.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 13:40:25 +00:00
hikerstk
5d5e3884cb 1) Bugfix in print statement.
2) Updated makefile to support r2190.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 05:46:04 +00:00
hikerstk
3c018d5ac1 1) Bugfix: GP were not locked.
2) Renamed all 'cups' into grand_prix.
3) Removed obsolete source files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 05:38:30 +00:00
hikerstk
d6490dc48c Missing updates in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 04:45:28 +00:00
hikerstk
88c0b07f69 1) Added GrandPrix manager (so that a GP id instead of a potentially translated
GP name can be used).
2) Added support for challenges to be specified in .challenge files,
   converted all existing challenges to be specified in this kind of
   data file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-29 04:30:44 +00:00
auria
af8cfaa9ab updated XCode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-28 00:35:18 +00:00
auria
1d7578f198 totally replaced spark with bowling ball
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2181 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-28 00:34:45 +00:00
auria
3f59d84955 Improvements to bowling ball : shoot forward by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-25 01:06:50 +00:00
hikerstk
27369fe5ea Removed g++ compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 10:04:35 +00:00
hikerstk
22ede74e90 1) Added getTracksInGroup() method.
2) Removed unnecessary leader-result files.
3) Minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 06:28:33 +00:00
hikerstk
42111c028d Removed g++ warnings, un-tabified file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 05:27:58 +00:00
hikerstk
92efb6ccc7 1) Time-trial and follow-the-leader modes can now be
used in GP as well.
2) Improved game-mode gui to use the new layout engine.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 04:51:27 +00:00
auria
0b56f85de6 Turned Spark into Bowling Ball
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-21 01:55:41 +00:00
hikerstk
fdc73349eb Bugfix: arrow up/down in menus didn't work anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2172 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-17 10:43:44 +00:00
hikerstk
341fa147c8 Removed some compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-17 10:23:35 +00:00
hikerstk
9b0344c3c2 Enabled scroll wheel.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-17 04:12:40 +00:00
hikerstk
4438f74940 1) Updated the physics parameters: crashes of karts with the track when
accelerating have been removed; sound when hitting parts of the track
   have been re-enabled.
2) Special handling of smaller karts (wilber/hexley) has been removed.
3) Added option to specify the exact wheel positions for the physics.
4) Added option to move the center of gravity along all three axis
   (not only height).
5) Added --kartsize-debug command line option to print the sizes of
   each kart (which is useful when specifying the wheel positions).
6) Removed unused entry from stk_config.data.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-17 01:33:49 +00:00
hikerstk
c4fe778457 Applied Robert Howie's patch to disable activation of the credit display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-15 23:45:43 +00:00
hikerstk
73977261fa Bugfix: if a race is restarted in follow-the-leader mode after a kart has been
removed, this kart would not get restarted correctly.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-15 03:33:17 +00:00
hikerstk
3813127d78 Fixed pre-selection of track/character.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-15 02:09:27 +00:00
hikerstk
936f363467 1) Applied bugfix for mixing up player karts in AI by SciYann.
2) Added some debug print in case of incorrect kart positions
   (which I have seen once and never again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-14 05:21:37 +00:00
hikerstk
0eb36180bd Added SFX when karts hit karts back in.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-14 03:40:58 +00:00
auria
07ecec5241 updated Xcode project to build bullet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-12 14:39:32 +00:00
hikerstk
a8de06cdc5 1) Bugfix: interpolation formula was wrong
2) Fixed errors in print statement (wrong format, c_str() missing).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-12 12:49:57 +00:00
auria
a7dece885a minor speed improvement : do not ask bullet to check if jump is currently possible when user is not trying to jump
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-12 01:20:29 +00:00
auria
3aa29aef07 small updates to Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-12 01:19:17 +00:00
hikerstk
5d10d28744 Added support for maximum steering angle to be dependent on
the current speed. I.e. on lower speed narrower turns are possible.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-11 15:19:07 +00:00
auria
f59052157d Added experimental Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-11 01:55:13 +00:00
auria
6ce29b542a fixed template parsing (C++ weakness)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 20:43:46 +00:00
hikerstk
a9d967d724 AI karts are now filled firstly from karts of the current group (before
other karts are then used).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 04:46:54 +00:00
hikerstk
fd3e3adafa Enabled up/down events to scroll the list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 00:45:32 +00:00
hikerstk
df3b8206ed 1) Removed warnings.
2) Enabled up/down events (e.g. pressing arrow up/down).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 00:43:33 +00:00
hikerstk
edbfdece99 Prevented STK from hanging when invalid starting positions are specified.
Instead it aborts with an error message now, detailing the track name and
kart number which causes the problem now.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-10 00:41:26 +00:00
hikerstk
6414bdf12a 1) Added first version of widgets that can have their position explicitely
set, avoiding the layout engine (and making it easy to make them skinable).
2) Added track groups, all current tracks are in a group called 'standard'.
   The track select widget can now scroll and therefore display a large
   number of tracks.
   


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-09 06:44:49 +00:00
hikerstk
dde2f508d3 1) Added support for kart groups, added all current karts to the group 'standard'.
2) Cleaned up unused kart physics parameters, added new suspension_travel_cm parameter.
3) Renamed TrackManager::getTrackCount() to getNumberOfTracks() (to follow the same pattern as
   getNumberOfKarts()).
4) Minor code cleanup, warnings removal, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-03 03:14:27 +00:00
hikerstk
511292b62d Replaced gettext with _() (since this will work even if HAS_GETTEXT is not set).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-03 03:05:05 +00:00
hikerstk
eb9d517221 Added svn:ignore, and (see r2145) removed the current set of environment
variables and replaced them with STK_{INCLUDE,LIB}.
Disabled 64-bit warnings, since this flag is deprecated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-03 03:03:24 +00:00
hikerstk
d70e51de74 Added STK_INCLUDE and STK_LIB environment variable, which will be used to point
to a central directory containing all header and lib files. This is in preparation
for a 'windows dependency package', and requires less work for the user to set up.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-03 02:46:12 +00:00
hikerstk
b125b58f83 Added project files for Visual Studio 2008 (i.e. VC version 9).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-07-02 06:49:23 +00:00
hikerstk
1b49fd7b33 Bugfix: 'final camera' (currently only used in race track) didn't work
correctly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-27 14:09:43 +00:00
hikerstk
61c4f6c42f Bugfix: camera for eliminated karts didn't work anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-27 14:01:27 +00:00
hikerstk
9b9ce44ac5 1) Number of laps/karts now 'wrap around'.
2) The minimum number of karts is now set correctly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-27 13:58:44 +00:00
hikerstk
a0b5857477 Put the previous selected character in the most prominent position of
the new gui.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-27 10:14:53 +00:00
hikerstk
fde307f5e7 Bugfix: collectables didn't regenerate in follow-the-leader mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-25 06:18:16 +00:00
hikerstk
370fa80994 1) Made some attributes private.
2) Fixed the AI calling rescue when crashing repeatedly (which hasn't
  d been working since bullet physics was used).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-24 06:29:35 +00:00
hikerstk
8c6378df34 Support for an arbitrary number of karts added to character selection
menu.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-23 02:52:36 +00:00
cosmosninja
2eddb848df Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-22 15:26:22 +00:00
hikerstk
8da4ee76e4 More sg* removals.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-20 14:53:00 +00:00
hikerstk
2dc36390fa 1) Removed the old m_curr_pos sg* data structure from kart.
2) Replaced several sg* data structures and function parameters with
   plib independent data structures.
3) Some code cleanup, updated gpl license to 3 in a file or two.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2132 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-20 09:34:35 +00:00
cosmosninja
4b4a5274be Commented out option that doesn't works currently.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-19 01:15:38 +00:00
cosmosninja
eb482c7d4b Updated the GPL version to GPLv3.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-13 00:53:52 +00:00
hikerstk
bbbf1a0479 Replaced all sg* data structures in the camera with portable (and bullet
based) data structures (except for the final call to set the ssg
camera).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-10 02:35:10 +00:00
hikerstk
a9c3c61cc0 Removed debug output
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2126 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-10 02:32:15 +00:00
cosmosninja
ecc1324153 Raised the joystick deadzone limit from 1000 to 2000 (out of 32767).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-31 19:53:29 +00:00
cosmosninja
7da339a058 Removed warning when you get out of the help menu after going to page 2 or 3.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-30 07:11:07 +00:00
cosmosninja
22f9126551 Removed some useless text from the first help page.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-26 21:56:59 +00:00
hikerstk
a338b7098e Added explanation message to locked game modes and tracks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-26 04:31:53 +00:00
cosmosninja
2dd0211ede When clicked, locked widgets reveal the name behind. Also, there is some help about locks in the first help page.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-26 01:12:57 +00:00
cosmosninja
b5d4930f87 Removed the rest of plib sound support; note that OpenAL was obligatory before this patch, so I just added a message to the configure.ac to stop configure when OpenAL isn't present.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 20:30:25 +00:00
auria
182a40b8e0 fixed audio on big endian systems
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 18:00:16 +00:00
cosmosninja
a91079c6f6 Increased the size of the widgets in the grand prix selection to avoid problems with italian translation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 16:52:08 +00:00
hikerstk
ecde6ed51e 1) Removed unused (and nearly empty) traffic driver
2) Added new vec3 object, which is used to convert all
   sg* data structures to btVector3. Replaced more sg*
   data structures using vec3.
3) Replaced all individual red,reen,blue values in .kart
   files with a single 'rgb' vector entry.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 16:02:26 +00:00
hikerstk
a6439e35a5 Bugfix: if the race menu pops up during 'ready set go', an incorrect
phase is set, resulting in the brakes of the karts not being reset.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 08:20:15 +00:00
hikerstk
b84cc2ae7d Bugfix: in GP mode the character selection menu was not shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 07:30:32 +00:00
hikerstk
b8ff2f1621 Increase widget size so that display is correct on all resolutions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 04:34:14 +00:00
hikerstk
69e9a3e78e Adjusted some menu sizes so that all current translations would be
displayed correctly (even in lower resolutions).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-25 04:18:31 +00:00
hikerstk
2491c2f43e Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-24 03:29:25 +00:00
scifly
6acd12fd61 Added a description of what coins were for to the help menu.
This required the removal of the player one key bindings from that 
menu, but a referral to the Player Config menu has been left in its place.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-23 21:18:57 +00:00
dimstar
dbf0ca9a24 Fix compilation when using GCC 4.3 (missing #include statements)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-23 19:36:05 +00:00
hikerstk
72804d5341 Added translations to GP names, so that GP locking works
in translated versions of STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-23 05:54:19 +00:00
scifly
e313995d22 1. Locked crescent moon with energy math class challenge.
2. Made text describing energy math class challenge clearer.
3. Unlocked grand prix mode.
see revision 1980 in 0.5rc1 branch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-22 23:24:40 +00:00
cosmosninja
1a8ec5578f Removed alut dependency.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-22 06:45:02 +00:00
hikerstk
003fffd9f6 Added missing AI settings for skidding preview (1961 on 0.5rc1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-21 01:20:00 +00:00
scifly
01b1e20d8a BugFix: Re-instated m_finish_delay_start_time and associated code.
Simplification broke the final lap split times for AI karts, making them 
negative and resulting in false overall race times.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 10:01:26 +00:00
hikerstk
a0473ad24b 1) Cleaned up and simplified handling of race phase in world.
2) Added a 'final camera': this camera will move forward and turn
   when a race is finished to show the finishing line. This is
   currently only enabled for the race track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 03:33:48 +00:00
hikerstk
359f281a4a Removed VS warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 03:30:54 +00:00
hikerstk
c6f377413d Changed some const char* to const std::string& .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 01:24:15 +00:00
hikerstk
e8fc85ff5d Fixed crash in case that the .music file does not exist.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 00:52:19 +00:00
cosmosninja
1d496169e7 Committed Paul Elms' fix for the start race feedback screen not showing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-20 00:48:59 +00:00
hikerstk
422931342d It could still happen that the terrain raycast starts under the track,
esp. in the ramp in tux tollway (reproduced by jumping down the ramp
while doing a wheelie). See r1941 on 0.5rc1 branch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-19 14:18:39 +00:00
hikerstk
a03cdc0a6f Allow rescue to be triggered even when the wheels are not on the ground
(the kart might get stuck sitting on a wall with all wheels in the air).
See r1940 on 0.5rc1.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-19 14:16:16 +00:00
hikerstk
f89f697b7f Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-19 03:42:15 +00:00
cosmosninja
cdb9083cfc Improved the layout of the third page of the help screen a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-18 05:43:53 +00:00
cosmosninja
b86445ebf0 Fixed the last known bug in the widget manager layout, plus cleanups
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-18 05:43:29 +00:00
cosmosninja
7679494058 Removed workarounds for widgets that got too big because of the text
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-18 03:05:08 +00:00
cosmosninja
7a1a13b3b6 Moved a initialization from the widget to the widget manager, where it should be.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-18 02:23:17 +00:00
hikerstk
1f5a663593 Bugfix: the track number wasn't reset, causing an out of bounds access
(e.g. when the race_option menu would access the number of laps). See
r1924 on 0.5rc1 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-16 09:21:57 +00:00
hikerstk
c698262623 Applied official patch to fix the missing new.h problem.
(while the btOdeQuickstepConstraintSolver is still not used, this
allows our bullet tree to be kept in close synch with their official
versions).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-16 01:38:10 +00:00
hikerstk
c09ecc43e4 Bugfix: the last kart in a race would not get its highscore
recorded. This could result in an incorrect display of the 
race over menu (which happens if there is no highscore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-16 00:16:25 +00:00
hikerstk
867f45b4fd Bugfix: default AI level was still medium, which means that the medium AI could
still be selected.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-16 00:10:36 +00:00
hikerstk
f20c5471b3 Removed btOdeQuickstepConstraintSolver.cpp from the files to compile,
since it fails with newer compilers (e.g. gcc 4.3, where new.h is not
supplied anymore) - and the file is not actually used in STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 08:22:17 +00:00
hikerstk
1038e43d9c Changed version number of VS project files to "SVN".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 05:11:37 +00:00
hikerstk
d45dbadc72 Updated version number, fixed gettext support for release version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 05:00:20 +00:00
hikerstk
9e83714ec2 Removed rectangle around non-selectable text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 03:00:54 +00:00
hikerstk
bdec3c7121 Redesigned game_mode menu, removed some unnecessary title widgets.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 02:53:03 +00:00
hikerstk
a92f0c4365 Added multi-line support for bounding box computation to font.
Re-adjusted the game mode hepl screen to display correctly with.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 02:49:32 +00:00
cosmosninja
3e6f860d57 Changed some widgets so they are not resized as a quick fix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 02:19:38 +00:00
hikerstk
f02405a133 Added shadows for menu fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 01:21:11 +00:00
hikerstk
7e34effde7 Fixed "Penaly message erase by Go message" bug (#1948464).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-15 00:44:59 +00:00
scifly
8793721aaf 1. The Tux Tollway head to head challenge is now a time trial race
rather than a quick race.
2. Bugfix: a win is now required to complete all gp challenges and the 
tux tollway head to head.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 21:01:04 +00:00
cosmosninja
f640d64467 The game mode widget locks don't have blocky corners anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 04:20:24 +00:00
hikerstk
fe346918d8 Zippers can now be disabled by pressing brake when they
become active.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 00:56:06 +00:00
hikerstk
17d20ee73f Disabled the upright constraint during an explosion, tweaked
parameters somewhat, and made the new explosion code the default.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 00:53:59 +00:00
hikerstk
683d423113 The bomb explosion uses now the more severe explosion function, instead
of just triggering a rescue.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 00:51:29 +00:00
cosmosninja
5178e5a2a7 Changed the red background of the start race button to gray, and gave it a blue border.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-14 00:16:45 +00:00
auria
f252242baa Translation related fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 19:02:27 +00:00
hikerstk
584a11d105 Minor fixes for VS portability.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 13:21:15 +00:00
hikerstk
f052426be4 New implementation of karts being direct hit by an explosion. If this
does not work good enough, #undef WILD_EXPLOSION, which will just
trigger a rescue instead.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 04:32:37 +00:00
cosmosninja
47c4602200 Internal changes to the widget set (still some bugs, but none are visible in our screens), and layout and color changes to the race options menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 02:53:22 +00:00
hikerstk
6c1553f7d2 Fixed compilation problem (with some compilers).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1880 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 01:07:02 +00:00
auria
1047d5e184 Fixed challenges to support multiple rewards. Made translation easier.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1878 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-13 00:07:24 +00:00
hikerstk
e07416f898 Default installation location is now following FHS:
1) executable into /usr/games/
2) documentation into /usr/share/doc/supertuxkart
3) Added AUTHORS ChangeLog COPYING README to /usr/share/doc/supertuxkart
   directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1877 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 14:18:01 +00:00
cosmosninja
47057e916b Joerg's changes to the third help screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 04:55:46 +00:00
hikerstk
e13203677e Fixed incorrect text justification in small resolutions (<800 wide),
see bug 1850513.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 04:35:25 +00:00
hikerstk
941592667f Added two missing files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 03:34:21 +00:00
hikerstk
72590b86a2 Bugfix: after using the pre-allocated collectables, the kart
would get the same number of collectables again.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 03:29:06 +00:00
hikerstk
729eecc06d Removed compiler warnings (missing eol, unused variable).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 02:54:43 +00:00
hikerstk
2f81187245 Fixed typo in name for sfx-volume.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:59:45 +00:00
cosmosninja
2ad799a32a A bit of cleanup since we don't have to block the zipper from the time trial anymore; also, set the race manager default difficulty to hard.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:39:14 +00:00
hikerstk
6d16f5d482 1) Made the maximum number of fps configurable (default=120).
2) Added a setting to change the volumne of sfx.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:26:35 +00:00
hikerstk
9a1386446e Avoid crash when music is switched on/off several times.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:25:30 +00:00
hikerstk
5365fcadda Blue boxes are no longer placed on a track when time trial
mode is used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:23:39 +00:00
hikerstk
442899242e In time trial karts start with one zipper for each lap
of the race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:21:34 +00:00
hikerstk
8244db5868 1) Allow time-trial to use more than one kart (and therefore
set number of karts and AI level).
2) Race option menu now remembers previous settings
   (and command line options), so it can start with
   better defaults.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-12 00:20:30 +00:00
hikerstk
50e1698d12 Added new help page to VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 23:51:10 +00:00
scifly
4481540849 BugFix: Completing the fix in the last revision.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 21:56:41 +00:00
scifly
9e13ab015b BugFix: Prevent the music description text being displayed each time the
clock gets to 10 seconds in Follow the Leader mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 21:48:13 +00:00
scifly
f13f9018a6 Added a red line to the energy meter that indicates the required number
of coins needed for the two coin collection challenges.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 17:32:41 +00:00
cosmosninja
032e5b71b7 Commented out & replaced the medium difficulty from the race options menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 08:00:58 +00:00
cosmosninja
cf089ee561 Changed the tux tollway head 2 head challenge text from AI difficulty Driver to Racer, since it actually uses the hard difficulty.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 07:51:32 +00:00
cosmosninja
eb3994ee27 Increased the size of the race menu widgets from 30% to 50% to avoid problems with the translation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 07:45:12 +00:00
cosmosninja
9e5f2907ca Centered the game mode help menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 07:41:57 +00:00
hikerstk
76022a9378 Minor bugfix, in case that no music is available.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 05:45:02 +00:00
cosmosninja
58ceb1c67d Added two files I forgot to add before for SVN to manage.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 05:29:16 +00:00
hikerstk
e295434afb 1) Added new attribute 'designer' to track, which is displayed if no
description is given (this simplified work for translators).
2) Changed the .track files to use designer instead of description
   (if applicable).
3) Updated .pot file
4) Minor clenaup in lisp parser.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-11 05:11:57 +00:00
cosmosninja
89617347fe Fixed music crash bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 23:29:04 +00:00
cosmosninja
228c5fb117 Restored auto-resized widgets in the first menu page
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 23:28:02 +00:00
cosmosninja
873e2296cb Added game mode help screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 21:00:58 +00:00
hikerstk
f1fe915ce5 Fixed several crashes when disabling music.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 15:20:10 +00:00
hikerstk
8f3d663206 Updated file list for VS project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 14:57:19 +00:00
hikerstk
6f55d4de70 1) Enhanced lisp scanner and parser to handle translations, i.e.
strings marked as _("translate me")
2) Added _() for all names and descriptions for the tracks and GPs
3) Improved update_pot.sh to create the entries for all track and
   GP files.
4) Updated supertuxkart.pot to include all GPs and tracks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 14:48:57 +00:00
scifly
ea2beaf2ac Added graduations to the energy meter at every 5 herrings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 13:30:55 +00:00
cosmosninja
02f6cc26a4 Resized widgets to give some extra space; auto resize when layout() is called is now the default.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-10 10:01:16 +00:00
scifly
4deda4e3ee Removed unused all tracks and win GOTM cup challenges.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 07:59:36 +00:00
hikerstk
7ba2e36d89 Fixed crash in follow the leader mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 01:32:45 +00:00
hikerstk
196a1dc1dd Fixed missing translation of kart action strings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 01:11:09 +00:00
hikerstk
a71056e6bf Removed translation of "3" and "4".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:19:43 +00:00
hikerstk
65c6748381 Bugfix: music was not resumed after in-game menu popped up.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:14:55 +00:00
hikerstk
7ac0d8a2a3 Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-09 00:05:55 +00:00
hikerstk
b87e75aa9e Fixed invalid display of 'lock' symbol in track select menu
(which happens at least when setting up a new race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 15:01:12 +00:00
scifly
e6c38b5f29 1. The --list-tracks argument on the command line now lists unlocked tracks only.
2. The --track argument on the command line now checks if the track is unlocked. 
3. Updated URL of STK home page.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 14:32:51 +00:00
hikerstk
4bf28fa566 1) Enabled translations by default.
2) Switched fonts so that the new DomesticMannerLatin1 font is
   used both for menu and race gui. In the menu the new 
   PrintBold function is used to make the font better visible.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:48:55 +00:00