Commit Graph

1155 Commits

Author SHA1 Message Date
auria
74a67206cb fixed white skidmarks bug (by MiniBjorn)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:47:25 +00:00
hikerstk
d7e541a1a0 Fixed minor compilation warnings on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:36:23 +00:00
hikerstk
8eaeebd1e3 1) When selecting player input options, the axis that is
furthest moved is now chosen (and not a random one
   depending on sdl). 
2) For steering, axis controls are now 'preferred', while
   for all other controls buttons are preferred. This is
   important for certain gamepads that have 'analogue
   buttons' (e.g. buttons that can be partly pressed) and
   that deliver two events (one analogue and one digital)
   when pressed. See thread 'Not sure if this is a bug exactly.'
   in the forum for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:06:55 +00:00
hikerstk
092aa75686 Removed VS compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 23:35:28 +00:00
hikerstk
43042a63a9 Bugfix: my previous commit to sdldrv made it impossible to
select a joystick axis in the option menu. Instead applied
patch by samjam (forum) which fixes the original issue.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 10:22:34 +00:00
auria
e39dd53795 fixed sound when hitting a puddle of bubblegum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 01:07:22 +00:00
auria
737738c855 restored braking sound. as a result, skid sound will play even if you go straight (les simportant than braking sound IMO)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 01:01:56 +00:00
auria
a8132ae245 added FIXMEs in cake (reasons why it sometimes doesn't aim well)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 00:36:38 +00:00
auria
0e8b10a2d7 cleaned up code documentation to be clearer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 21:20:05 +00:00
auria
2c2f8d0ebc removed FIXME that wasn't relevant anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:59:19 +00:00
auria
56ea83e9ee documented previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:46:51 +00:00
auria
6d2292f3c7 possibly fixed aiming issues when throwing plunger backwards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:44:36 +00:00
hikerstk
488e5a4aab Added some documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 08:16:38 +00:00
hikerstk
6e69ed3390 Bugfix: under certain conditions a gamepad could appear to
be locked, i.e. it would steer to the left or right while
the joystick is in 'neutral' position.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 08:12:24 +00:00
auria
586a4a3a84 code cleanup in new suspension damping
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 20:17:34 +00:00
hikerstk
b1698e2cc5 The keyboard sequence: press accel, press brake, release
brake now results in the kart still accelerating (and 
similar sequences work as expected, too).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 19:53:27 +00:00
hikerstk
0749b37e80 Bugfix: the control sequence: press accel, press brake,
release brake (while the speed is still >0) would result
in the kart accelerating with reduced power since the bullet
brakes were stills set.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 19:29:08 +00:00
auria
c32741b11a attempt at making suspension look better - made the view quadratic instead of linear (shows small moves more, big ones less), reduced amplitude to look less weird. (sorry hiker, my implementation may need to be reviewed :) The effect varies much from kart to kart, for instance on karts like hexley the effect is much more visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-27 01:01:28 +00:00
auria
94c99349ea in battle mode, disable pull-back and akways use block-view, since opullign back does'nt make sense in a battle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:57:48 +00:00
auria
4ff60bff67 attempt at changing AI behaviour when has a plunger in the face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:48:56 +00:00
auria
dad1ce5592 attempt at changing AI behaviour when has a plunger in the face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:32:00 +00:00
auria
6bc1fd5311 moved harcoded constant to config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:26:15 +00:00
auria
c008108f68 moved harcoded constant to config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:23:27 +00:00
auria
943fa76519 added backwards aiming for plunger
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:11:08 +00:00
auria
fe49e9f8cf 1) remove plunger model when it hits a kart (backwards) 2) tweaked duration of plunger blocking view to be less of a punition
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:54:23 +00:00
auria
c403bc0037 reverted debug code that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:49:21 +00:00
auria
4a032ca32e plunger now blocks view as planned when thrown backwards; no aiming yet though
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:45:56 +00:00
auria
eb85dd1c8b reverted debug code that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2786 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:14:26 +00:00
auria
16beb446c3 made it possible to add a big plunger blocking a player's view (does not yet work with plunger, to be completed)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:12:57 +00:00
hikerstk
77914fcf05 Made the skidding frame rate independent.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:05:41 +00:00
auria
a74923349a rubber band detaching committed previously should only happen when attached to track, not karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:48:12 +00:00
auria
78bff749b9 detach rubber band if kart gets very close to hit point
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:43:54 +00:00
hikerstk
64921ddb90 Fixed typo in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:33:24 +00:00
auria
aaf3b8bfd8 improved plunger : 1) gave it actual aiming 2) made it move up/down a bit to follow ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:32:52 +00:00
hikerstk
b3590f40b8 Fixed compiler warnings (VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:32:08 +00:00
auria
928f59d596 tweaked cakes to hit better with new physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 16:44:41 +00:00
auria
2cc926b381 last lap-coutning-with-rescue bug should be fixed now...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 19:07:56 +00:00
auria
f489ae57cd fixed rescuing bugs with lap count (free laps or missing laps) hopefully for good this time. Instead of the previous weak implementation, which substracted laps, this time I just keep a variable of the lap number when the kart was last on a valid sector. Then on rescue I just set back this number of laps - I can't think of any way to trick this system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:49:34 +00:00
auria
25fc6e5f07 made skidmarks conditions even stricter for Ai karts, so they create a bit less of them (mixed success; they seem to reach maximal steering very fast)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:39:46 +00:00
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
auria
3c3282a3a8 updated race result screen so widgets don't overlap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 15:51:51 +00:00
hikerstk
f7fef13442 1) Added support for limiting the amount of steering per
frame for the AI (to reduce shaking, but for now this
   is not used, since the steering parameters are not fixed)
