Commit Graph

583 Commits

Author SHA1 Message Date
hikerstk
468507af8b Added debugging features for check structures (use --check-debug), which
prints when a checkline is triggered or activated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-19 12:37:45 +00:00
hikerstk
939caf1981 1) Added -v X verbosity command line option, so that debug output is only printed
if an appropriat ehigh verbosity is selected. For now most debug statements 
   that are always printed (i.e. independent of user actions) is only printed
   if verbosity is >=5,  debug statement which are a reaction of a user action
   with verbosity >=4.
2) track- and gamepad-debug flags are not saved in config files anymore, made
   disabled reverse_look_threshold as default.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 23:52:41 +00:00
hikerstk
d50bd9dbe6 Merged the switch_coordinate_system branch with trunk. This means
that now all coordinate systems are y up, z forwards - including
the file format. For now only one track has been ported, the
rest will follow shortly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:16:11 +00:00
hikerstk
1552693cf4 Bugfix: history mode needed -N to work (solved by --history setting the -N flag automatically).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:14:36 +00:00
hikerstk
d7c44cc93d Physics debug mode now cycles through off, show karts and collision shape,
to show only collission shape and then back to off. The command line
option --bullet-debug was removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 07:03:12 +00:00
auria
616a3b3719 Fixed STK to not stumble upon command-line arguments that the OS X Finder might pass to the process
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 00:40:25 +00:00
hikerstk
f41150eae7 Replaced OpenGL bullet debug view with irrlicht bullet debug view.
Debug view can now be switch on and off during a race (ctl-F11),
but currenlty does not display as much information as the 
original debug view (more to be implemented here).
Removed glut dependency.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-22 12:02:13 +00:00
hikerstk
93e15df841 1) Replaced all .projectile files with one powerup.xml file,
replaced items.item with items.xml. Cleaned up item_manager
   and removed support for different item styles (since it
   didn't work anyway)
2) If a swapper item is used while items are swapped, they will
   now un-swap.
3) Moved all models and textures from data/items to data/models.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-07 02:05:21 +00:00
auria
bf40d0191e Don't abort STK when there's a bogus challenge file (e.g. a LISP file left from 0.6)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 19:01:45 +00:00
hikerstk
d6b91f8fc3 Applied Stephen Just's patch 2926028: search for data directory relative to the executable,
which allows STK to be started/debugged in VS without having to set a working directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 02:02:13 +00:00
auria
7d1c82d73c Fixed a lot of translation crap related to XML, hacky challenge files, no GUI, etc...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 21:57:15 +00:00
mbjornstk
5fe41e5625 Run expand -t4 to convert tabs to spaces. No other whitespace fixes, but
there are still trailing spaces and lines with 5 spaces as indent (fix them
as the files are changed for other reasons). src/guiengine/CGUIFont.* and
src/bullet/ not processed to allow cleaner updates from upstream.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-18 00:36:35 +00:00
auria
cb91674631 Started adding support for multiple keyboard players (does not work at kart selection screen atm)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 15:09:34 +00:00
auria
bc9f8ebf6c Improved assignment of mouse to which player (a few known glitches when game master uses a gamepad, but getting better overall)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 01:04:05 +00:00
auria
1292e2a37f Yay for another mammoth commitsvn rm src/states_screens/options_screen.hpp Major cleanup in screens event handling, so that I can look at my code without being ashamed ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 23:59:05 +00:00
hikerstk
0a84da2726 Applied Hendrik's patch:
Adding command line option --renderer.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-15 04:48:14 +00:00
hikerstk
9e2d3e6418 Bugfix: --screensize/-s option did not work anymore.
Thanks to Hendrik Dark for the patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:56:47 +00:00
auria
b615f71818 Improved error message so next time i get such error i'm not as clueless ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 20:38:54 +00:00
auria
c3f0f7ab82 Massive conversion from std::string to stringw for all strings that need to be translated. Currently, translation is broken (strings i try to transalte appear as junk) -- since irrlicht GUI widgets all use wchar_t, using std::string in UTF-8 just didn't make it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 18:21:59 +00:00
hikerstk
88abe09dd6 1) Added --kartdir directive, allowing loading of
additional karts from other directories.
2) Fixed potential bug (--track might have allowed you to
   run a locked track)
