Commit Graph

716 Commits

Author SHA1 Message Date
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