Commit Graph

966 Commits

Author SHA1 Message Date
auria
3edb628251 only show skidmarks if the player is turning (i.e. don't show skidmarks when player is going straight) caveat: if you press the skid button, turn sharp, then go straight while still holding the button, skid marks will still appear.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:27:36 +00:00
auria
18262806d5 made end-of-screen results GUI human-readable in Grands Prix (before it was just a bunch of numbers, some of which didn't make sense to show) first part of this comnmit accidentally committed in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:16:49 +00:00
auria
a2fe608ef7 slightly refactored GP ending, so the final rank is only calculated once.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 17:59:41 +00:00
auria
6f358f52d6 fixed Gp challenges only checking last race results (hackish)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 03:33:57 +00:00
auria
727079c330 fixed inner-name used instead of player-name when GP challenge is unlocked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-24 16:40:09 +00:00
auria
3fb5ac5a98 tweaked text shadow to enhance readabilty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-23 18:24:34 +00:00
auria
dfc2545b4c fixed warning message with new menu layout
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-23 18:23:17 +00:00
hikerstk
7b449f9188 Fixed typo in gamepad debug output (see r2758 on 0.6rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 13:01:18 +00:00
hikerstk
b6e05d7067 Minor bugfix: enet release version would not compile (see r2756 on 0.6rc1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 13:00:17 +00:00
hikerstk
165a8e0081 Fixed several typos in Makefile.am (which prevented make dist-bzip2 from working).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 05:30:04 +00:00
hikerstk
95054dbd52 Added command line option to activate some gamepad debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 01:49:05 +00:00
hikerstk
b9571a41f0 Bugfix: it was possible to take a shortcut and in the process of being
rescued get a lap counted incorrectly, see bug 2453274 for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 00:33:25 +00:00
hikerstk
2e0c4f7738 Fixed 'wrong way' message (which wasn't working at all
anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 00:21:43 +00:00
hikerstk
1c81e0f664 1) Removed references to wheelie and jump kart control structure.
2) Config files will now use nitro/drift instead of wheelie/jump.
   Old config files will automatically be updated (and a message
   be printed).
3) Renamed all members of the kart control structure to start
   with m_ .


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 21:40:00 +00:00
hikerstk
039eb6733d Minor refactoring.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 07:43:41 +00:00
auria
2332f1fcc4 camera tweaks by MiniBjorn
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 01:18:35 +00:00
auria
7ab8087a5d fixed bug with modulo not working on negative numbers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 20:38:15 +00:00
auria
3f3c0a8c5f forgot file in last commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:56:47 +00:00
hikerstk
9db135e9a5 Simplified computations of kart id.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:37:45 +00:00
hikerstk
c72b0194df Bugfix: karts still in a FTL race at the end (i.e. the last player is eliminated)
had their score added twice.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:25:35 +00:00
hikerstk
26c5f8540b Bugfix: a kart that is rescued and eliminated when doing a reset was
added twice to the physics world (resulting in bullet assertion
errors).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:21:15 +00:00
auria
5e597253e7 made bowling balls yet less 'jumpy'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-19 16:35:28 +00:00
hikerstk
c9458b12fd Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-19 01:09:22 +00:00
auria
9f9c8d3495 fixed compiler warning by making a function void and not bool (anhyway it didn't return anything, and nothing checked for a return value when calling it)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-17 20:23:17 +00:00
stevo14
f2f5a20b43 Added support for master music volume.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-17 15:51:35 +00:00
auria
9de5258867 fixed potential crash in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 21:31:02 +00:00
auria
f235baafed let karts fall a bit before rescuing when falling into void
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 21:28:33 +00:00
auria
dda853bd93 tweaked backwards and re-acceleration speeds, so you can get back in race quicker after hitting an obstacle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 21:00:56 +00:00
hikerstk
3b0e6723ae Bugfix: eliminated karts called race finish twice (getting points twice).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 13:21:55 +00:00
hikerstk
ede429b79c Bugfix: if a kart ahead of the leader is eliminated,
it would have an invalid position (#1), and this would
result in duplicated positions later.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 13:18:46 +00:00
hikerstk
a6a4d2b7a8 Bugfix: eliminated karts would get their position updated (which would result
in all eliminated karts having the same position). Code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 09:02:14 +00:00
hikerstk
ca2070af01 Replaced 'coin' with 'nitro'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:57:06 +00:00
hikerstk
2d66e103a8 Made new nitro the default model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:51:34 +00:00
hikerstk
9d7a256458 Used 'UnNamed' suggested colours for skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:37:02 +00:00
hikerstk
548b904394 Disabled highscores for FTL mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:33:12 +00:00
hikerstk
27646ae0b1 Prevented mis-use of rescuing (drive off road close to another potentially
unreachable part of the track, press rescue, and (if you were closer to
that other part of the track), rescue would drop you off there).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 01:42:22 +00:00
hikerstk
e63962ba7c Improved end of lap detection by using the actual length of the track.
Otherwise (when testing for distance along tracks >300) it could
happen (e.g. shifting sand, drive left after the lap was counted before
the pillar till you do a shortcut) that laps were 'discounted' twice.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 00:57:23 +00:00
hikerstk
23c3e56c0c Fixed incorrect position of karts bugs (tracker: 2341498 and
2341488), fixed some incorrect lap counting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 23:37:25 +00:00
hikerstk
dd28f4d437 Made a pointer const.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 23:35:15 +00:00
hikerstk
fd0146df99 Bugfix: findOutOfRoadSector would not test the last driveline
point (to the first), resulting in sometimes laps not being
counted.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 23:20:22 +00:00
hikerstk
cdadccdedd Removed debug code (allowing number of laps be set to 0).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 23:18:56 +00:00
donconso
c45c2dccd3 fixed joypad-configuration (hiker)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 22:20:06 +00:00
donconso
5dc8b1b3e2 fixed joypad-configuration (hiker)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 22:12:57 +00:00
hikerstk
6dda930e03 Bugfix to previous commit: doLapCounting was called at the wrong
location (when m_last_track_coords = m_curr_track_coords), so no 
laps were ever counted.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 08:15:06 +00:00
hikerstk
c240c657cf Bugfix: the new lap end condition did not work if a kart would
skip the last (or first) driveline when driving over the starting
line. This resulted in incorrect (duplicated/missing) positions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 06:35:17 +00:00
hikerstk
28d119a9b0 Made the skidding parameters configurable in stk_config.data
(and on a per kart basis as well, so each kart can skid differently).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 03:56:54 +00:00
hikerstk
5f0dd7ba4c Removed VS compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 03:32:54 +00:00
auria
4b580237d2 debug output strikes again... :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 21:21:51 +00:00
auria
6cd5a152b9 fixed karts beginning in front of start line by calculating offset from drivelines instead of using arbitrary values
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 21:20:21 +00:00
auria
14aa246337 parachutes and anvils were given without asking the World object if they made sense in this game.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 16:37:27 +00:00