2) Bugfix in AI: in some cases out-of-road was detected incorrectly
   (caused by using kart width instead of length)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 14:00:18 +00:00
hikerstk
22d027ed5f Bugfix: removed incorrect !.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 13:00:06 +00:00
auria
b5035cc813 updated xcode project to support i18n
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 02:21:08 +00:00
auria
dcd4d4cfbb i18n updates
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 02:11:10 +00:00
auria
2aff1d1edd mention 3-strikes in the help page
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 01:58:43 +00:00
stevo14
d588703cf2 Added "gain" option to the .music files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 22:16:11 +00:00
auria
b30fa50775 improved credits menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 19:45:58 +00:00
auria
df8354a9b5 make main menu look nice when challenges is there too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 19:39:44 +00:00
auria
6306bb08fe fixed help screen 1, which was broken when i added sharp turns
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 19:01:42 +00:00
auria
e542055746 tweaked another menu to look nicer on background
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 18:59:59 +00:00
auria
de8edc05bb updated main menu to look nicer with background image
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 18:54:34 +00:00
stevo14
7def11135d Fixed title music memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 16:47:07 +00:00
hikerstk
b017c0aefd Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 08:08:55 +00:00
hikerstk
3102289ae0 Removed runtime warning (sfx not found in list).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 07:50:53 +00:00
hikerstk
b27e113048 Bugfix: removed ghost characters that appeared when using challenges.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 03:55:27 +00:00
hikerstk
ffdfc83dcd Bugfix: changing the resolution would cause a crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 02:56:07 +00:00
auria
17a2074f1a mentionned sharp key in help screens, improved look of lock icon in docs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 01:59:34 +00:00
hikerstk
dd4c85d9c3 Made random number generators random again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 01:15:51 +00:00
auria
02f5ae09ef tweaked bowling ball speed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 00:37:29 +00:00
auria
0f00fd3978 added goo sound for bubblegum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 23:52:59 +00:00
hikerstk
37d4df82de Bugfix: avoid 'machine gun' effect that happens when a kart
frequently crashed (e.g. into the track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 23:45:13 +00:00
hikerstk
2b6ccde33f Fixed problem of karts getting stuck to wall (caused by disabling the
engine for 0.5 seconds to allow some bounce back).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 22:57:40 +00:00
auria
83194bb95b updated track selection screen so it looks nicer and offers more space for track names 9fixing german i18n issues)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 20:10:16 +00:00
auria
c060d36b4b fixed fast music kicking in too soon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 19:43:25 +00:00
auria
95f2cb8b72 removed debug output
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 18:54:41 +00:00
auria
ace9e8ff8f fixed bug with number of zippers in TT mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 18:53:31 +00:00
hikerstk
9c8290423d Removed 'missing EOL' warning with linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 10:55:46 +00:00
hikerstk
7274283311 1) The three difficult levels have now different speeds (and
medium AI is enabled again).
2) The AI handles nitro differently depending on difficulty.
3) Removed wheelie code from kart object, kart properties etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 10:47:16 +00:00
auria
665a307675 made bowling ball speed proportional to own speed so you can't catch up with a ball you've thrown yourself
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 02:23:34 +00:00
auria
eaa9ceee1d disable network by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 01:41:22 +00:00
auria
78f50b0245 fixed shortcut detection bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 00:45:54 +00:00
hikerstk
4c3ff0c87d Improved AI to remove most of the 'shaking'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 04:40:51 +00:00
hikerstk
65f7a8db93 Bugfix for bugfix: when the enter key was used to select a widget,
the widget the mouse cursor was on was selected, not the currently
highlighted widget (i.e. you couldn't select with arrow up/down
anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 03:32:54 +00:00
auria
9838b490f3 fix cakes speed to fit new physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 01:47:59 +00:00
auria
40edb7c69b fixed some title widgets which had a button look + fixed mouse bug in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 01:34:39 +00:00
auria
f7c96dd648 fixed some title widgets which had a button look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 00:52:27 +00:00
hikerstk
36b42693e7 Removed warnings when compiling on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 22:30:30 +00:00
hikerstk
64a609d45f Cleaned up some unnecesary includes in .h files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 22:21:01 +00:00
hikerstk
fd31b5332d Added additional safety-guard against incorrect auto-rescues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 21:23:18 +00:00
hikerstk
2aa37e242f Bugfix: avoid tunneling (i.e. kart chassis ends up partly in track before
being pushed out by bullet again. In this case a rescue might be triggered
since there is no terrain under the kart for a frame).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 10:58:01 +00:00
hikerstk
9b622e59c7 Fixed --profile behaviour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 05:05:48 +00:00
hikerstk
7318f85f90 Removed debug code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 23:27:28 +00:00
hikerstk
d6ccd9cd1f AI improvements: better (level dependent) skidding, and using nitro.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 23:23:33 +00:00
hikerstk
582bd86cdd Bugfix: restarting a race could cause a crash in the skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 08:32:12 +00:00
auria
49e7399322 updated xcode proj
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:40:56 +00:00
auria
d1d8a71e30 only show battle mode in multiplayer mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:31:46 +00:00
hikerstk
66859e11e9 1) Very first version of improved AI: it does use skidding,
and braking behaviour is improved.
2) The track angle was switched from degrees to rad.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:29:02 +00:00
hikerstk
e76c1dc87c 1) The number of drivelines per kart is now limited (stk_config.data setting)
2) Reduced smoke effect somewhat (and made it dependent on actually turning
   the wheel)
