Commit Graph

3575 Commits

Author SHA1 Message Date
hikerstk
ef174c6ab6 Fixed incorrect return value causing messages to be printed twice (or messages that
should be ignored to be printed). This does not fix the 'read Chunk...' messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-18 12:35:45 +00:00
hikerstk
59f82079fb Hopefully fixed aiming for cakes - please test.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-18 12:23:03 +00:00
hikerstk
d7956618ef Fixed problem in case that the __version__ string does not look like it
is expected to be.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 12:23:38 +00:00
auria
4fa641692c Irrdriver no more has a method to receive events from irrlicht. anyway it did nothing with them so that was just uselessly confusing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:32:31 +00:00
auria
77a69fb80b Moved logging code out of the input handler to the event handler, where it belongs more
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:24:25 +00:00
hikerstk
ca9eb71087 Removed unused file coord.hpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:01:25 +00:00
hikerstk
506ed556df A warning about "Unsupported texture" is caused by irrlicht internally.
To get a warning-free release, this particular message is now only
printed in debug mode (and a line is added that this message will
not be printed in release mode). Just a dirty work around, we can't
change this and have to wait for irrlicht to get fixed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-15 23:59:36 +00:00
hikerstk
c5bd075dd1 Removed unnecessary include, improved rescue animations, though it
is still not correct in all cases (that's work in progress).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-15 23:56:32 +00:00
hikerstk
511afe11d2 Removed unsupported texture warning. Feel free to change the type to
a more appropriate type if necessary.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-15 23:54:18 +00:00
hikerstk
0d3120a4ea Removed unnecessary call (the directory was already added), which was
also incorrect and caused a warning to be printed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-15 23:53:31 +00:00
hikerstk
8382b1929e 1) Fixed incorrect axis, bullet object and rotation of physical objects (e.g. road cone).
2) Fixed bug 2849612 (speed was not reset causing an object that had fallen off
   the track to tunnel through the track when it was reset to its start position.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-14 13:20:30 +00:00
hikerstk
f19e163385 Fixed the very unlikely and unimportant bug that a kart that does not start and has
never driven on a valid quad will cause a crash when rescue is triggered.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-14 13:16:32 +00:00
hikerstk
561db499a1 Fixed incorrect texture names.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-14 01:42:12 +00:00
hikerstk
232d9a2540 1) Simplified rescue code somewhat (one-time setup of variables is now
done in forceRescue, not in an if-statement in update anymore).
2) Made the parameters for rescue configurable in stk_config.xml
   (in preparation for other similar animations). E.g. the rescue time
   can now be set per kart.
3) Reset animations on restart (so that e.g. a win/lose animation
   is not shown during startup in case of a restart anymore).
4) Removed unused variable m_current_gear_ratio
5) Added documentation.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-14 00:14:20 +00:00
hikerstk
7e998399cd Fixed bug with kart positions (a position might be used more
than once).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5192 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-14 00:06:10 +00:00
hikerstk
a3ebfce506 Fixed incorrect heading computation for start position (causing stadium not to work).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-13 01:36:50 +00:00
auria
39ffefab3f new items in canyon by Magne Djupvik
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-12 17:39:13 +00:00
auria
8c5d323418 Fixed lap counting in beach
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5181 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-12 15:43:32 +00:00
hikerstk
375e0882ff Removed unnecessary 'offset' added to quad graph. This code could cause the position of the
karts to be incorrect just after crossing the lap line. Problem was that the center point
of the first quad line (which by definition is on the line) would be considered to be not
on the line due to floating point errors (i.e. 0.5*(A+B) would not be on the line between
A and B).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-12 14:23:39 +00:00
hikerstk
2e17db62a8 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-12 14:15:38 +00:00
mbjornstk
914ccce443 Make bomb anim use frame steps (small jumps on purpose, tick tock ...).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5178 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-12 02:18:08 +00:00
auria
5cc8b0c491 Added checkline to sand track + other fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-12 02:07:17 +00:00
auria
bc98199b9e Fixed problem in new ribbon propagation code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 23:18:44 +00:00
hikerstk
91feb49998 1) Added animation support for attachments, atm hardcoded for bomb only.
2) Instead of creating a new scene node every time something is attached
   to a kart, the same node will now be re-used (and is set as invisible
   otherwise).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 22:48:01 +00:00
auria
89637add52 Fixed maximum number of AI karts in race setup spinner. We support a max of 8 karts, but this means a max value of 7 AI karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5172 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 20:07:08 +00:00
auria
8d3e9df01e Show global GP-order in addition to latest-track-order in the race over dialog when racing a GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 20:04:16 +00:00
auria
ee7e16b696 Adding the debug prints I used to figure what's wrong with ranking code (disabled but there to enable again)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 19:44:52 +00:00
auria
04ba1f96ae Added checks to catch the ranking bug much earlier (yay)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5169 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 19:28:53 +00:00
auria
ac67f9fbb2 Better document race over dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 18:51:32 +00:00
auria
ce1f3fed61 Better vertical navigation in dynamic ribbon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 17:21:46 +00:00
auria
a009b2ef6c Better define which widgets can be visited by multiple players, fixing weird missing focus issues when a player > 0 selected a widget he shouldn't
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 17:13:39 +00:00
auria
5e88ff275b Better center 'selection bubble' in GUi skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 16:50:43 +00:00
auria
36b4783a49 more fixes to garden materials.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 16:02:05 +00:00
auria
40b79d63b9 updated garden screenshot to not include old icon and windows title bar
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5162 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 15:58:48 +00:00
auria
474d579f75 more materials.xml fixes for garden
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 15:47:22 +00:00
auria
97df7bc929 More work on secret garden. and added the main model file, which I had forgotten to svn add *blush*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 15:46:47 +00:00
auria
bca19fda6c Improved materials.xml file of secret garden to 1) no more fall through the leaves at the end 2) work around irrlicht bugs in transparency handling (by using alpha testing instead of alpha blending where possible)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 15:21:45 +00:00
auria
4be3dcdd5c License clarification
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 15:11:47 +00:00
mbjornstk
fbc98fe440 Remove useless "executable" property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 02:14:21 +00:00
auria
b4fa6b5713 more work on secret garden, and added missing files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 02:10:31 +00:00
auria
ff93e6c398 Added first kinda-playable version of secret garden (more work needed on this one)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 01:58:33 +00:00
auria
155c0380e3 cleanup in materials.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 00:32:19 +00:00
auria
c9ab051613 converted desert track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 00:27:32 +00:00
auria
84616ebea4 Converted star track to latest format
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-10 23:29:58 +00:00
auria
ca80443d35 Converted stadium arena to new format (but it's broken, @Hiker can you check why? I can't seem to figure it out)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-10 23:21:29 +00:00
auria
5e4c8923d5 Converted beach track to new format
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-10 23:10:42 +00:00
hikerstk
b58c29b697 Added fog to karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-09 13:00:40 +00:00
hikerstk
dc21c85128 Fixed aiming problem: cakes would aim at karts behind the firing kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-09 00:21:04 +00:00
mbjornstk
c420edf1e7 Replace parachute icon with one showing the new model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 21:11:20 +00:00
auria
d1df9b1ee1 Fixed several FIXMEs related to player ID
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 21:02:40 +00:00