hikerstk
66859e11e9
1) Very first version of improved AI: it does use skidding,
...
and braking behaviour is improved.
2) The track angle was switched from degrees to rad.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:29:02 +00:00
auria
a97879e279
removed debug code that should not have been comitted
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-04 00:08:40 +00:00
auria
db6df068dd
added strike sound when a bowling ball hits a kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:28:32 +00:00
hikerstk
6e72015c53
Minor cosmetic changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 03:58:58 +00:00
auria
53ccf88532
fixed restarting FTL
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-27 21:36:11 +00:00
auria
f877e02358
fixed crash when displaying FTL results
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-27 21:20:52 +00:00
auria
2803c01eb9
fixed follow the leader, which was broken by an eaRLIER COMMIT
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-25 23:38:07 +00:00
hikerstk
c14ca10f81
1) Bubble gums do not disappear when hit, instead they are disabled
...
for 0.5 seconds (enough time for the kart that hit it to drive
away). This also fixes the bug that re-appearing bubble gums
were not properly pitch/roll aligned anymore.
2) Bugfix: If a bubble gum was used in a race, a crash happened
when exiting STK (during cleanup).
3) Bugfix: When restarting a race, bubble gums from the old race
are now removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-11 22:21:25 +00:00
auria
eacfa131f8
removed some debug output
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 20:02:42 +00:00
auria
bb56beb7f9
allow modes to disallow some types of powerups, for instance no anvil should be collected in battle mode...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 02:52:29 +00:00
auria
576d1c3265
fixed bonus boxes appearing in time trial mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 02:07:54 +00:00
hikerstk
ab506f462a
Moved kart-related files into separate subdirectory.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 04:34:01 +00:00
hikerstk
c553ec77ee
1) Separated the wheel from the kart models. This is necessary
...
for irrlicht, simplifies the handling of the karts.
2) Current suspension is now used to display the wheels of karts.
This currently only works for tuxkart, all other models still
need to be modified (and these models will not display any
steering atm).
3) Refactored kart model handling: all plib specific kart model
handling is now encapsulated in karts/kart_model.?pp
4) Moved some files into new subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 01:05:52 +00:00
auria
c595c74f7a
renamed 'collectible' to 'powerup'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 02:02:56 +00:00
auria
c834005143
removed most 'herring' names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-29 15:55:54 +00:00
auria
42e0af65b7
started renaming herring to item
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-29 01:45:29 +00:00
auria
39bdf4f0b0
moved all item-related files into a new /items repository
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-28 01:46:35 +00:00
hikerstk
ba7adb18d7
Removed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-27 02:47:49 +00:00
auria
91ada8f8e6
properly order karts at the end of a battle
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-25 01:47:21 +00:00
hikerstk
8f350c1ca1
Minor bugfix in case of non existing highscores, removed warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 13:49:56 +00:00
hikerstk
f2f09deff8
Removed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 04:39:52 +00:00
hikerstk
03bc64d2e9
Bugfix for non-macs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 04:39:27 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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