Commit Graph

1262 Commits

Author SHA1 Message Date
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
dimstar
497454b2e0 Update of the german translations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-22 19:10:29 +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
a4dd0ae696 Added engine sound and sfx configuration file (missing from previous commit).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 04:27:26 +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
auria
96ad4a924c set the ignore property on makefile and makefile.in
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 00:55:06 +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