Commit Graph

3534 Commits

Author SHA1 Message Date
auria
893cb01eaa Implemented locking of karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:27:55 +00:00
auria
9ef740ea27 Fixed old code still using 'this' as argument for a method that expected a bitmask (stupid C++ converts bool to int implicitely so didn't warn me)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:20:31 +00:00
auria
0ffd305dc5 Implemented Todo : In the 3 strikes arena selection screen, groups are not implemented
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5216 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:12:09 +00:00
auria
47ad6f8ba8 Updated Xcode project to remove no more existing file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:12:00 +00:00
auria
6a09162075 Code style and documentation minor improvements (cause readability does matter\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 16:51:14 +00:00
auria
bd253619a9 updated french translation from McMIC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 14:22:59 +00:00
hikerstk
c38da65c16 Fixed pitch and roll for bubble gums ... again :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-19 13:12:03 +00:00
hikerstk
468507af8b Added debugging features for check structures (use --check-debug), which
prints when a checkline is triggered or activated.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-19 12:37:45 +00:00
hikerstk
e36f0fdd8f Made profile mode work again. Only one kart is now used as well, which allows
us to profile the effect different karts have.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-18 23:22:15 +00:00
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