3) --list-tracks and --list-karts can now keep on running
   (before STK would be ended) - but they are slower now
4) Renamed all kartname.irrkart file to kart.xml. I realised too
   late that those files had not been converted to xml yet.
   It will be fixed later.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 06:22:52 +00:00
hikerstk
4ce732574a 1) Added support for new --trackdir command line parameter (which specifies a directory with more
tracks).
2) Challenges are now saved in its own file (not in user config file anymore).
3) The TRACKNAME.{irrtrack,scene,graph,quads} files are now called {track,scene,graph,quads}.xml
   (so not containing the name of the track anymore). Beach and lighthouse tracks have been
   updated.
4) Track exporter uses the new filenames above.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-25 11:58:25 +00:00
hikerstk
96dc2a8fe2 Cleaned up StringUtils: used 'better' names (e.g. getPath()
instead of path()), and used our convention of using capitalization
for words (and not _). Started adding support for additional track
directories, but that's not working yet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 05:56:53 +00:00
cosmosninja
15902af969 Added XML support for the stk_config.data file and challenges; removed the LISP support.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 19:44:31 +00:00
hikerstk
c1d69986b0 1) Profile mode now works, and is now completely implemented
in ProfileWorld only (no more m_profile in UserConfig)
2) Added some more virtual functions to the modes to simply
   code a bit.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 15:42:58 +00:00
hikerstk
63e16e3e8a Removed scene.?pp (which didn't do much anyway except for
handling the cameras, which can as easily be handled by
player karts instead).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 04:03:25 +00:00
auria
600ac7ebf5 Fixed backspace in new player dialog dismissing the dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-16 19:25:15 +00:00
rforder
47cfe64301 More cleanup. Replaced StateManager::addActivePlayer(PlayerProfile *) with StateManager::createActivePlayer(PlayerProfile *, InputDevice *) . This will ensure that in the future no active players will accidentally be added without an associated device and also removes some redundant code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-14 17:36:47 +00:00
rforder
8b3b8e3d28 Fix for no keyboard support when using --no-start-screen switch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-14 17:05:52 +00:00
auria
70f74f7142 fixed crashes with command line arguments
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 17:56:59 +00:00
hikerstk
368604f379 Added speedometer.
NOTE: to use the speedometer, a patched version of irrlicht is needed. The replacement
files are included here, we hope that the necessary functions will be included in the
next irrlicht release (STK will still compile without a patched irrlicht version,
but not display the speedometer).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-27 11:56:09 +00:00
auria
987e230ca0 fixed running with both -N and --kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-21 01:43:24 +00:00
auria
85266dfe10 Started mammoth cleanup of GUI code. Separated the generic GUI engine and the STK-specific bits (still work to do on this side)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 17:48:36 +00:00
auria
2c0a322b61 Started cleaning up references to Player to use ActivePlayer where relevant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 15:21:16 +00:00
hikerstk
9563b78500 1) Added general messages (fastest lap etc) and plunger-in-face
2) Removed unused plib font objects - hooray :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-16 03:24:17 +00:00
auria
2f6b05bace started converting user config to XML. Implementation is not 100% complete yet; saving works, not lodading. Implementation is not the prettiest but designed for minimal maintenance.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-21 01:10:43 +00:00
hikerstk
8130ab34af Bugfix: include of cstring was missing, resulting in strcmp not
defined on some platforms.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-18 02:13:00 +00:00
hikerstk
ee90eca26e 1) Created new config subdir and moved the last remaining files into
appropriate subdirs (only main.cpp and main_loop.?pp are now directly
   in the src directory).
2) Cleaned up all #include directives, so that all files now use
   the right subdirectories.
