Commit Graph

4906 Commits

Author SHA1 Message Date
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
auria
002779e346 Resized down mozilla icon a little bit to make it better fit with others
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 19:14:18 +00:00
auria
b9f674f2e7 Tweaked island drivelines to avoidr escue loop
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 16:47:35 +00:00
auria
94a9fbe62a Removed string from catalog that shouldn't be there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6672 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 16:36:26 +00:00
hikerstk
6cea4142c8 Fixed missing sound when a powerup zipper is used (bug 3109198).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 11:13:11 +00:00
hikerstk
e8a4fc66e1 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6670 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 11:08:26 +00:00
auria
e1672a0652 Updated strings again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 02:35:35 +00:00
auria
8eadc49789 Fixed a few challenge descriptions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 02:29:21 +00:00
auria
557216d87e Forbid setting volume to 0, OpenAL doesn't seem to appreciate
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 19:41:14 +00:00
auria
466e65b3d7 Renamed method hasBinding and changed its docs, both were misleading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 19:10:43 +00:00
asciimonster
7b18aac94f Bugfixes on the STK browser, thanks Auria
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 15:29:44 +00:00
xapantu
61add86c5c Updating pot file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 15:21:57 +00:00
xapantu
3c7dd46f97 Update translations from launchpad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 15:21:11 +00:00
hikerstk
d84ff3f7eb Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 12:15:13 +00:00
xapantu
d4f9b381b3 Fix compilation, maybe it isn't the right way ?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6661 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 11:55:08 +00:00
hikerstk
0b55b9fe5c Added additional debug output for bug 3108549.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 10:48:10 +00:00
hikerstk
2bf841d95f Fixed (or work around?) crash when using gamepad: sometimes a menu command
would be delivered to the player controller - I assume because I might
have moded the gamepad up/down a bit(?). Auria, please have a look
if this needs a 'better' fix than just ignoring any unexpected
commands in player controller.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 04:36:38 +00:00
auria
7987ea5d59 Add collectibles to skyline
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-20 01:24:16 +00:00
asciimonster
fa0070ba8c Committing the STK_Browser Blender plugin
It's a redesign of the stkpropbrowser and boast many new features

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6655 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 22:56:11 +00:00
auria
126d319a03 When GFX are off, use static meshes instead of water nodes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6654 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 22:00:14 +00:00
auria
36554d38bc Fixed bug when kart animations are disabled + a kart.xml file points o a bad model - don't crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6653 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 21:47:59 +00:00
auria
2b3f8cc27a More work on deactivating gfx; gfx can now be deactivated from options screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 21:44:20 +00:00