Commit Graph

443 Commits

Author SHA1 Message Date
auria
c415ad12e6 Fixed crash when particles not found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 02:23:04 +00:00
hikerstk
4ab6331ff4 Update to bullet-2.77.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
hikerstk
bdefd9f7b3 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 10:24:56 +00:00
auria
a28d92c76b Properly center dizzy stars
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 00:10:24 +00:00
auria
0e58903fa8 Allow custom particle effects to be found in the same directory as the current track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-31 02:46:18 +00:00
mbjornstk
58cdbb5ffb Increase ignored FPS reports, otherwise minFPS is useless in slow computers.
What matters is the min and max FPS while gaming, start up is not so important.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-26 22:45:08 +00:00
auria
f71b7437b7 Name cameras in debug mode, useful to debug particle effects (which need to be camera-specific)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 17:05:10 +00:00
hikerstk
b7bf16a5f8 Zippers are now stored as their own node, and not as
attributes only. Track version number was increased to
4, but old version 3 tracks can still be read.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7542 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-25 09:29:27 +00:00
hikerstk
36782958a2 Don't allow slipstream if one kart is much higher than the other
(i.e. on a bridge). Previously only the 2d projection was
considered.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 05:41:10 +00:00
mbjornstk
015443f582 Set props as per SVN-CONFIG for .[ch]pp, AKA SVN props clean up day. :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 01:54:38 +00:00
hikerstk
aa0e75d1f4 Don't allow slipstream if the kart ahead is being rescued/exploded.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-20 06:14:32 +00:00
hikerstk
af641ae196 Bowling balls will now bump off karts that have the star effect shown,
and not explode anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 21:21:47 +00:00
hikerstk
80c85a7bb8 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7466 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 04:05:35 +00:00
auria
cf751ab11a Extend RTTI provider to not hardcode scaling of meshes + fix warnings when hovering locked karts + when hovering locked kart, display locked feature chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 02:58:32 +00:00
auria
685cbd1c14 Move particles into a new subdirectory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 01:04:23 +00:00
auria
5f00504818 Don't crash when particle files are not found
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7455 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 20:42:04 +00:00
hikerstk
2ebedd24ee Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:36:18 +00:00
auria
404bb88703 It now rains in lighthouse :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 02:27:14 +00:00
auria
f7bcc2a6a5 Add snow flakes to Snow Mountain. Still to be improved
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-14 01:31:15 +00:00
hikerstk
580ab70001 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 05:45:07 +00:00
mbjornstk
4faa1bac47 Fix comment, it mentioned shadow instead of stars.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 03:23:07 +00:00
auria
7a81498f19 Add gravity to particles, use gravity for water splash + fix camera modes like look back
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 16:28:25 +00:00
auria
03af38c9b0 Work on water splash effect a bit; only lighthouse was changed for now, we can change other tracks when Joerg modified the track exported. The effect can still be improved of course, I mostly did the basic code aspect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-12 03:01:57 +00:00
auria
225116fb6f Add new option to materials.xml : disable z-buffer writes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 21:09:00 +00:00
auria
372016af58 Fix bug with black spot appearing in nitro particles, caused by incorrect additive blending formula
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 02:54:23 +00:00
auria
4b039f935f Hopefully work around emitter pause bug by removing the emitter when nothing is emitted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 01:57:18 +00:00
auria
3efc2a189e Remove debug code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-10 01:22:11 +00:00
auria
59b43cdbaf Bugfix : particle emission direction now rotates along the node
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-09 16:42:52 +00:00
auria
47add64448 Fix weird opaque particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 02:25:34 +00:00
auria
9413b7e97e Improve render order of particles. They're still wrong looknig though (WHY?? the same code worked moments ago)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:37:34 +00:00
auria
9f4e949874 Made per-material particles almost a reality. Sadly now we have terrible problems with irrlicht's render order
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:32:46 +00:00
auria
e76aace67c There was a name clash with my new proeprty. Oops\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:39:41 +00:00
auria
332209fde8 Support improved syntax in materials.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 23:29:18 +00:00
auria
279e551371 Remove outdated FIXMES + fix possible crash if section is missing in XML file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 21:11:32 +00:00
auria
8724502d91 We now have only one spread angle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:47:34 +00:00
auria
4e5e7f96a8 Removed particle visualisation, which was accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:39:34 +00:00
auria
89346d58f1 Stop using our hack of moving the emission direction around, when you fire lots of particles this hack is very obvious. Use only what irrlicht provides
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:37:55 +00:00
auria
4a6793178d Fix bug in emitter visualisation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 02:00:41 +00:00
auria
1e3515be04 Minor cleanup + add code to visualize emitter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:58:45 +00:00
auria
2847f8527e Now respecting rate in XML file for nitro (Kart was hardcoding rate...)+
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:40:00 +00:00
auria
b6b9f2810d Make more particle parameters configurable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:25:46 +00:00
auria
aa6c225684 Fix centering issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:06:52 +00:00
auria
3eeca13ce3 Add key to get free nitro + minor tweaks to particle code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 01:01:12 +00:00
auria
cd850cf300 Improvements to particle system, now fade out works as it should \o/
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-06 00:07:58 +00:00
auria
052a1664b3 Remove FIXME, add documentation itself, I found why things are like they are
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:49:50 +00:00
auria
c1c0a34897 Add braces in switch to please GCC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:57:05 +00:00
auria
e627ccc8f8 Fixed glitch in box emitters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:56:30 +00:00
auria
fc19059006 Add support for box emitters, use it back for nitro
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 20:54:36 +00:00
hikerstk
cd8ea2eead Removed compiler warning, updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 05:27:59 +00:00
auria
fcba432e39 Cleaned up logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:57:17 +00:00
auria
c669a425e5 More particles tweak + eye candy : add additive blending to materials.xml, now the nitro looks awesome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:38:24 +00:00
auria
ec3c1f76a0 New XML-based particle system. May need a few tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 01:39:18 +00:00
auria
38a8248fea Merge nitro and smoke emitters, as their code was almost identical. Next steps will likely involve allowing to specify particle effects in XML files. Note that atm nitro is slightly different from before, can be tweaked to be like before if wanted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 22:14:51 +00:00
auria
470832cd19 Minor documentation of particle code (since I may be looking at extending this soonish)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 20:34:21 +00:00
auria
e472d7459c Fix typo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 21:30:28 +00:00
hikerstk
eee27834d1 Fixed line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:52:59 +00:00
auria
9d854c7301 Fixed leak (Joerg: I'm not 100% sure on this one, can you check if what I did makes sense?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 02:14:29 +00:00
auria
243c9f37c0 Fixed rare crash with explosions, when m_remaining_time is exactly equal to explosion_time
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 01:22:22 +00:00
auria
d737425fe5 Fixed gamepad input after changing resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 23:42:10 +00:00
auria
7f97094b87 Fixed numerous leaks, especially audio leaks + add debug functions to be able to easily check for audio leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 22:18:55 +00:00
auria
a0a85ed1c2 Fixed little glitch that could cause explosions to be cut before they had time to fade out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-08 02:04:00 +00:00
hikerstk
9cddb351cd Bugfix: paths were looked up using the file manager
even if is_full_path was true (and where then not found).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-01 05:57:04 +00:00
hikerstk
a1e6c01dae Reverted commit that added backface culling ... which was already supported
(also the patch did not initialise memory).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 11:31:07 +00:00
hikerstk
7e4257e689 Allowed transparency, and usee setFlag instead of directly accessing the attributes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-29 05:24:31 +00:00
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
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
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
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
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
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
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
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
auria
cb78ded2ed Tidy up logging + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00
auria
2df77fbc5e Fixed machine gun effect when riding on zipper ramps
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-15 19:15:34 +00:00
hikerstk
0d8f157ecc Added support for setting zipper properties per material.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-11 10:35:55 +00:00
auria
60ac3f8491 Removed unused code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-10 16:53:45 +00:00
hikerstk
85979ee919 Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-09 21:50:14 +00:00
auria
de95e676d8 Yet improve handling of bad resolutions in config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-31 15:26:25 +00:00
hikerstk
f517feeeba Renamed 'slowdown' for terrain specific max speed to slowdown-time.
Made slowdown in tuxtollway less abrupt.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 11:09:48 +00:00
hikerstk
b0ed33197b Improved/fixed terrain specific slowdown. Slowdowns are not specified in materials.xml
with two values: one specifying the percentage of max kart speed that can be reached
(e.g. 0.5 means a kart can only drive 50% of its maximum speed on this terrain),
the 'slowdown' value specifying how long it will take for a kart to be slowed down
to that value (e.g. a value of 3 for slowdown and 0.5 for max-speed means that
it will take 3 seconds of continuously driving on that terrain till the speed
is reduced to 50% of the karts maximum value).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:07:25 +00:00
auria
c1d7f610a0 Cleanly handle when RTT is missing instead of crashing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 14:41:55 +00:00
hikerstk
4976d9d60c Made the backwards facing camera using a higher angle to make
it more useful (actual angle can be determined in stk_config.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 12:15:19 +00:00
auria
a2edd2a9de Fixed several vertex color problems (re-exported fort magma because some per-plane vertex colors were not supported by B3D and/or irrlicht so I needed to split a few objects to have vertex colors work fine)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 23:39:08 +00:00
hikerstk
0c5c9496cf Fixed bug 3074299 (slipstream in air on low level AI).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 13:48:41 +00:00
hikerstk
87bb1cea34 Fixed incorrect camera angle when the kart is driving up a steep hill.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 12:22:56 +00:00
hikerstk
58116b66be Made the up-angle relative to the pitch of the kart configurable.
It now defaults to 15 degrees (it was 30 degrees, but accidentally
a hard coded value of 15 was committed in r6110).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:43:10 +00:00
auria
81aca22434 Fixed weird music being used on XR591
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 02:01:52 +00:00
hikerstk
b754d9c879 Fixed camera aiming at incorrect (previous) position when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 12:25:17 +00:00
auria
37901f7f39 Absolutely frivolous, but very cute, change : show icons of what is being loaded during the loading screen (sorry, couldn't help but waste time on this =)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 23:09:02 +00:00
auria
599d0a806a Bye bye EvilTux, Welcome Konqi\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:47:05 +00:00
auria
4df28afc80 Properly unload screens before exiting, correcting a FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:29:53 +00:00
auria
d0896de07e Fixed bogus Doxygen comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:03:30 +00:00
hikerstk
c1a239a7e6 More NoCopy - embarrassingly left out in previous commit :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:30:58 +00:00
hikerstk
42581e1719 Added more NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:29:28 +00:00
hikerstk
426cedcacb Fixed rare bug in which stk aborts (because it receives a WM_QUIT message)
immediately after start (after closing the null device and opening the actual
screen).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-10 01:15:53 +00:00
hikerstk
41f69b89bd Added names to scene nodes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-08 22:54:04 +00:00
hikerstk
2ad6b0a027 Renamed CGUIFont.{h,cpp} to scalable_font.{hc}pp, removed all
references to CGUIFont (so that the new mono-space-digits functions
can be used everywhere); some code cleanup. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-21 00:01:22 +00:00
auria
e53c1e64b1 Explicitely tell irrlicht that we do not support resizing the frame
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-17 15:18:23 +00:00