3) Some minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-11 10:00:43 +00:00
auria
63c6229fbc Fixed passing reolution on the command-line with -s. Improved command-line flags handling to not create a graphical context when none is required (like for --help or --version)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-07 15:20:51 +00:00
hikerstk
96805cfc71 Moved race related files into new subdir 'race'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-03 01:36:48 +00:00
hikerstk
075c9dbb86 Moved more files into appropriate subdirs, update build
system for VS (verified) and autoconf (not verified).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-06-02 12:37:29 +00:00
auria
99e6752200 totally removed SDL dependency. wav sounds have been converted to OGG, since we already have an OGG reader in - why require an additionnal dep like SDL, that does input, graphics, etc. when we only need audio and already have an audio reader in? Original .wav files (lossless) will be added tomedia repository (second part)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3449 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-05-03 00:50:09 +00:00
auria
87a274fc77 started removing SDL from STK. Gamepad input broken, maybe keyboard a bit too. Default bindings changed because some keys on mac are ignored by irrlicht (known bug, fixed in enxt version IIRC)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-25 17:55:39 +00:00
hikerstk
30de5e36f8 Removed callback manager, callbacks are not needed the way they were
with plib, and the track is now updating its animated textures and
physical objects.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 00:55:20 +00:00
auria
b160406dd4 started reconstructing input...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 16:06:48 +00:00
auria
e7905e0811 started input module by splitting sdldrv in more logical parts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 14:55:23 +00:00
auria
73d8aa063e you can now start a game from within the GUI! No matter where you click, it will always start in beach with hard settings, Tux and 1 kart only though
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 18:02:45 +00:00
auria
87a726ff74 The GUI will now react to clicks, so you can navigate it somewhat. Note that the event callback function provided is mainly a test one; it should eventually be replaced with something better organized
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 17:27:05 +00:00
hikerstk
41020d56ac Fixed lighting issues by adding ambient lights, and cleaned up more code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 01:23:23 +00:00
auria
f5ced788ac Game menu now shows up :) Input is not yet handled, so not yet usable. Some dummy placeholder datafiles included for the sake of having something testable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 01:34:21 +00:00
auria
c3f168bd3d fixed input, which wwas broken when introducing GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 22:35:00 +00:00
auria
4acc6fc7c8 first introduction of new GUI code. It does *not* work, consider this a backup (and the removal of the old UI)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 13:50:24 +00:00
hikerstk
8a60edf241 Moved file manager to io subdir, made irrlicht compilation default,
started removing #ifdefs HAVE_IRRLICHT.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 03:49:31 +00:00
hikerstk
62bc9990ca Irrlicht only: Added preliminary support for reading materials.xml files
(though the information is not used atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 00:15:09 +00:00
hikerstk
ec69ff9f3f Applied Frederik Himpe's patch to support -Werror=format-security.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-18 22:56:48 +00:00
hikerstk
3b7bfd5367 Update to irrlicht only, non-irrlicht part should be unchanged.
- Tracks and kart models are now loaded and converted into
  bullet physics. 
- A simple camera is implemented, so a loaded track can be
  displayed (note: the current SVN version does not contain
  a track converted for irrlicht yet)
- Otherwise the irrlicht version is not working, i.e. no
  menus atm, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 05:30:59 +00:00
hikerstk
4d2ace56b3 First irrlicht code added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-04 00:31:40 +00:00
hikerstk
067d3daf79 1) Renamed scene to stk_scene (since scene is a namespace in irrlicht).
Note that with irrlicht the scene objects is most likely going to
   be replaced anyway.
2) Removed more snprintf.
3) Removed unused modes from VS project file, added new mode for irrlicht.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 00:38:28 +00:00
hikerstk
6f34674b4c 1) Moved more files around.
2) Replaced many (though not all yet) snprintf with ostringstream
   (getting rid of the maximum length of messages).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 05:23:22 +00:00
hikerstk
6ce3803165 Moved more files into subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 22:27:13 +00:00
hikerstk
340fc18548 1) Applied Jonan's patch to fix the layout for many files.
2) Moved STK specific extensions to bullet out of
   bullet src tree.
3) Started to move more files into separate subdirs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 12:02:40 +00:00
hikerstk
a24273abfc Fixed some minor memory leaks, added 'FIXME LEAK' comments
in many places which are either more complicated to fix for now,
or will be redesigned with irrlicht (and should therefore go
away anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 04:26:24 +00:00
hikerstk
0b5bee042e Made glut optional (if it's installed it is used and optional
bullet debug via the --bullet-debug command line option can be used, 
otherwise this command line option is not available).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 04:08:41 +00:00
hikerstk
2c0a135d94 Improved shortcut handling:
1) on road/off road is now detected with a certain tolerance
   to the drivelines (currently 15%), i.e. the drivelines are
   made 15% wider.
