Commit Graph

452 Commits

Author SHA1 Message Date
scifly
fdf650604d Bugfix: Bug 1944513, Fullscreen mode is now retained across starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 12:19:12 +00:00
hikerstk
63a70c3f4b Removed debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 11:44:15 +00:00
hikerstk
a03dc10d67 Fixed automake installation, using Robert's 'find' approach for
flexibility.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 05:34:45 +00:00
hikerstk
47f23369e8 Added some const declarations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 04:37:49 +00:00
hikerstk
a53ca214c5 1) Follow the leader mode now removes the first kart if
the leader is not the first.
2) AI karts brake if they are ahead of the leader
3) The leader has now the text 'leader' displayed next
   to the item.
4) The ranks in the leader results table are now correct
   (starting with 1 instead of 2)
5) Fixed two potential bugs, which might result in
   triggering an assert.
6) Replaced assert (in case that it should get triggered
   again) with useful messages to stderr.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 00:20:06 +00:00
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
c33897d2bc Removed unused 'inertia' entry.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-16 00:28:06 +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
cosmosninja
cafae87808 Copied the task based (not the one organized by the alphabet) credits list from the STK forum (because it had some new info) and added a few more credits.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-26 05:51:11 +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
hikerstk
6b0ecbaff3 Bugfix: renamed all rock1.bmp back to rock1.rgb.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-25 00:07:42 +00:00
auria
a00cae0b04 Added jungle track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-24 19:25:56 +00:00
cosmosninja
a75b2e7964 Fixes music in the little volcano track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-21 19:53:54 +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
hikerstk
cd9b506173 Fixed some typos, updated supported platforms, removed
F9 documentation (since it doesn't work on all platforms).
See r1638 on 0.4.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-18 01:40:04 +00:00
auria
1531635fa2 Added log cabin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-18 00:56:33 +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
cosmosninja
1d95234f5d Fixed makefile & directory problems, which prevented building.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1655 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-15 00:21:16 +00:00
cosmosninja
e517548908 Removed redundant STK/sfx directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 23:44:25 +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
ed37a4f434 Removed unused replay directory.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1650 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 06:48:09 +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
cosmosninja
263d908531 Added one more point to the tux kart driveline at the ramp, hopefully you will get rescued there instead of the ramp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1648 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-14 06:37:26 +00:00
hikerstk
a882063e41 1) Added information about the official STK forum,
removed email list information
2) Increased minimum memory requirement to 128MB
   (I doubt very much that STK runs with 32MB).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-12 02:57:25 +00:00
auria
bc4144776f Added texture files for SnowTux Peak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-09 20:31:05 +00:00
auria
d2b853a140 Changed track files for snow tux peak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-09 20:28:16 +00:00
auria
b30436d41e Added new tux peak models and track files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-09 20:28:07 +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
29a8b1b338 Added missing generic shadow for eviltux, nolok and skirpy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-03-05 13:26:46 +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