Commit Graph

14890 Commits

Author SHA1 Message Date
hikerstk
3612996109 Bugfix: part of the 'high above kart pointing downward' camera mode was still being
used (in split screen multiplayer), resulting in the camera showing only the road.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 23:38:31 +00:00
hikerstk
bae0f9efdc Bugfix: skid marks were not displayed when the beginning of the skid
marks was not visible anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 10:00:11 +00:00
hikerstk
f15964bb92 Enabled skidmarks again, and made them work with bullet physics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 09:57:50 +00:00
hikerstk
68dae90d15 Added first beta version of 'follow the leader' mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-15 13:57:18 +00:00
hikerstk
0867675fb9 Removed deleted race_setup.hpp from Makefile.am.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-10 00:38:42 +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
cosmosninja
b3edac2171 Readded text in fullscreen button.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-06 02:34:59 +00:00
thebohemian
f9a1798bc5 - added best-effort algorithm to detect a formerly used joystick
- added stick config entities to configuration which includes a deadzone value
 - added methods to read and save this new entities
 - make StickInfo a part of the SDLDriver class
 - some spelling fixes
 - save config when leaving options menu through escape key (GA_LEAVE)



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-31 23:15:33 +00:00
hikerstk
59e5960df4 Fixed compilation problems (on Visual Studio).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-31 11:55:41 +00:00
cosmosninja
1ebcbf4b7c Widgets can now use borders + 2 memory leaks fixed found with valgrind within the Widget Manager's selection.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-31 01:02:20 +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
b1faf872b3 1) Bugfix: solved challenges were not causing the corresponding
features to be unlocked when reading the configuration.
2) Some minor code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-27 11:51:01 +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
f0bd9754ba Fixed incorrect print of std::string.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-26 00:36:47 +00:00
cosmosninja
9314a900ca Applied Charlie Head's widget manager selection memory leak bugfix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-25 04:30:10 +00:00
scifly
e0df542884 1.Bugfix: Quitting the confirm resolution menu after changing to
fullscreen, now returns to window mode and does not blacklist the 
resolution as happened previously.
2.Bugfix: Fullscreen button is now no longer available for blacklisted 
resolutions when first entering the Display config menu.
3.Bugfix: When changing from a blacklisted resolution to a 
non-blacklisted resolution in window mode, the fullscreen button is now 
shown.   


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-20 16:39:11 +00:00
cosmosninja
d17cb88850 Fixes 'not being able to select the quit button' bug in the race menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-20 14:32:20 +00:00
hikerstk
39e56e7534 Bugfix in case no fast music is specified.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-20 03:00:28 +00:00
hikerstk
ef4de3a790 Added sound effect when a player_kart is overtaken.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-18 01:41:06 +00:00
scifly
cfaa30012a Bugfix: Added a conditional statement to update(dt), to prevent it
accessing a Null pointer.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1658 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-17 14:08:53 +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
cosmosninja
8417315678 Joerg's fix for the material's memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-17 04:43:01 +00:00
hikerstk
6e336a379e Bugfixes for linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 10:49:23 +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
cosmosninja
ed98654aa7 Moved wav directory to sfx
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1651 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 06:55:10 +00:00
cosmosninja
2081a2b687 Moved the ./po directory to ./data/po
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 06:38:01 +00:00
hikerstk
195c83e4c8 1) Fixed crash on linux when saving history.
2) Added getDifficulty to race_setup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-09 04:57:07 +00:00
hikerstk
fac59355c0 1) Cleanup of unused data in stk_config/kart_properties
2) Removed 'magic' constant 0.0044 from steering
   computation; replaced by DEGREE_TO_RAD, which means
   that steering values in stk_config.data and .kart files 
   have to be divided by about 3.9
3) Added early cancellation of parachute when a slow down
   of 30% is reached (defined in stk_config.data). This allows
   karts to brake and get rid of the parachute earlier.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-06 13:32:51 +00:00
hikerstk
6324285de8 1) Zipper now get an immediate speed boost when they are activated (instead
of only a higher acceleration).
2) Code cleanup (removed unused functions and config parameters).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-05 13:22:00 +00:00
hikerstk
6c5efc2bc2 Moved all kart specific files into separate subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-05 02:09:50 +00:00
hikerstk
6909eeee8b Bugfix: sometimes karts jumping down the ramp in tuxtollway would
incorrectly be rescued. This fix avoids the problem (the raycast for
terrain detection actually starts under the track) by letting the ray
start a certain epsilon higher.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-04 03:37:42 +00:00
hikerstk
834ca925ba Fixed 'rescue to incorrect sector' bug (karts were rescued to the sector on
which the shortcut was detected, and not to the last valid sector).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-03 11:51:01 +00:00
hikerstk
859ec6fcaa Added loader.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1620 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-03 03:48:04 +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
0f05001944 Applied Coz's bugfix for crashes on windows/macs when
the resolution is changed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:53:44 +00:00
hikerstk
5b32e58b83 Fixed incorrect rescue (which happens typically when jumping
down in tux tollway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:43:23 +00:00
hikerstk
31e0b93243 Fixed compilations problems with Visual Studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 12:40:50 +00:00
cosmosninja
3183b6bb3e Added file that was missing to src/Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-02 02:29:12 +00:00
cosmosninja
573694016c Improved the pointer's(mouse) widget selection method, so that instead of using a bounding box to know if the pointer is on top of a widget, it draws the widget's rect into OpenGL'sselection buffer; this way, the widgets can be selected with precision regardless of the rotation or if it has rounded corners or not.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-01 21:13:57 +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
cosmosninja
c201b12dd9 Reverted back alut file loading code to the deprecated code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-29 23:35:25 +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
9f6f5f6209 Renamed variable, since "ERROR" is apparantly reserved/used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 04:37:18 +00:00
cosmosninja
429d63e0bb Changed some text for the configure script to reflect that ogg/vorbis is needed for music, and hopefully uses the right alut function depending on the version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 04:22:58 +00:00
auria
1b13ae6346 Improved ALUT error checking when a sound fails to load
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-28 00:26:38 +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
ef4dd43104 Moved all *.track, *.drv{l,r}, *.loc files into the new location
at data/tracks/TRACKNAME.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 01:11:02 +00:00
hikerstk
0b4bf8631c Bugfix: out of bounds access could happen when only a few
tracks were available.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-27 01:06:50 +00:00
thebohemian
b1160ae5b3 - make continue/start widget the default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 19:21:00 +00:00
hikerstk
8e108ff600 Bugifxes for new loader (when STK was not started in root
directorym files were not found).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 12:15:51 +00:00
hikerstk
23076d39e8 Added missing files from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 11:59:44 +00:00
hikerstk
fbeee35bc2 Added menu to select the number of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-26 11:54:26 +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
8d2779495b (See r1587 on 0.4rc1):
1) empty robot templates have been moved from
   'tools' to src/robots (documentation was updated),
   and are now included in source distributions
   Removed tools directory which is now empty.