2) Skipped segments distance was shortened to 50m (since it
   should be used less with the above higher tolerance, and
   it caused problems with shortcut not being detected.
3) The new drivelines with tolerance can be seen with --track-debug=4
   (--track-debug=2 shows the original drivelines)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 00:16:09 +00:00
hikerstk
7787fc21b1 Remember the last selected difficulty, #laps and #karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 09:05:03 +00:00
hikerstk
eae3653470 The first kart to use in profiling can now be set on the command line.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 23:19:50 +00:00
hikerstk
b643cfd599 Bugfix: incorrect track name or GP in a challenge will not cause a crash
when trying to use to do the challenge, instead STK will abort with an
error message indicating the problem at startup (see bug 2316973).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-07 00:54:20 +00:00
hikerstk
0556858147 User configuration now stores the last used input configuration for each
device (i.e. for gamepad one mapping of gamepad axis/buttons to kart
controls). When changing the player conntrol option for 'left', the
last corresponding input configuration is loaded. This allows for example
to switch from keyboard to gamepad and back with one keystroke (in each
case).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-04 23:03:37 +00:00
hikerstk
95054dbd52 Added command line option to activate some gamepad debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 01:49:05 +00:00
hikerstk
9b622e59c7 Fixed --profile behaviour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 05:05:48 +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
hikerstk
05ca336742 Bugfix for replaying history files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 11:18:22 +00:00
hikerstk
e87201b98a Renamed default kart name from tuxkart to tux (necessary
after renaming the models).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-13 22:46:38 +00:00
hikerstk
f7d0e38a87 Fixed segfault when deleting callback manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 00:56:19 +00:00
stevo14
67569c71bc Every object created in InitTuxKart() is now deleted in CleanTuxKart(). This allows (among other things) the sound managers to properly clean up OpenAL (so STK plays nice with other OpenAL apps and doesn't leak memory).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 20:42:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
auria
b59a7f32d8 cleaned up translatable strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 00:09:23 +00:00
scifly
fdf650604d Bugfix: Bug 1944513, Fullscreen mode is now retained across starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 12:19:12 +00:00
hikerstk
3e6a0cf5ab 1) Removed race_setup and race_mode data structures. All this
information is now only managed by the race_manager, no
   more in-between objects to transfer information along.
2) The scores for grand prix are now defined in the stk_config.dat
   file (10, 8, 6, 5, 4, .., 1, 0, 0) points
3) Bugfix: unlock information wasn't saved anymore. Added specific
   saving after unlocking, plus re-inserted the 'generic' save
   at the end of STK again.
4) bugfix/work around: Visual Studio complains about incompatible
   iterators in sdldrv - apparently caused by using erase, and
   then keep on using the iterator.
5) Fixed bug when running a race in a GP again (scores/times
   were added each time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-09 13:52:48 +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
1712d707b9 1) Added unlocking (Grand Prix mode, snowtuxpeak and
jungle track are locked now)
2) Fixed gettext handling for windows, added initial
   (and by now somewhat outdated) German translation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-27 02:38:10 +00:00
hikerstk
29dfd09f7c 1) Improved sound_manager to support separate
sound packages, and using "*.music" information
   files for additional information music. 
2) Removed old/unused plib sound support.
3) Moved all .ogg files to either data/music, or
   to the tracks where they belong.
4) Moved fonts to data/fonts; wav to data/sfx,
   po to data/po, herring to data/herrings,
   models to data/models.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 09:49:17 +00:00
hikerstk
9715f53659 1) Split file_manager into file handling functions (in file_manager),
and loading related (very plib specific) functions in the new
   loader object.
2) Move *.tkkf files into separate subdirs, and renamed them
   to *.kart  files.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-03 03:31:12 +00:00
