Commit Graph

3555 Commits

Author SHA1 Message Date
hikerstk
5696fc0c73 Moved explosion and rescue handling to EmergencyAnimation object
(previously called ExplosionAnimation).
Updated vs project file for latest changes as well.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:21:35 +00:00
hikerstk
eefeab5fd0 Added better debug output for missing textures.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:19:24 +00:00
hikerstk
4c534ee7b8 Textures for models are now taken from the models directory, not from
the shared texture directory anymore (some work might still have to be done).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 13:18:11 +00:00
hikerstk
3670951f02 Fixed installation, some fonts were missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 00:42:56 +00:00
hikerstk
09262bfe9a Only accept irrlicht 1.7 and newer, since irrlicht 1.6.1 still has
issues with displaying the speedometer correctly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-22 00:24:55 +00:00
auria
18d9c4d869 Added files to makefile.am that I accidentally removed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 22:54:26 +00:00
mbjornstk
7198941941 Remove sound_manager.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 22:05:13 +00:00
auria
05e79fa23a Allow cakes to be fired backwards, to be more consistent with pretty much all other weapons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 19:45:24 +00:00
auria
4c755d02c0 Added support in feature unlocked chest for unlocked GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 19:19:42 +00:00
auria
055687abbf Added (currently disabled) code to add icons in list widgets, this could be useful in the future. Unfortunately, irrLicht is again unfreidnly to out scalable UI; I've not figured a way to make them scalable at this point so I won't be using them right now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 18:14:28 +00:00
auria
84e8ea73e7 Added FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:28:08 +00:00
auria
297f0cceb4 Renamed SoundManager into MusicManager, since this makes it much clearer what it does (it was just confusing to have SoundManager and SFXManager)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:24:02 +00:00
auria
c12618a48a Moved some audio code around because the previous organisation was confusing, there was some SFX code among the music code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:16:49 +00:00
auria
c70a8536d2 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:15:39 +00:00
auria
0a6f64dcc2 Fixed configure.ac to warn when a too old version of irrLicht is used (we got quite a few reports because of this). Please report any regression\! Along the way I also made the configure.ac file cleaner by removing copied-and-pasted bits and put then in common instead, and fixed OS X compoilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 15:37:36 +00:00
hikerstk
c6127dc0f6 Removed debug printf statement, removed global variables (which I swear was only done
to avoid a complete recompile, since the laptop's battery were nearly empty).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 00:16:43 +00:00
hikerstk
f1fd38cbf3 Added (for testing) new explosion handling, which uses a fixed random animation
to toss karts around after an explosion.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:50:38 +00:00
hikerstk
ec83ef6cad Bugfix: tried to print a std::vector<bool>, instead of the bool.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5222 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:48:29 +00:00
auria
986f74d333 Install a temporary event handler in the irrlicht device, until EventHandler is ready to take upon to task, to shut up irrlicht's chatty logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 23:45:54 +00:00
auria
9074febf54 Fixed missing music issues when aborting race / going back to main menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 19:11:48 +00:00
auria
ca67d7e6b1 reverted changed to jungle track that were committed accidentally
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:33:26 +00:00
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