2) Include documentation in source distributions
   (but only player_manual will be installed)
3) Added missing bullet documentation files
   and removed unnecessary cmake files. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-25 02:22:04 +00:00
auria
fa549f3e98 Added dynamic data path detection for mac OS X
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-25 00:51:08 +00:00
hikerstk
cf3303367f Fixed 'no music/sfx in VS when using optimisation' bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 23:02:56 +00:00
cosmosninja
b0338915c0 Removed deprecated alutLoadWAVFile() function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 05:53:18 +00:00
hikerstk
881e2cd6a9 Bugfix (loader called twice, causing textures not to be found if
STK was started from the src directory).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-24 03:32:14 +00:00
hikerstk
91bdd03061 Added missing VS project files to installation (see r1569 on 0.4rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-23 11:33:26 +00:00
hikerstk
9a92ab6822 More improvements to loader: all textures are now loaded
via loader functions (and not via a hardcoded path). Replaced
a lot of char* handling with std::string (though that's still work 
in progress).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-23 08:21:30 +00:00
hikerstk
d68cfc3330 Added missing initalisation, fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 13:08:21 +00:00
hikerstk
7380668ade Fixed incorrect delete.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 13:06:50 +00:00
hikerstk
c34f0aa55a Properly removed 'too-far-away-from-track' - shortcut detection.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 03:40:40 +00:00
hikerstk
7501c01cf3 Re-enabled setting a link in the start menu (need NSIS shell link
extension), and improved installer to install visual studio and
openal redistributable packages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 03:33:47 +00:00
hikerstk
3afc670529 Added windows prerequisites: openal redistributable, and
vc++ redistributable. This is necessary to run STK on
machines where no openal and/nor no VC is installed
(including the .dll files is not enough).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:51:00 +00:00
hikerstk
b8a8564416 Added icon files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:47:06 +00:00
hikerstk
8ee7eb19fc Added windows installer (r1554 on 0.4rc1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-21 00:43:13 +00:00
hikerstk
10368e5a5b Bugfixes to get 'make dist' to work:
1) file names longer than 99 characters require [tar-ustar]
   option in AM_INIT_AUTOMAKE
2) Added some missing bullet files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-19 03:06:57 +00:00
hikerstk
533e313a87 Adjusted the layout to allow the author text to use
two lines, which was needed for sandtrack and lighthouse.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1520 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-19 00:09:03 +00:00
hikerstk
d6ca127ae4 Fixed crash/abort in STK when the .readme file for a song wasn't found.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 10:13:25 +00:00
cosmosninja
2d0f761ffe Fixes getting input during menu switching.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 04:27:49 +00:00
hikerstk
930a1ef2b5 Added AI tweaks (adjusting curve speed and angle
depending on track). Details in wiki.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 04:16:57 +00:00
hikerstk
720d31edc5 Removed visual studio compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1512 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:28:33 +00:00
hikerstk
1efbf46e8f Cosmetic change: replaced tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:25:54 +00:00
hikerstk
bea8439052 Enabled up to three internal substeps for the physics, which means
that we could work with framerates as low as 20 FPS without
getting noticeable changes in the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:03:06 +00:00
hikerstk
39be9a9f67 Bugfix, the gravity was not read correctly from .track files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 22:35:17 +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
7b51fc9d6e Removed warning for g++ compilations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:47:26 +00:00
hikerstk
4708d07c4d Work around the physics problems for wilber and hexley kart
by changing the size of the physical model to be the same
as the tuxkart.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:29:14 +00:00
cosmosninja
10f0a74203 Fixed bug with a wrong return in config display.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1504 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 05:24:52 +00:00
hikerstk
8c4d1fd784 Removed some compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1503 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 05:19:33 +00:00
hikerstk
e1d544251e Used previous bug fix again, since the optimised triangle meshes
still cause an incorrect rescue (in bsod castle).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1501 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 04:37:43 +00:00
cosmosninja
57af89dae6 Improved resolution switching.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1500 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-16 03:53:39 +00:00
hikerstk
751ed6d748 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 08:03:46 +00:00
hikerstk
35514f15f8 Update to bullet 2.67 beta1 (which fixed the problem of karts falling through the
track with optimised triangle meshes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 03:53:41 +00:00
hikerstk
35af794f33 Bugfix - plib support would not compile anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 03:51:31 +00:00
cosmosninja
88da3d1da4 Added wilber kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 01:58:51 +00:00
hikerstk
73aad215d0 Minor code cleanup (removed unused function).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 07:41:18 +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
hikerstk
90972ce605 Bugfix: data path was not used to find the music readme files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 04:52:29 +00:00
hikerstk
796050e037 Fix: start displaying timer, map etc when GO is being displayed, and
not when the GO disappears.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-14 02:24:54 +00:00
hikerstk
beb8c742db Added missing initialising (which can cause AI karts to
be rescued at the beginning of a race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 11:15:49 +00:00
cosmosninja
da8870162e Fixed a comment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:59:29 +00:00
cosmosninja
9dfd898e31 Changed the minimum height requirements for sector detection from -3.5 to -2.0
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:57:53 +00:00
hikerstk
4562dec6b6 1) Increased number of physic simulation steps before the race is started to
make sure that all karts are firmly on the ground.
2) Avoid changing the pitch of the camera during race startup. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:42:18 +00:00
hikerstk
0bf192c068 Bugfix: start phase was not correctly determined, resulting in penalty if a
key is pressed while 'go' is still on the screen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-13 03:40:31 +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
646e98684a Improved my (paul) last patch to allow immediate dis/en-able music from
in race sound option menu.
Removed spaces from ogg file names in those *.track files that required 
it.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1473 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 13:50:08 +00:00
hikerstk
981f5bb424 Missing part from Paul's patch - dis/en-able music
when music is switched off/on in sound option menu.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 12:37:47 +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
3a3545c058 Removed source files for playing mod music from the source tree and
windows project.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1462 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 03:42:55 +00:00
hikerstk
f03fee4c9e Music description is now displayed as
"title"
  by Name


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:16:59 +00:00
hikerstk
1d11a1fac9 Bugfix: when a restart is triggered while a kart
is being rescued, this kart could not be driven
anymore (till it was rescued again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:10:05 +00:00
hikerstk
0f6d732e68 Bugfix: moving physical objects would keep their speed when
a restart is done - so they would be placed at their start
position, but still rotating/moving.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:08:48 +00:00
hikerstk
b9bfb128e4 Fix crash when running a GP with a track with moving physical objects
in it at the end (e.g. tux tollway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:07:00 +00:00
hikerstk
fcaec31da6 Fix incorrect camera tilting when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-12 00:01:27 +00:00
hikerstk
dc64a2269e Automatically enable the brakes for all karts during start,
so that they don't slide downhill during countdown.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1456 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-11 02:20:51 +00:00
hikerstk
3ac760d4e0 1) Added warning message to configure when ogg files can't be played.
2) Removed more mikmod #ifdefs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-11 00:46:37 +00:00
hikerstk
85490b5f8e Added a very simple display to show information about
the music currently being played (first two lines from
the *readme files, should be title of music and
composer/musician).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-10 23:17:25 +00:00
scifly
b507825bec Changed the overall GP time variable to a double from a float
Added the overall GP time to the GP end screen 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-10 22:04:45 +00:00
scifly
15adc2f2d4 Removed one of the kart sorts that occurred after a grand prix ended.
If karts tie on points at the end of a grand prix, they are now 
evaluated on overall race time too. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-09 20:23:14 +00:00
hikerstk
c23ac39b05 1) Some bugfixes to the linux compile environment
2) Fixed the 'waiting for AI karts' time back to the original value.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-08 08:16:35 +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
hikerstk
34580af755 Avoid the 'machine gun like' sound effect caused by
repeatedly playing the crash sound - which is caused by
1) collisions reported more than once (since it takes
   a few frames till a collision is resolved)
