Commit Graph

988 Commits

Author SHA1 Message Date
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