3) Removed skid marks when restarting a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:07:16 +00:00
hikerstk
e1aba93a50 1) First working version of plunger with rubber bands.
2) Some projectile functions have been renamed (explode
   to hit etc), since not all projectiles might explode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-04 05:09:51 +00:00
hikerstk
1dc083872e More nitro graphics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-04 05:07:20 +00:00
auria
a97879e279 removed debug code that should not have been comitted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-04 00:08:40 +00:00
auria
ff70a14f6f further improved help menu layout, improved some descriptions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 17:06:39 +00:00
auria
eb069bb99c updated controls names (removed wheelie and jump, added skid and nitro)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 17:00:09 +00:00
auria
55cd4611f4 updated help pages : added nitro, removed wheelies, added plunger, improved general layout
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:56:48 +00:00
auria
792b246c0c made bowling ball less jumpy by putting more gravity on it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:38:09 +00:00
auria
db6df068dd added strike sound when a bowling ball hits a kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:28:32 +00:00
auria
ea07179d46 added new bowling ball sounds, and cleaned up powrup sounds to make it easier to use different sounds for different weapons while instanciating less objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:03:32 +00:00
hikerstk
45e00400a3 Minor improvements to nitro graphics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 06:13:02 +00:00
hikerstk
f9fc764893 1) Fixed the incorrect early explosion of the plunger.
2) Fixed the fact that a plunger would not explode 'normally'
   when hitting the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 05:49:16 +00:00
hikerstk
0723e095fd Made the skidding smoke appear from both wheels.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 05:46:40 +00:00
auria
49b6691474 improved fire particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 23:55:48 +00:00
hikerstk
2c06a2ecc0 Removed unused variables.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 23:49:25 +00:00
auria
b297ed4334 updated xcode project file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 23:36:24 +00:00
hikerstk
20ea1dc0ee Removed steering wheel and display of position in the lower right corner.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 21:11:50 +00:00
hikerstk
325a9dce30 First version of new skidmark implementation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 13:01:39 +00:00
auria
96c05baf2b updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 00:09:23 +00:00
hikerstk
32e32358a0 Fixed typo in Makefile.am.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 23:22:07 +00:00
hikerstk
c20d6008d3 Moved Particle- and Smoke system into graphics subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:56:57 +00:00
hikerstk
cce4da5a62 Moved Vec3 and Coord into utils subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:43:50 +00:00
hikerstk
5b33cdc3c0 Added skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:05:25 +00:00
auria
f43c8c397c updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 16:05:51 +00:00
hikerstk
746c6a4781 Bugfix: removed duplicated files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 11:29:03 +00:00
hikerstk
1c0c2d0ffe 1) Added graphical effect when 'nitro' is active
(texture and graphics still needs to be improved!)
2) Added new user_config setting for graphical effects.
3) Started to move graphics related file into separate
   subdirectory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 09:26:25 +00:00