2) collision between karts and tracks when accelerating,
   which is most likely caused by the chassis hitting
   the ground (that might be fixed by better physics
   parameters).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-07 10:10:27 +00:00
hikerstk
a3094590d6 1) Improved handling of 'moving' or 'physical' objects (e.g. road cone).
You can now shoot them, and they will be pushed aside by a close-by
   explosions.
2) Bugfix: Physical objects are now reset to the correct starting location.
3) Physical objects have now angular friction defined, preventing them from
   rotating endlessly.
4) Karts have now some 'restitution', which adds a bit of bouncing to collisions.




git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 11:56:21 +00:00
cosmosninja
5767b4f616 Reverted the changes to the widget manager from the last commit (somehow hit enter before finishing to write the whole command and it sent all the files, Ctrl-C didn't helped, sorry).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 03:11:13 +00:00
cosmosninja
f93b8b07e6 Raised the limit of the check for the sectors to
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 03:07:48 +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
d8864f3f71 Removed VS compiler warnings (missing type cast).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-04 12:31:21 +00:00
cosmosninja
fa90139fc8 The pulse effect is now done using the center of teh widget as the center for the scale transformation, and removed a minor warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 22:29:07 +00:00
hikerstk
56db981ece Fixed crash when using 'moving_physics' object.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 12:21:20 +00:00
cosmosninja
768c16ed38 Replaced the previous method of clipping the text outside of the bounds of a widget using the scissor test, and changed it for an stencil test, since the stencil test doesn't needs to be rectangular, thus, it doesn't shows text outside of the rounded borders or while rotating.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 08:34:41 +00:00
cosmosninja
7d2e056752 Removed a warning and fixed a bug with text scrolling introduced in the previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 05:59:40 +00:00
cosmosninja
d20a7a229b Added rotation to widgets, but it's incomplete; text doesn't shows outside of the 'normal' box, and selection does the same.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-02 07:28:37 +00:00
hikerstk
e49a415671 Try to making the homing missiles turn more smoothly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1434 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:34:50 +00:00
hikerstk
f59f487d8a Fixed bug 1879386 (homing missiles don't explode on track,
the rest was already fixed before).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 13:27:11 +00:00
hikerstk
e134102fb7 1) Removed unsupported solutions (e.g. non-bullet version)
2) Added (missing) translation.cpp to project file
3) Removed -DBULLET (since it's not necessary anymore)
4) Removed bullet profiling.
5) Added GETTEXT_PATH environment variable in prepration for translations


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 12:24:28 +00:00
hikerstk
5883db13e5 Removed bullet profiling (and debugging, though the MS compiler will always define
_DEBUG causing bullet to enable debug mode again).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-01 12:16:35 +00:00
hikerstk
257508179f Used the new btRigidBody constructor, since the old constructor
is not as flexible and will be deprecated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-31 12:40:22 +00:00
cosmosninja
de6b4a3ae0 Fixed flickering on the grand prix ending at highh resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 23:47:56 +00:00
cosmosninja
dd2a02fecb Fixed the track selection menu so that it doesn't uses a hardcoded number of tracks only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 17:55:41 +00:00
hikerstk
8a65b4167a Removed old and unused 'improved physics' option.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 09:55:39 +00:00
hikerstk
c3d3f3ab19 Improved handling of bullet user pointers, which should fix the problem
of rockets not exploding when hitting the track anymore. But there is
still a bug with homing missiles, which still don't explode :(


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 05:30:10 +00:00
hikerstk
b75c9ec869 More minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:55:11 +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
hikerstk
818ab3d164 Removed some VS C++ compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 04:01:55 +00:00
hikerstk
67bf7ddabd Moved implementation of translation class into .cpp file
to make less recompile necessary when changing the implementation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 02:24:51 +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
hikerstk
4ee837b6da Fixed wheel rotation, which would not rotate properly when
driving close to a parallel to the X axis (and the rotation
wasn't computed correctly in any case).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-25 01:29:12 +00:00
hikerstk
d5b0230d5b Temporary work around for 'karts being rescued incorrectly' when using
quantization. This might make the game slower.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-23 23:24:18 +00:00
scifly
b182a4ff27 Fixed bug 1804393 "kart model for incorrectly shares transformations"
This patch removes previously selected karts from the GUI so they cannot 
be selected more than once. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-23 19:47:32 +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
hikerstk
5222a88ee2 Bugfix for keyboard configuration that's not read in properly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-21 04:07:05 +00:00
cosmosninja
22c1d82e67 Made the warning message widget non-selectable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-19 21:55:17 +00:00
hikerstk
c3dce60b17 Increased version number for config file. When older config files are loaded
key bindings are ignored, and a warning is displayed the first time the main
menu is displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-17 00:09:23 +00:00
hikerstk
601af042f6 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-17 00:04:29 +00:00
scifly
d022ad8a8e Changed time in which to confirm new resolution from 10 seconds to 5
No longer need to confirm resolution changes in windowed mode


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 21:42:16 +00:00
hikerstk
5d37a78a7b Removed windows warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 05:02:33 +00:00
cosmosninja
9122cd52df Use OpenGL to translate the widgets to their position instead of having STK's code to do it, so in the future we can apply rotation and scaling through OpenGL around the widget's center easily; as a side effect, this simplified some of the widget's code greatly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:47:29 +00:00
cosmosninja
53e57bbd10 Changed the value of CENTER_OF_SCREEN to be lower than the smallest possible scrolling value.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:40:38 +00:00
cosmosninja
93c766796f Lowered the default scrolling speed of the credits screen 20%, since I thought it was too fast.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:38:10 +00:00
cosmosninja
0babed2c7e Improved input handling of the scrolling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 03:36:22 +00:00
cosmosninja
3de6b1e87c Removed outdated fix-me note.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 02:05:51 +00:00
hikerstk
4c4eee4c4d Fixed automatic rescue:
1) called when any kart is not upside down and slowed down
2) called for AI when it's not making progress (the old
   method of using m_collided did not work in at least one
   case I have seen).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-16 00:09:05 +00:00
