Commit Graph

4827 Commits

Author SHA1 Message Date
auria
5b7d055f2c Applied patch by samuncle to support disabling backface culling, thanks! (even though I helped quite a bit ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 01:02:33 +00:00
hikerstk
ec93b9889a Added explit delete of m_all_players to avoid a (non-reproducible)
crash that might depend on the order in which objects are freed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 00:23:19 +00:00
hikerstk
a123718680 Fixed incorrect axis (though it shouldn't matter, since the model is a
ball anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 23:18:46 +00:00
hikerstk
70b840bb6c Removed adjusting the plunger height (which was overcompensating,
resulting in the plunger being pushed into the ground).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:25:57 +00:00
hikerstk
16d969fa39 1) Fixed incorrect start positions of plunger (getY instead of getZ).
2) Some code cleanup (renamed variables to follow our style, renamed
   Kart::getKartHeading to Kart::getKartTransform).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:22:41 +00:00
hikerstk
49dd6821a4 Fixed incorrect maths (wrong sign, probably after swapping the axis).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 22:20:16 +00:00
hikerstk
148d09c4ba Hopefully fixed gamepad related issues (esp. bug 3114440 - can't assign axis+0).
Simplified code somewhat.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:53:34 +00:00
hikerstk
d4eae38349 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6728 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:52:01 +00:00
hikerstk
d64a436ef8 Removed files that had been removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 21:51:24 +00:00
auria
7a3e4fbde6 Updated Gooey... still armature bugs :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 15:36:34 +00:00
hikerstk
e8cbb98369 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 04:34:58 +00:00
hikerstk
37623fc218 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 04:30:21 +00:00
auria
ba619eeb22 Check for more 'types' of shift keys
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:31:18 +00:00
auria
f18ead6820 Show wanring dialog when trying to use shift as a key binding
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 02:16:21 +00:00
auria
507b9e5822 Fixed rare assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 01:40:27 +00:00
hikerstk
f93d8dc66c Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 00:51:47 +00:00
hikerstk
8e519d1959 Disabled multiple bubble gums to make it less easy to
drop three bubble gums, collect a switch and in the next
lap collect three nitros.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6718 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:57:57 +00:00
hikerstk
ce3c115a86 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:18:47 +00:00
hikerstk
f99d1bd9dc Fixed compilation on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 22:17:39 +00:00
hikerstk
f23a247fd2 Replaced while(1) loop with a for loop to definitely avoid infinite loops
(which fixes bug 3113988).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6715 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:55:19 +00:00
hikerstk
8c129ccde6 Fixed quick test for slipstreaming, which would sometimes discard
slipstreaming even though the distance was fine.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:53:13 +00:00
hikerstk
6f28bb281c Added visual debug support (--slipstream-debug).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:05:45 +00:00
hikerstk
d576dadf78 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6712 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:04:09 +00:00
hikerstk
7d5b6b084b Removed duplicated call to slipstream update.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6711 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 21:00:19 +00:00
hikerstk
54a6e8edd5 Fixed computation of minimum height, added updating
minimum height when a transformation is applied (which
in part explains why slipstreaming sometimes didn't work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 20:57:39 +00:00
hikerstk
efcb1029d5 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 09:35:51 +00:00
hikerstk
e73ca4bbee Moved all slipstream handling from kart into slipstream
(also started to add debug features).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6708 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-24 05:57:06 +00:00
hikerstk
daf2bc5e7e Fixed resolution changing on linux: previously the resolution was
changed (and the old window/device deleted) while the old device was
still actively delivering events, so deleting caused a crash. Now
changing the resolution is only setting a flag, and the resolution
change will be applied during the next update, i.e. while the device is
not busy anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 23:23:40 +00:00
auria
fa80d310c5 Rename Kronobil to Chris Leutwyler at his request
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6706 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 22:18:30 +00:00
hikerstk
829b015314 Properly delete the first window (esp. on Linux) when switching resolutions.
ATM this results in a crash for me (though this patch should be correct, so
the reason for the crash must be something else).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 21:16:19 +00:00
magned
a5795e481a Added missing .music file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6704 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 21:01:46 +00:00
hikerstk
4696f1b323 Increase max speed if a rubber band is being used. Settings can
be adjusted in stk_config.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 10:41:13 +00:00
hikerstk
6fa0eea7b4 Fix bug 3113806: when no kart animations are displayed
and a plunger is fired, the kart animation would
display the 'steer left' frame when the rubber band
is removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 06:04:35 +00:00
auria
846a387a1b Fixed XR591 music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 01:58:49 +00:00
auria
1693700eb1 Add newly encoded boom boom boom which hopefully doesn't stutter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 01:17:54 +00:00
hikerstk
6b660b9fe6 Added calls when switching resolutions (based on
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=39342&highlight=fullscreen
run() needs to be called).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 00:14:13 +00:00
auria
6166351e7a Uploaded louder version of snow song
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 20:48:59 +00:00
hikerstk
9cd0ec2544 Don't activate zipper if kart is driving backwards (that feels
imho better game-play-wise than accelerating the kart backwards).
This fixes bug 3114776. Also added some docs to btKart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 09:27:12 +00:00
hikerstk
7d65be553f Fixed VS compilation (no isnan, isinf on VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:54:08 +00:00
hikerstk
3b14605cbd More cleanup (and STK will now compile again - my apologies).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:29:12 +00:00
hikerstk
b1b57be476 Zipper are now converted into buller objects. This means that a zipper should
be flat now and not slightly raised anymore. This fixes bug 3114770.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6691 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:22:49 +00:00
hikerstk
d1238b58f4 Removed duplicated debug output which was only added to chase a strange
bug.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6690 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 01:10:37 +00:00
hikerstk
98b1c1991f Bugfix: set zipper-fade-out time, which was left uninitialised before
(causing bug 3108549: crash in quantize because the uninitialised value
could be close to 0 but not 0, resulting in speed becoming -inf, ...).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 00:57:15 +00:00
hikerstk
72192160bb Added more debug code to find crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-22 00:41:01 +00:00
hikerstk
8903fdf791 Added assert to help catching a bullet bug.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6687 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 23:48:43 +00:00
hikerstk
e46031fbad Added transparency for palm_b, which was missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 22:41:21 +00:00
hikerstk
a2e0fb805d Added additional debug output, since it appears that:
if( (point.getX() > m_bvhAabbMax.getX() ) ||
                    (point.getY() > m_bvhAabbMax.getY() ) ||
                    (point.getZ() > m_bvhAabbMax.getZ() ) ||
is NOT true, but:
        btAssert(point.getX() <= m_bvhAabbMax.getX());
isn't true either - so point.getX() not >  m_bvhAabbMax.getX()   and
point.getX() not <= m_bvhAabbMax.getX() ???


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 22:07:10 +00:00
auria
5fe492dd70 Write chal;enges file when none is found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 21:59:49 +00:00
asciimonster
d328907058 [STK Browser] Improvements to value handling
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 21:01:14 +00:00
auria
bfdd728eb8 New music for Scotlland track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 19:46:22 +00:00