hikerstk
d2866bb42e Improved optimsiation for particle systems to allow
better culling.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 04:50:52 +00:00
hikerstk
fbdde1aa76 Added some smoke when skidding is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 04:17:17 +00:00
hikerstk
6e72015c53 Minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 03:58:58 +00:00
hikerstk
9e4d29177e Added const.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 03:45:35 +00:00
stevo14
82cf380294 Removed neutral gear braking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-30 16:42:56 +00:00
auria
7c98bda1a7 updated xcode project file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-29 00:36:06 +00:00
hikerstk
2c0aaaaf21 Applied Yann's patch to fix bug 2287611 (if a new attachment is
attached while an anvil or so is active, the additional weight
of the anvil will never go away).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-28 03:44:41 +00:00
hikerstk
c1fab8dc83 1) Added very first version of plunger with rubber band attached.
The rubber band doesn't do anything atm.
2) Bugfix: plungers could fly through the ground.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-28 03:32:47 +00:00
hikerstk
5a9e06359d Bugfix: newly created objects would return uninitialised XYZ and HPR values (when
called before the first update).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-28 02:42:16 +00:00
auria
53ccf88532 fixed restarting FTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-27 21:36:11 +00:00
auria
ea05fbe375 fixed single-player refusing to come back to 1 kart after playing a multiplayer game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-27 21:30:15 +00:00
auria
f877e02358 fixed crash when displaying FTL results
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-27 21:20:52 +00:00
auria
b1a4eeb190 added time management to flyables. this means : 1) bowling balls now have a time limit, after a while they self-destruct 2) you can't be hit by your own flyable while throwing it, thus throwables don't need to be placed so far in front of karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-26 02:05:20 +00:00
auria
31ca2332bf updated xcode project file to play nicer with xcode 3
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-26 01:20:17 +00:00
auria
2803c01eb9 fixed follow the leader, which was broken by an eaRLIER COMMIT
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-25 23:38:07 +00:00
stevo14
b54d6a7ef2 SFX bugfixes: Fixed sound burst when returning from in-race menu. Fixed skiding sound to match new physics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-25 21:05:35 +00:00
hikerstk
2893292816 1) Increased top speed and effect of wheelies.
2) Added support for 'nitro' mode: no wheelies, instead
   collected energy can be used for a speed boost.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 23:19:47 +00:00
hikerstk
9f11f50f4f Bugfixes for previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 08:22:34 +00:00
hikerstk
dab73791c3 1) Removed 'skidding preview'.
2) log output (stderr or terminal) is not saved in user config anymore
   (avoiding the problem of not seeing error messages because they
   are redirected to a log file)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 08:14:40 +00:00
hikerstk
7b8e34226f Added support for maximum/minimum suspension to be used
then displaying the wheels (though no data for this is
added to the .kart files atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 08:05:21 +00:00
hikerstk
ca8cb8eae1 Improved graphics for turning/drifting.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 01:26:46 +00:00
hikerstk
78c77dc1e6 Added experimental skidding (by using the jump button for now,
jumping is disabled atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 00:47:55 +00:00
hikerstk
432b479433 Lower the chassis in relation to the wheels somewhat, making it
less likely for a kart to topple over.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-21 05:00:49 +00:00
hikerstk
f3eb9b168e Removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-21 02:58:54 +00:00
hikerstk
38d568dedd Bugfix: history file replaying could cause a crash since the
karts were setup twice.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 22:06:14 +00:00
stevo14
4975c09c1f Added support for kart-specific engine sounds. Updated kart files accordingly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 09:11:27 +00:00
hikerstk
49d9aeb365 The turn angles at a certain (minimum and maximum) speeds
have been replaced with the radius of the turn (since the
turn angle depends on the wheelbase of the kart). This way
the turning behaviour can be defined independent of the
kart physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 04:54:31 +00:00
hikerstk
b4e87f549f Some updates to doxyfile (mostly to support subdirs).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 02:12:47 +00:00
hikerstk
00618aebfb Applied Yann's patch to allow to build STK in different build
directories.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 01:35:07 +00:00
hikerstk
faa255a0b4 Removed writing information twice into user config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 00:48:24 +00:00
hikerstk
c4e4a94211 Bugfix: the previously selected character wasn't selected by default anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 23:56:33 +00:00
hikerstk
aa27ba317d Changed the default for the physics wheels to be just at
the corners of the chassis (and not where the graphical
wheels are). Improved physics settings for hexley.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 22:43:21 +00:00
hikerstk
b4f16ef5cf Changed default track to jungle (since the race track is not
part of the STK core distribution anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 22:30:51 +00:00
hikerstk
b7eed2c9c5 The track select gui now selects by default the last played track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 22:29:53 +00:00
hikerstk
05ca336742 Bugfix for replaying history files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 11:18:22 +00:00
hikerstk
74885f9fd5 Removed warning which was printed when reading stk_config.data.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 04:09:45 +00:00
hikerstk
847612a561 Bugfix: icons for powerups were not permanent (unless they are listed in
materials.dat), which cause them to be deleted after one race, causing
the powerup_manager to have invalid pointers.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 02:08:00 +00:00