hikerstk
bf4ee7a970 1) Bugfix: rescuing kart (at least) in the startrack would
trigger a rescue loop: rescue, drop, rescue, drop, ...
2) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-15 11:38:54 +00:00
hikerstk
9202ccf00f Updated project to include new files for confirming a changed resolution.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-15 09:31:23 +00:00
hikerstk
4d38013a5a 1) Removed warning about order of initialisation in moving_physics.
2) Compatibility fixes (e.g. VC6.0): remove initialization of static member 
   variables inside the class declaration.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 23:51:09 +00:00
cosmosninja
2c42105449 Fixed wobbling of the text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 02:16:21 +00:00
cosmosninja
3bbb4d1749 Commented out the widget manager changes to the race gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-13 01:26:30 +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
hikerstk
57df099065 1) Improved handling of rockets
2) Enabled timing display again
3) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-11 13:48:09 +00:00
hikerstk
7e844312c7 Bugfix: wrong order of parameters for memset.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-11 02:01:41 +00:00
hikerstk
bd3ab7926f 1) Fixed 'moving physics', i.e. objects on the track that
can be pushed around by karts (currently only used in
   tux tollway).
2) Removed support for magnet.
3) Some code cleanup for missiles etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 12:09:55 +00:00
hikerstk
d27bac1a38 Accidentally committed wrong version of sound_manager (without error
checking), this reverts back to include all error checks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 03:24:25 +00:00
cosmosninja
298a81da04 Moved the variable m_time_since_stuck from the kart.hpp/kart.cpp files to the default robot. Since there is other code to catch the same situation, the code dealing with the m_time_since_stuck variable is disabled for now as a test.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-09 02:20:58 +00:00
cosmosninja
49dc3abc5b Bugfix: scrolling wasn't using the delta time.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-08 03:40:36 +00:00
hikerstk
c56020e0bf Applied Dominique's patch to compile STK with gcc 4.3.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-08 02:23:33 +00:00
hikerstk
8c453e472e 1) Updated to bullet 2.66, which (among others)
- fixes the bug of resetting the forces after each internal simulation step,
     causing slower physics behaviour on slower FPS.
   - improves raycast performance
2) Added script to copy all necessary source files from a full bullet installation
   into STK.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-07 03:07:05 +00:00
hikerstk
e0a96abe15 Removed traffic jam noise (played when a certain number of
collisions happend in a short time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-07 00:53:22 +00:00
hikerstk
a5e2ef24d5 1) Fixed zipper (settings for further tuning in stk_config.data).
2) Fixed bug in collision detection (a kart-kart crash could cause
   a sigsegv).
3) Fixed bug in track loader, which caused somer track objects (e.g.
   zipper in bsod castle) not to get the correct pitch/roll, causing
   them to 'stick out')
4) Fixed wheelie handling for AI (though wheelies are still disabled
   by default, change wheelie-max-speed-ratio to 0.5 to test).
5) Some cleanup of non-bullet code.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-01 14:30:39 +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
aa8fe0c5b3 The track map can now be drawn through the widget set (thought it's not encapsulated properly yet), it's implemented in the track selection screen, a fix that calculates properly the bounding box of the track maps(before it calculated the bounding box of the center line), plus a few style changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-22 20:10:48 +00:00
cosmosninja
03df76398f Removed an unneeded forward declaration.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-22 00:31:48 +00:00
cosmosninja
6863de9f42 Small code cleaning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-21 00:31:44 +00:00
hikerstk
6daa2ef2d0 1) Removed more windows warnings.
2) Cleanup of old unused, and non-bullet code
3) Fixed wheelies, though they are currently still
   disabled in the stk_config.data file since the
   AI crashes with the new wheelie implementation.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-20 04:37:35 +00:00
