Commit Graph

486 Commits

Author SHA1 Message Date
hikerstk
5ac7f44802 Removed Visual Studio compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 04:10:32 +00:00
cosmosninja
f223c02865 Added macro functions to add widgets, at the moment only the main menu is using them.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:29:28 +00:00
hikerstk
d3fc0720ac 1) The challenge menu now displays the description when hovering over name,
if the name is clicked, a race for this challenge is started (e.g. a
   unfinished track in the 'all track' challenge, or the race/GP that
   needs to be raced with the right number of opponents, difficulty etc).
2) The all_track challenge now has a list of all tracks (instead of simply
   couting).
3) Fixed typo: the short description of the collect coin challenge had
   'race track' specified in the short description.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:17:18 +00:00
hikerstk
1e13597165 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:12:58 +00:00
hikerstk
39eae930da For music that doesn't have a faster version specified in the music
information files, the pitch is increased creating a somewhat faster
version. The maximum pitch can be specified in the information files
(keyword 'max-pitch', defaults to 0.1), and the duration over which
the pitch is increased as 'faster-time' (default: 1 second).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:07:53 +00:00
hikerstk
f04032300b Removed warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:04:27 +00:00
hikerstk
5d0a30f6cb Bugfix: in follow the leader mode faster music could be triggered too early.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:03:55 +00:00
hikerstk
b0eb25ce5e Skid mark sections are now displayed using display lists once they
are finished.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-24 03:03:13 +00:00
hikerstk
b6541195c2 Added an 'upright constraint' which prevents the karts from toppling
over after a jump (e.g. ramp, or paper plane).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-22 14:20:52 +00:00
hikerstk
70badaa9ea Fixes vector normalisation issues (which can result in crashes due to NAN values).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-22 14:02:07 +00:00
scifly
a4f2247f15 Added friction values for the textures used in the city and canyon tracks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 14:33:18 +00:00
scifly
9656c70bbf Bugfix: Enable AI karts to be rescued after taking an invalid shortcut.
This is needed now that skidding has been implemented because AI karts 
are more likely to crash off the track and onto other parts of the 
track. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 14:16:53 +00:00
auria
8dfae1ef90 updated .pot file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 13:40:14 +00:00
auria
54076841c9 added french translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 13:39:32 +00:00
auria
b1865acd7f added script to automatically generate .pot file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 13:34:39 +00:00
auria
e078d6f3a0 Remove gownsbow
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 13:31:04 +00:00
auria
b648f31c80 Added canyon track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 13:28:32 +00:00
auria
79a7be0a12 Added city track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 13:23:37 +00:00
auria
7734092c3a first step towards comitting city and canyon tracks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 13:17:20 +00:00
scifly
f493d43734 Added friction values for all drivable textures to enable skidding.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 12:52:43 +00:00
hikerstk
54bdd49ab7 Added missing file from previous release.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 01:32:14 +00:00
auria
b59a7f32d8 cleaned up translatable strings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-21 00:09:23 +00:00
hikerstk
dd253390fb Bugfix: direct hits of karts by projectiles were not recognised due to
using an incorrect pointer. This could lead to karts being pushed through
the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:37:20 +00:00
hikerstk
c6ce384a02 Added support for spherical physical objects (e.g. rock tumbling down), plus
automatic reset if the objects falls off the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:30:28 +00:00
hikerstk
6876a60e41 Made explosions a bit more robust (i.e. not avoiding pusing kart through tracks),
and direct hits a bit more severe.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:28:37 +00:00
hikerstk
19e4ba93d7 Bugfix: pressing esc in this menu could cause a crash (which happens esp. for
people who mapped the gamepad esc button to accelerate: the key would still be
pressed when the leader-result menu is shown, causing a crash).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:25:21 +00:00
cosmosninja
0a41f57aee Fixes the AI not doing wheelies in jungle track; removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 18:07:04 +00:00
auria
7260e6463b reduced number of laps for littlevolcano
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 17:17:14 +00:00
auria
b691173b9b added more collectibles to jungle track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-19 00:50:31 +00:00
hikerstk
83382cb5e5 Cleanup of skidmark code (no visual change yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 09:01:23 +00:00
hikerstk
4ba210c28b Removed time display from leader-result menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 08:57:37 +00:00
hikerstk
fae04312c8 1) Bugfix: in some rare circumstances (one kart on top of another kart)
a null pointer would be accessed.
2) Removed smoke.rgb warning.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 06:26:36 +00:00
hikerstk
ddb7ecbed1 Removed unused snowtuxpeak model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 01:28:09 +00:00
hikerstk
1a587b9ff5 Reverted to previous version, this file was changed by accident (and
resulted in displaying wrong/incorrect times during follow-the-leader
mode).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-18 01:05:41 +00:00
scifly
fdf650604d Bugfix: Bug 1944513, Fullscreen mode is now retained across starts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-17 12:19:12 +00:00
hikerstk
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