Commit Graph

2598 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
auria
562f3489ec Removed a couple hardcoded player IDs, improved documentation in skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 20:51:44 +00:00
hikerstk
1b5f33e210 Fixed history debug files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 12:45:57 +00:00
hikerstk
54fe97f890 Added support for lose animations (and better support for other
animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5132 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 12:45:21 +00:00
auria
0ea97d6646 Removed unneeded include and FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:48:57 +00:00
auria
713bb84de9 Removed FIXME mentionning plib
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5130 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:48:17 +00:00
auria
c5a12ecafa More removal of unnecessary FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:45:57 +00:00
auria
dc3a3e9506 Removed another unecessary TODO
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:38:10 +00:00
auria
765ed3aaa3 Removed large bits of old unused code that was jsut confusing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:32:00 +00:00
auria
c31323cbe0 removed confusing TODO I can't make sense of
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5126 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:25:28 +00:00
hikerstk
7eb12abe32 Bugfix: another variables that was moved to the base class was left in the header file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5125 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 23:38:54 +00:00
auria
9fd06d06c1 fixed bogus code that didn't compile
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5123 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 12:41:35 +00:00
hikerstk
79b427ed00 Make sure that a 'Version' line is written to the history
file even if VERSION and SVNVERSION are not defined (otherwise
the history.dat file can not be read in).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 05:30:51 +00:00
hikerstk
8ccb172572 Bugfix: forgot to remove variable (which was moved to the base class),
so it was actually used uninitialised here. This caused warnings to be
printed and potentially incorrect (driving like drunk) behaviour of AI
karts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 04:24:12 +00:00
auria
664f2984d1 Added a couple checks to the history loading code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 00:46:12 +00:00
auria
100e82bc88 Added a couple checks to the history loading code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 00:43:56 +00:00
hikerstk
622104078f Fixed layout (no real code change).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 00:42:17 +00:00