cosmosninja
1b95764c6a Various small GUI improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-19 15:10:30 +00:00
cosmosninja
0dd71cebe5 Small style change.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-19 01:09:10 +00:00
hikerstk
1ba22f42f1 1) Enables triangle dependent friction setting, and therefore skidding
(currently only for sand).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-17 13:42:19 +00:00
hikerstk
0f0ae96039 1) Fixed automatic rescue mode when kart is on reset terrain.
2) More non-bullet code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-17 13:16:09 +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
cosmosninja
626474e079 Finished cleanups and restyled the widget manager so it would follow the code style guidelines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-15 23:21:47 +00:00
cosmosninja
143403c3ad Fixed bug which prevented the just commited improvement to work :p
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 22:03:37 +00:00
cosmosninja
0841db3b6b Improved argument-less layout() widget function and improved the style a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 22:01:10 +00:00
cosmosninja
908fa88d85 Fix a bug which potentially could cause a crash if the layout() func is ever called without widgets, and the text positions are now recalculated after calling the argument-less layout() func.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 04:20:48 +00:00
cosmosninja
e07116d262 The menu manager can now switch menus even if the amount of menus don't change (i.e. the amount of menus popped is the same as the ones pushed), plus the usual minor style changes and fixing a small bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 03:46:05 +00:00
cosmosninja
0037afa8ea Removed a function that is now useless, and made some minor style changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-14 02:36:32 +00:00
scifly
28409f5842 Fixed bug in help page 2 - go back to main menu not working
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 14:26:28 +00:00
hikerstk
9a211a0a04 1) Added new files to Visual Studio project files
2) Removed some visual studio compiler warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 02:21:09 +00:00
cosmosninja
55233a592b Improved scrolling, thought the changes are not visible to the user.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-13 00:18:29 +00:00
scifly
1baec9cb8c Corrects first lap timing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 22:35:27 +00:00
cosmosninja
38a4c359b2 Fixed help widgets not being highlighted after switching pages by separating the pages(which also makes things cleaner), plus the removal of a bunch of commented out code that won't be useful in the future from the files in the src/gui/ directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 21:30:30 +00:00
cosmosninja
d3e0019d61 Grand Prix selection screen's description is centered again, plus minor cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 14:26:55 +00:00
hikerstk
d0c1aa9e8c 1) Fixed 'rescue bug', i.e. karts have now a proper
heading after being rescued
2) Partly fixed 'automatic rescue' bug: karts get
   rescued when touching a reset material (though it
   currently can take a bit before it happens).
3) Restructured code: track loading and converting
   is now done in the track object.
4) Fixed several warnings for windows.
   


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 14:07:26 +00:00
hikerstk
ea3a993403 1) Fixed location of laps display (lower left corner, i.e. "1/3 laps"),
which wasn't fully visible anymore
2) Removed several warning for Visual Studio compiler.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 13:34:35 +00:00
cosmosninja
403861f83e Various minor style changes and cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 05:16:50 +00:00
cosmosninja
9218c15a18 Fixed joystick/keyboard GUI handling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-12 03:54:29 +00:00
hikerstk
b3ab2d474d Fixed several compiler warnings for Visual Studio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 02:48:10 +00:00
cosmosninja
a71c09f62f Fixed two bugs introduced in the last two commits, one disabled sound, and another wouldn't let plib-based sound compile; also introduced minor style improvements.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 01:28:10 +00:00
cosmosninja
4ed413d5d5 Fix all the remaining 'tried to lighten unnamed widget' warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-11 01:24:15 +00:00
hikerstk
285d98fee7 Fixed bug in r1333 (disable F4 for bullet debug).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 11:27:21 +00:00
cosmosninja
9a865b8e39 Restored highscores display
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 02:54:09 +00:00
cosmosninja
8a235d6b1a Removed the warning about using a widget column with just one element since sometimes it's necessary.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 02:40:20 +00:00
hikerstk
303e80df47 Added DEBUG define (which enables certain cheats) for windows debug compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 01:41:58 +00:00
hikerstk
d79777f1a2 1) Added DEBUG define which enables some cheats, which are not
to be used in a release. Currently DEBUG enables the F1/2/3
   cheats to give a player sparks, missiles, homing missiles, and
   enables the player to call for a rescue while not touching
   the ground.
2) Added many casts from size_t to int (and similar), to remove
   warnings when compiling with windows.
3) Disabled F4 'bullet debug' shortcut, since it doesn't work
   and it's not too useful anyway. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 01:39:30 +00:00