hikerstk
32d4e3f117 1) Renamed loader to file_manager
2) Moved more track specific textures into corresponding track subdirectories.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-01 03:18:53 +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
864b6abd4e Bugfix, tracks were not found if STK was started in (e.g.) src.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 11:53:43 +00:00
hikerstk
2546c88019 Most (all?) directory handling is now into the loader.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 02:30:28 +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
7d4bfd3d13 Fixed previous patch for detecing of invalid kart names.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 06:57:00 +00:00
hikerstk
c2ad6c856b Fixed crash when an incorrect kart name was specified
on the command line (--kart).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 06:16:06 +00:00
scifly
5050603f9e Added an additional check to ensure a resolution is not blacklisted
twice.
Re-seperated crash detection from kill 'detection' (see next).
Added additional saveConfig() calls to ensure that the correct current 
and previous resolutions are stored in the event of the game being 
killed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-04 14:28:44 +00:00
hikerstk
935e1a8c18 Code cleanup (BULLET #ifdefs).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:36:00 +00:00
scifly
d0fca1b227 Fixed bug where blacklisted resolutions could be selected from the
command line. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-28 22:16:42 +00:00
scifly
25db1ea889 Fixed bug where window/fullscreen button only displayed "windowed"
Fixed bug where failing to confirm a change to fullscreen did not return you to window mode
Fixed bug where selecting blacklisted resolutions was possible
Resolutions removed from the blacklist are now available immediately
Blacklisted resolutions are now displayed but are not selectable
Resolutions can now be removed from the blacklist individually
Crash detection improved: Crashes / kills are now detected until either the race mode GUI is opened or STK is quit


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 22:06:57 +00:00
scifly
f984491d76 Improved commenting in display_config.cpp
Added _() to strings that lacked it in display_config.cpp
Removed redundant member variable from display_config.hpp
Added resolution change confirmation gui
Resolutions that are not confirmed are blacklisted and no longer appear in the res list
Screen resolutions that cause crashes are now detected and blacklisted in user_config
If a resolution blacklist exists, then a button is now available on the display_config GUI to clear it
Improved Apply res button on config_display GUI. Now only selects if a new res has been selected  


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-12 22:33:24 +00:00
cosmosninja
56e24ec8a6 Allow changing fonts through the widget manager, plus *a lot* of code style improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-25 03:23:32 +00:00
cosmosninja
8d27cefdd5 Applied Paul's patch to revert to logging to stdout and stderr instead of a file by default, and changed the .desktop file so it logs to files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 04:23:38 +00:00
thebohemian
44a2338368 - committed input abstraction patch - as seen on list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 14:28:15 +00:00
hikerstk
6e6f06d2a1 1) Applied Paul's patch for redirecting messages to a file.
2) Added command line option to select if messages
   are written to a file or terminal
3) Added some error checking if the log file can't
   be opened (though this is apparently only working for
   stdout, but not for stderr???)
4) Replaced the #ifdef DIR_SEPATAROR with a
   static const in loader.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-22 01:20:57 +00:00
cosmosninja
afca5cf6c6 Removed the widget set and put in it's place a work-in-progress replacement
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-20 02:13:53 +00:00
hikerstk
f16dcff123 Removed need to call drv_init when using --list-karts. This
1) avoids opening of the STK window
2) removes problem with drv_deinit not being called (resulting potentially
   in wrong screen resolutions when STK finishes)
and is faster (based on a patch by Paul Elms).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-12 03:17:52 +00:00
hikerstk
952e4629d8 Removed compiler warning, fixed usage of '-1' as
number of karts (meaning maximum number of karts).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 06:28:19 +00:00
hikerstk
fddfac77d2 Bugfix for 1778264: karts starting off the track (esp.
with about 10 karts in tuxtrack and islandtrack).
The number of karts is additionally now limited
to 10 (see stk_config.data), the only reason for this
is to avoid the same bug report when someone is using
more karts than the number of specified start locations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 03:43:02 +00:00
hikerstk
329696f5a6 Applied patch by 'lutzfischer' (sourceforge patch forum):
- fixed --numkarts/-k command line option (including
  using '-1' meaning 'all karts').
- the default number of karts (used for quickstart) is now
  taken from the user config file, i.e. once you've set  your
  preferred number of karts, you will get this number withouth
  having to specify it all the time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 03:28:11 +00:00
hansthefarmer
04cdc4b5ac Bug-fix for --list-karts and --track.
Added options:
--stk-config FILE
--mode N to set difficulty


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 16:56:31 +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