Commit Graph

31 Commits

Author SHA1 Message Date
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
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
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
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
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
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
auria
8909c02cda better handling of very slow computers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:48:51 +00:00
hikerstk
76429aa5ab 1) Redesigned music_information and sound_manager interaction.
2) The faster music is now only triggered for the last 30 seconds
   of a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:28:07 +00:00
hikerstk
62fe49b54f Fixed compilation problem, removed warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 07:06:44 +00:00
cosmosninja
9e8cfb5767 Changed the behavior of game manager frame limit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 17:34:40 +00:00
cosmosninja
bbb970301c If drawing more than 125 frames per second, process the game every 10 miliseconds (100 frames per second, because that's the minimum amount of time we will be able to get away with); this avoids STK using 100% of the cpu without reason; won't really make a difference when the game is slow.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-04 00:08:49 +00:00
thebohemian
122b22a77e - make sdl driver a class
- fix all uses of the new class
 - fixed a few spelling mistakes
 - config is now saved upon leaving options menu (not when the game is ended)



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-30 15:18:19 +00:00
hikerstk
4200f316de Added support for 2 music 'styles' in one .music file: the normal
music, and a special 'faster' music which will be played during the
last track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1657 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-17 05:18:26 +00:00
hikerstk
ce57025781 First part of directory restructuring: all track specific files are
now in their own subdirectory (including models, textures).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-29 03:26:07 +00:00
hikerstk
f7ab0ed91f Improved profiling: specifying a negative number (--profile=-2)
indicates the number of laps to measure, at the end a summary is
printed.
No collectables/attachments are done (can easily be activated again),
to allow focusing on AI drive performance.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:58:12 +00:00
hikerstk
1f3055a443 Bugfix: the camera would tilt too much if the loading time of a track
is long. Removed some debug output.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 01:18:51 +00:00
hikerstk
7550f687da Bugfix/code cleanup: the loading time was counted as countdown time
in certain circumstances (e.g. when setting up a new race from the race menu).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 01:02:02 +00:00
scifly
554c9cd41b Bugfix: Returning to the menus from a race does not return the theme
music.  


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 09:27:38 +00:00
hikerstk
1a5b7bd7e7 Applied (a slightly modified) version of Paul's menu music
patch and added a main theme music.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 04:35:39 +00:00
hikerstk
8bc9fd0286 1) Added a better estimation of finishing time for karts that
didn't finish, based on the up-to-now average speed.
2) Changed the race result display to display all results 
   (and not to ignore the last entry).
3) The race will not finish if the last kart racing
   and not arriving in time is a player kart.
4) Made world->m_clock private and added getter function.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-08 04:43:35 +00:00
cosmosninja
41f47cacba Fix bug #1778257, 'Track loading counts for the race start counter in the trunk'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-16 17:03:03 +00:00
cosmosninja
af042fff54 Minor cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-16 17:02:08 +00:00
hikerstk
b5c7b8233b Bullet only:
1) Added bullet collision handling, e.g. rocket hits are now
   detected by bullet code, bombs will be passed on etc.
2) Rockets are now handled by bullet as well.
3) Moved expected location of bullet from STK/bullet to
   STK/src/bullet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-03 13:13:26 +00:00
hikerstk
b26d4f6db8 Enable display of pictures without having them to
add to materials.dat (fixes bug 1781997).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-27 13:11:06 +00:00
hikerstk
96509dd941 Applied Maik's patches (bugfixes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-24 03:42:59 +00:00
hiker
803db6bfb6 Fixed camera handling (pitch) on steep declines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-14 22:34:15 +00:00
coz
2ef1d70096 Removed a widget set dependency and a few includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-10 17:42:18 +00:00
coz
fd053ced67 Moved the pause code from being dependant on the widgetSet to being dependant from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-10 01:13:39 +00:00
grumbel
7a6d165641 - moved trunk/ to trunk/supertuxkart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-05-27 16:01:53 +00:00