cosmosninja
18b70c9dd1 Remove a widget manager warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-10 00:24:10 +00:00
cosmosninja
a28879b077 Fixes that characters previously selected wouldn't be selected the next time you go into the character selection menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 23:49:56 +00:00
cosmosninja
748dc0841f Prevent a gcc warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 23:46:52 +00:00
cosmosninja
f8fe9124d9 Minor improvements to the character selection screen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 22:43:07 +00:00
cosmosninja
6bd0861ad4 Fixed widget scrolling and removed font aligment option.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 17:58:51 +00:00
hikerstk
7e68fd5ddf Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-09 07:14:53 +00:00
hikerstk
eaac399a09 Added missing files from previous patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-08 13:22:05 +00:00
hikerstk
7ed846ca3e 1) Improved rockets and sparks for bullet physics
Parameters for rockets etc. can for now be
   set in data/*.projectile
2) Fixed bugs causing rockets not to explode (and
   potentialy start rotating)
3) Added (somewhat temporarily) some cheats to get
   rockets, homing missiles and sparks as F1/2/3
4) Fixed several memory leaks.
5) Fixed (very rare) occurring crash when deleting
   phsyics.
6) Started to remove non-bullet physics code
7) Bullet physics is now the default, and it
   can not be disabled anymore!!
Important note: 
From this revision on, non-bullet physics is NOT
supported anymore, and will (most likely) not
compile. For now a -DBULLET is still necessary (it
is added as default), but the code will be cleaned
up in the near future.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-08 13:04:56 +00:00
thebohemian
12cee75a0f - remember selected widget of the parent menu and properly restore that
selection when coming back to that menu


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-07 15:46:50 +00:00
thebohemian
e483fa32b8 - prevent causing problem when hitting inputs for non-existing players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-07 10:10:52 +00:00
cosmosninja
2cddd16d40 Applied Paul's patch so the number of laps per track per grand prix can be specified in the *.cup files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 20:57:42 +00:00
hikerstk
2c3e551ce6 Applied Paul's patch for selecting the screen resolution
via the option menu (I added some minor modifications to
get it to work with windows as well).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:04:21 +00:00
cosmosninja
5c2b24727c Changes to lower the number of lines of code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:04:08 +00:00
hikerstk
e6a0fe8b72 Updated visual studio project file to support the new files which
were in r1305.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-06 04:03:14 +00:00
hikerstk
3bac108b3a Bugfix: out of bounds problem avoided.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-05 04:12:55 +00:00
cosmosninja
1d0c75542a Character selection works again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-05 04:10:36 +00:00
cosmosninja
71a39116d4 Fixes a bug pointed out by Paul: layout() did not stored the previous position.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:35:21 +00:00
cosmosninja
a21592f68e Fixes wrong text introduced by previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:34:08 +00:00
cosmosninja
2ffb606880 Fixes possible crash if the last element of the GUI of a screen is a column.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-04 18:11:46 +00:00
cosmosninja
95093755b9 Added argument-less layout() function which uses the last argument given to the other layout() function, and fixed a typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-03 23:11:07 +00:00
cosmosninja
ebc96833ad Fixed widget manager bugs, finished columns, used columns on some of the screens that benefit from it, simplified some of the widget manager code(this also gives performance improvements, but no one really cares about those in the widget manager), and changed some Warning tags to upper case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-03 22:54:39 +00:00
cosmosninja
6bf4ec4f08 Fixes two compilation errors introduced in the last commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 16:43:52 +00:00
cosmosninja
a335606ec9 Finished column insertion(minus bugs that will obviously appear) and changed the main menu to using a column instead of line breaks; the widget manager delete_wgts() function was renamed to reset(), as it now does all kinds of cleanups, and layout no longer restores default stares or resets columns or deletes breaks, these changes were made so that layout() can be called repeatedly. Plus I changed a bunch of warning messages of 'unexistant widgets' to 'unnamed' widgets, since widgets without a token assigned also trigger this warning and added a Warning: tag in front of these messages, since they are non-fatal. I apologize for the amount of changes introduced in one commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-01 16:26:00 +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
cosmosninja
d403a951c7 Removes some output text I accidentally left in
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-30 03:48:37 +00:00
cosmosninja
f40af93ba4 Fixes bug that causes the selection of the last active widget instead of the first active widget by default.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-27 01:34:21 +00:00
thebohemian
dc22e1268b - fix comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 14:40:07 +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
cosmosninja
456e205494 Beginnings of supporting columns in the widget manager, for easier layout.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-26 02:51:32 +00:00
cosmosninja
59fb95e64b Fixes an uncommon dumb old bug in the AI, strangely only reported to appear with bullet physics, which could make it loop forever.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-25 00:28:54 +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
hikerstk
c62f8622da Set the number of laps for Grand Prixs to 2 again (I
accidentally committed my test setting of 1 laps only).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:57:58 +00:00
hikerstk
7721c5dd1c The kart start order now depends on the ranking in the
grand prix. It can be set to 'lowest points first'
or 'highest points first' in stk_config (patch by
Paul Elms).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:54:40 +00:00
hikerstk
dc130b5a10 Fixed working directory for VS project files (which assumed that
the root directory is called 'supertuxkart').


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 13:49:32 +00:00
hikerstk
c05b0d4b0d Updated the Visual C++ project files to support
compilation of the inluded bullet library, and 
to include the new widget_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 12:56:44 +00:00
cosmosninja
aa3ad745ce GUI improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 01:51:57 +00:00
hikerstk
44f9f6a538 Minor fixes for windows compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 01:31:49 +00:00
cosmosninja
41524d6d8a Fixed a typo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-21 00:31:20 +00:00
hikerstk
a87e04ae29 Bugfix for crash when selecting a Grand Prix.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-20 11:49:00 +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
1da4736435 Bullet only: made the bullet jump velocity configurable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-18 13:44: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
cosmosninja
a8c2de27cb When loading music, STK prints a warning if the file format is not recognized.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-11 15:15:59 +00:00
hikerstk
10402c390a Bugfix for non-bullet compilation (was incorrect in previous commit).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 23:12:04 +00:00
hikerstk
661751678b Fixed several memory leaks, which appears to fix bug #1827310 (stk crashes
after one race) as well.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 22:40:15 +00:00
hikerstk
4a93d103d4 This file was missing in the previous patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 13:14:31 +00:00
hikerstk
c21c9b5573 1) Removed some memory leaks in physics.
2) Fixed bug 1827284 (sand track bridge could not be used with bullet) by not
   converting triangles which have the 'ignore' property set.
3) Fixed bug 1826773 (jumping while in air was possible)
4) Started adding support for projectiles which stay close
   to the ground (not finished yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-08 12:31:54 +00:00
hikerstk
9f7c370334 Removed files which never should have been in the repository.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-06 11:48:34 +00:00
hikerstk
81b078d16f Bullet only: included bullet 2.64 in the STK sources
and build environment. Default is still to build the non-bullet
version, to get bullet, configure with '--enable-bullet'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-05 13:38:57 +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
3eeac7bec0 1) Fixes bug 1812403 (you could get rid of a bomb by
using another banana, now the bomb will explode if you
   hit a banana).
2) All other 'bananas' now get more severe as well if you 
   hit a banana while having an anvil/parachute attached
   (anvil: time is extended, parachute: you get an anvil
   with the same time as the parachute attached).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-18 13:22:20 +00:00
thebohemian
02b8c37aac - fixed key movement in result screen
- prevent closing of result screen is now done for all input variants
   and without odd side effects (and with less lines of code)
 - convert mouse buttons, joystick buttons and axes to key input for easier management
 - added note


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-06 16:39:18 +00:00
ikework
e153a6592b added roberts inputmap-files to vc8-project-file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-03 13:11:15 +00:00
thebohemian
059d9037a7 - separate input map implementation
- make mouse axes work like analog axes
 - enable display menu for non-Win32 platforms


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-03 11:23:07 +00:00
hikerstk
9ea37bf14f Bullet only: update to work with SVN revision 813 of bullet. For now
you have to define NEWBULLET when compiling the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-01 02:21:42 +00:00
hikerstk
638970bd46 Bullet only:
1) some minor restructuring as preparation for
   converting the missiles to bullet.
2) Added support for later bullet versions (using
   btBroadphaseInterface instead of btOverlappingPairCache
   in ctor of btDiscreteDynamicsWorld).
   Default is still the old interface, use -DNEWBULLET for
   physics.cpp if a newer bullet version is available


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-30 14:17:28 +00:00
cosmosninja
d06c13fb36 Fixed bug #1799454 (help menu bug), and a minor coding style improvements related to it.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-29 19:08:35 +00:00
ikework
32b88d2091 - put a proper copyright to all replay-files
- changed name of class "Buffer" to "ReplayBuffer" .. "Buffer" at global scope was not a good idea of mine .. ;)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-28 13:06:16 +00:00
ikework
38d41f933c added a vc8-project with a README.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-28 12:27:52 +00:00
ikework
a381c480c9 added *license-info* to replay-cpps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 09:53:34 +00:00
ikework
0b7cadfbea replay:
* set max. sample-frequency to 30 frames per second
* put sample-freq-statistic in the end of replay-file as comments
* did some replay-cleaning

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 09:47:48 +00:00
ikework
c1ed88df9c replay-interpolation: scale-factor based on time between frames has been calculated for each kart in the loop, we just need it to be calculated once ..
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-27 07:57:51 +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
abf735a468 Applied a modified version of Robert's patch for bug
1799457 (multiplayer does not work ... if the number of
karts in the config file is lower than the number of
karts needed for multiplayer).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-26 06:18:24 +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
57e93880de Re-enabled jump information in the help menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-25 03:54:01 +00:00
thebohemian
83703fdcf7 - 3rd splitscreen player gets the whole width
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-24 12:28:19 +00:00
hikerstk
9104e88171 Enabled configuration of jumping key again, was missing in previous
patch.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-23 15:05:30 +00:00
hikerstk
e41829cedd Enabled jumping again, and implemented some test jumping in bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-23 14:52:39 +00:00
thebohemian
385e042cb3 - fixed deprecated implict (const char *) to (char *) conversion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 19:50:07 +00:00
ikework
2860414a0c replay:
* interpolation between sampled frames
* restart game works with replay

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 19:17:48 +00:00
ikework
0a44bf57d5 replay ghost works very basic.
* no interpolation of ghosts position between sampled frames
* no transparency or something else to distinguish

to see it:
* run a game, rename file replay/test.rph to replay/test1.rph - this file is shown in replay

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 18:02:53 +00:00
hikerstk
e5fd4c885c Fixed bug 1799349: Islandtrack couldn't be used
because of 'images/sky2.rgb' not found.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 06:41:12 +00:00
hikerstk
462bf989f1 Removed fflush (left-over from some debug output).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-21 03:07:42 +00:00
ikework
f7fc4ff80a checked new replay code with debian .. added new files to src/Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-20 09:57:58 +00:00
ikework
76dc339f38 change ReplayPlayer -allocation/deallocation in worls, world crashed in dtor, if replay-file was not found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 18:28:48 +00:00
thebohemian
bf7cda5179 - fixes all fixable warnings because of implicit (const char *) to (char *)
conversions



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 11:03:40 +00:00
thebohemian
f4157b1d41 - centers character in character selection screen properly and in all
display sizes
 - re-adds the 'make last character the new preselection' feature in character
   selection screen



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 11:02:22 +00:00
thebohemian
3167a86e97 - make player one the default button in player selection screen
- make "start race" button the default one in num laps screen


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 11:00:35 +00:00
thebohemian
2abeb7fed0 - adds behind view feature and the neccessary settings additions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 10:54:27 +00:00
ikework
6cf81bd3ac removed unnecessary forward-declaration in replay_buffer_tpl.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 10:31:29 +00:00
ikework
77bdd4a4fc the start of my replay-implementation
all code related to it must be activated with compiler-switch HAVE_GHOST_REPLAY
folder "replay" added to store the replay-files

there are 2 main classes. ReplayRecorder & ReplayPlayer. both are members of class World. the first is for recording/saving a replay and the latter one for showing the replay/loading/ghost-replay

*recording* a game works already very basic, only karts position-struct is stored and some data about the game (track,karts,player...)

the replay file currently is written to replay-folder in world's destructor to replay/test.rph
and it is loaded into ReplayPlayer in World's constructor

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-19 09:23: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
ikework
612a847dbd applied stephan's patch for the menu-sounds .. copied file wavs/tintagel/deselect_option.wav to wavs/tintagel/select_option.wav for the time being, since code expects that file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-17 13:43:11 +00:00
ikework
d2e7b6e59c on windows we have to use ov_open_callbacks instead of ov_open .. passing clients callbacks for fread, fclose ..
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-13 17:41:02 +00:00
ikework
0f54de64aa WidgetSet: in ctor memory of array m_widgets was initialized to 0's with memset. that was
ok until my last change of Widget. now Widget has std::string's as members, so initializing
like that is not possible anymore .. my debian crashed there .. added an initialization-list to Widget's ctor

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-10 17:37:04 +00:00
ikework
9d89de895e (1) fixed memory-leak related to vector GrandPrixSelect::m_all_cups. items were allocated with new, but never deleted. changed vector to vector of objects:
old:
  std::vector<CupData*> m_all_cups;
new:
  std::vector<CupData> m_all_cups;

related: 
changed RaceManager::setGrandPrix(const CupData &cup_) to const reference rather than pointer to CupData

(2) made vector CupData::m_tracks private and added getter

(3) CupData::m_name was passed in GrandPrixSelect::GrandPrixSelect() to WidgetSet as const char*
    then it was passed to Widget::_text. changed the latter to std::string and passed it as std::string
    
(4) changed Widget::count_text  to std::string as well .. 

(5) tracked down all uses of Widget::count_text & Widget::_text to plib. changed
all funcs in between to work with std::string rather than const char*

Font::getBBox
WidgetSet::set_label
WidgetSet::get_label
WidgetSet::start
WidgetSet::state
WidgetSet::label

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-10 17:03:31 +00:00
ikework
894cd8a604 fixed memory-leak:
allocated RaceGUI::TimedMessage's were not deleted, only erased from the vector

RaceGUI::cleanupMessages(): fixed iterator usage for std::vector.erase - the returned iterator must be used, the passed iterator becomes invalid after erase, so one has to use the returned one

changed vector-type RaceGUI::AllMessageType to vector of objects, rather than vector of pointers .. no risk of memory-leaks here anymore ..

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-10 14:11:08 +00:00
hikerstk
4dcde604b1 Bullet only: fixed --history function for bullet physics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-10 00:36:50 +00:00
ikework
754bd5275c fixed bug 1791242 in robots/default_robot.cpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-09-09 21:18:18 +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
ikework
40799d02bd did some cleaning in CreditsMenu & ScrolledText
(1) CreditsMenu::CreditsMenu changed file-open-mode from "ra" to "r" 

(2) added fclose'ing file in CreditsMenu's ctor

(3) CreditsMenu::m_string_list removed since base-class ScrolledText already has that member,
    made it private in base-class to prevent confusion, since base-class has
    member-func setText to *set* that member ;)
    
    made all other member-vars of ScrolledText private too ..

(4) changed typedef of StringList from 
      typedef std::vector<char*> StringList;
    to 
      typedef std::vector<std::string> StringList;
      
    there was a memory-leak in class CreditsMenu, strings were pushed back
    into StringList via strdup, which (m)allocated memory for the string,
    so we should have freed it by calling free for each item in vector,
    so i choosed the all-inclusive std::string :)
    
    and moved typedef of StringList into class ScrolledText from global scope
    
(5) removed cleaning-up-code for m_string_list from CreditsMenu's dtor, nothing
    to clean for us, since vector's and string's dtor takes care of it
    
(6) changed ScrolledText::setText (StringList const &sl_) param to const reference
    for the sake of efficiency .. we dont want to copy here
    
hope we dont get problems with windows newline-style \r\n .. tried to take care of 
that ;)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-24 07:09:34 +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
hikerstk
affb80811f Bugfix for r1218: code would not compile without bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-23 00:26:28 +00:00
hikerstk
12ee22767c Fixed bug (sgMake2DLine actually returns a 3d vector).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-23 00:08:45 +00:00
hansthefarmer
585b3efeb3 Bug 1778268, .loc file crashes badly if model is invalid, fixed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-22 21:31:07 +00:00
hansthefarmer
b3081c58ba Bug 1779481, AI rescue doen't work reliably, fixed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-22 20:44:04 +00:00
hansthefarmer
5b38597687 Bug 1779446, Player kart rescue does not work, fixed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-22 17:30:39 +00:00
hansthefarmer
cd2698300b Bug 1778256, AI does not use collectables, fixed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-22 16:21:22 +00:00
hansthefarmer
662955fbd7 Bug 1776938 Invalid short cut loop solved.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-21 18:37:41 +00:00
hikerstk
921c2621dc 1) Fixed incorrect pitch of rockets when firing.
2) The 'unlimited rocket' cheat is now bound to F7 
   (before it was a clear key, which isn't available on
   all keyboards - at least not on mine).
Bullet only:
3) Gear parameters are now configureable and can
   be specified in stk_config.data and separately
   for each kart.
4) An explosion will somewhat push other karts that
   are close by away (some feedback on this feature
   is welcome - the impulse can be set in the 
   stk_config file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-21 14:50:45 +00:00
hansthefarmer
334ec17dc2 Loop is solved. Track::findRoadSector finds wrong sector on bridge still remains.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-21 08:58:04 +00:00
hansthefarmer
6da43c83c5 Fixed the kart length problem in default_robot.cpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-19 15:05:20 +00:00
hansthefarmer
b476486fb0 Implementation of a simple gear box.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-18 14:26:11 +00:00
hansthefarmer
f0288dd697 Detach attachment anvil now works correctly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-18 13:34:03 +00:00
hansthefarmer
67a4c5a4a1 Small hack to avoid steer vibrations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-18 12:46:16 +00:00
hansthefarmer
44ab0f5c7f max-speed-reverse-ratio added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 17:09:46 +00:00
hansthefarmer
e5037c3cb2 Fixed the going backwards bug by remaking of accelerating and brake algorithm
including a defineable max-speed-reverse-ratio (bullet only).

Added a getsProjectile() when get hit by a homing missile (bullet only).

Modified forceCrash() for bullet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 17:07:12 +00:00
hansthefarmer
954cbe2c5f Homing missile now hits in bullet mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-17 17:01:02 +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
hikerstk
41d9edcbe1 1) Fixed modifications for bullet only, which actually modified
non-bullet parameters. Bullet now has separate parameters
   for mass, steer angle, and enigne power.
2) bullet only: Added suspension rest parameter (which might fix
   the problem of karts not working on tuxtrack and other tracks).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-16 07:09:26 +00:00
hikerstk
c10390916a Bullet only: bugfix: driving backwards didn't work correctly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-06 04:08:22 +00:00
coz
25a007cefd Applied Robert's joystick steering fix patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-05 03:37:29 +00:00
hiker
f6ca3b5155 Bullet only: fixed 'karts swim in track' bug, updated physics
parameter to 'play better'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-08-03 08:17:56 +00:00
coz
c3d987e4fb Fixes pointer dissapearing after exiting the race through the race menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-28 17:27:56 +00:00
hiker
c59838bba3 More than one music file can now be specified for each track, a
random one of those specified is played.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-25 14:01:14 +00:00
coz
e893e3af31 Fixes a crash when a file cannot be loaded, and fixes music not stopping when ogg starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-24 06:46:00 +00:00
coz
4e57f0236b Fixes bug #11559, see revision 1179 in the 0.3 version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-15 19:42:34 +00:00
hiker
097254958c Fixed big endian issue for ogg files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-07-12 02:08:34 +00:00
hiker
f0236ddab0 Fixed one bug causing music only to be played in the first race (see
1158 on 0.3rc1).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-22 00:19:01 +00:00
hiker
893a0c2692 Fixed braking behaviour when driving backwards:
in this case, accelerating should be braking (and
work with more force than just accelerating).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-15 02:06:26 +00:00
hiker
4403a3eb35 When skipping segments (triggering a shortcut message), the
karts now gets automatically rescued.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-15 01:59:33 +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
hiker
2dc270a3cc Replaced 'Next' button with 'Start Race' button.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-12 13:33:02 +00:00
hiker
8e930e0ee6 Fixed error handling in case of non-existent ogg files (r1148 on 0.3rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-12 13:28:59 +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
coz
dafb628e2d Removed a few unnecesary commented out parts of the gui.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-10 01:11:06 +00:00
hiker
409447b2cd Removed empty square which is displayed when no
items are collected (since it's confusing and looks
like a bug, see r1143 on 0.3rc1 branch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-08 09:19:27 +00:00
hiker
7e560d7ed8 1) Fixed result display for time trial (the actual lap time
was not being displayed)
2) Removed number of points from quick race and time trial
   result display (since it's meaningless anyway).
3) Fixed highscores for time trials.

(see 1141 commit on 0.3rc1 branch).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-06-05 03:45:43 +00:00
hiker
e373dbbe07 Fix windows writing bug (see 1124 on trunk).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-05-30 07:26:50 +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