Commit Graph

4836 Commits

Author SHA1 Message Date
hikerstk
d5e67579fc Set heading correctly (esp. at startup, i.e. before first update
is called).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 06:59:16 +00:00
hikerstk
6607e98ff5 Made the bird rotate a bit so that it is facing the kart
(note - that does not solve the bug that if the kart is
not at heading 0 the bird will face the wrong direction).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 06:35:27 +00:00
hikerstk
82197488b0 Made the model rotation configurable; improved
documentation of referee.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 06:32:05 +00:00
hikerstk
eaeb958d78 Fixed compilation problem on Linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 01:02:33 +00:00
hikerstk
f85556d83a Added thunderbird as start referee. Known bugs:
1) Ready, Set, Go is still shown.
2) Orientation of thunderbird is not correct in
   all cases (esp. in battle mode).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 00:48:49 +00:00
hikerstk
d3d0b87d93 Replaced #include with forward reference to reduce dependencies.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-13 23:43:15 +00:00
hikerstk
124c795120 Cosmetic changes only to follow our coding guidelines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-13 23:42:06 +00:00
hikerstk
bc3c68cdaa Allow to add a NULL animated mesh. This enables the usage of readonly
materials (first add a NULL mesh, then set readonly material, then add
the actual mesh ... Adding the mesh first, then re-adding does not work,
since irrlicht tests if there is really a different mesh).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-13 23:40:41 +00:00
hikerstk
c298f6ef85 Applied Khonkhortisan's patch for #423: use the actual kart wheel models
when losing the final tires.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-13 02:51:33 +00:00
auria
222a7c2372 Hopefully Joerg won't mind ;) salvaging Adiumy by improving physics for tall karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-13 00:03:42 +00:00
auria
f5b627bccd Fixed crash in battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-12 23:39:59 +00:00
auria
9878f12039 Improve and simplify improved rescue code; also remove the CHEATER message I tried to add because it had some glitches
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-12 00:57:14 +00:00
auria
1f19560a29 More tweaks to improved rescue, plus as a bonus use the additional info we now have to let users know when they missed a checkline
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-12 00:28:46 +00:00
auria
d8a5d710e9 Fixed minor issue in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-12 00:07:41 +00:00
auria
2311b11b90 Added new smart rescue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-11 23:59:49 +00:00
auria
ee7b178dce Started adding code to assign a checkline to each quad (currently disabled). See #398
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-11 19:46:51 +00:00
auria
727f84d7f8 Fixed water creating visible polygons, thanks to Hybrid for the weld tip. Jperg, maybe you can check my memory management makes sense (I think I'm getting the hang of it but I'm still not sure I know what I'm doing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-11 15:46:47 +00:00
auria
f099a6f4c0 When swatting a kart with a bomb, both karts explode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-10 23:47:04 +00:00
auria
0fcdada738 Removed some logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-10 23:23:08 +00:00
auria
6698949799 Add get-rid-of-bomb animation for swatter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-10 23:20:57 +00:00
auria
58c634e1f4 Apply patch by khonkhortisan to lose 4 tires in 3 strikes mode, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-10 21:47:23 +00:00
auria
aa034e2a97 Set fog on textures that don't appear in materials.xml too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-10 19:33:41 +00:00
auria
1b28c99ceb Minor tweak to prevent some rescues in fly mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-10 19:33:09 +00:00
auria
43dcef7968 Fixed bug with particles being emitted at (0,0,0)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-10 18:25:21 +00:00
auria
cd859dcaa5 Fix silly GCC warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-09 00:40:08 +00:00
hikerstk
a06e4a3ba8 Improved documentation, fix bug that rubber ball would not
handle losing its target correctly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9786 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-09 00:27:44 +00:00
auria
7b0be185d4 Properly clear nitro on restart, plus fix some silly code where sometimes we carefully check if (m_nitro) before using the pointer, and at other times we use the pointer without checking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-08 01:31:30 +00:00
auria
11c698e29d Fixed the timer remaining stopped when exiting race from pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-08 01:27:04 +00:00
hikerstk
b8f84d5d75 Removed warning in case that a partially downloaded file (*.part)
is found in tmp when exiting stk.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-08 00:18:23 +00:00
auria
a3eb3e293a Slightly tweak location of spare tires in 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-07 23:50:25 +00:00
auria
b46b8cfaa6 Perform some validations when clicking on list item in addons screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-07 23:39:59 +00:00
hikerstk
1eaf8b436d 1) Fixed #407: crash/memory leak in battle mode.
Just dropping the last reference to the mesh
   does not remove the pointer to this mesh from
   the mesh cache --> in the next race when the
   tire model is loaded again the mesh cache tries
   to load a freed mesh.
2) Fixed floating tires: TrackObjectManager::removeObject 
   does not remove the scene graph or physics world.
   Just leaving them in the objects managed by
   TrackObjectManager frees them as expected
   (side note: I am considering refactorin removeObject ;) ).
3) Improved documentation on ThreeStrikesBattle.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-07 21:45:21 +00:00
auria
4f3cbae063 Improve reload feature in addons (see #415)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-07 19:18:45 +00:00
auria
53b5758eee Actually update the addons list on reload
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-07 19:05:00 +00:00
hikerstk
1d2a0f4b89 More fixes in case that we have a kart without wheels.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-07 00:56:14 +00:00
auria
4782c7ae39 Improve handling on long strings in tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 15:54:30 +00:00
hikerstk
2143c7ee3a (Hopefully) fixed crash on OSX if gnu kart is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 12:45:43 +00:00
hikerstk
5f615c61e6 Added information about which successor of a graph node to
use in order to reach a certain target graph node.
This is now used by the rubber ball to follow karts even
if they are on an alternatice way/shortcut.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 06:56:00 +00:00
hikerstk
d4317a0839 Updated autotools building, including distributing of the directories
tools; data/shaders; data/tutorials; and other missing files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 06:09:27 +00:00
hikerstk
fbc2b35c7f Fixed #409: missing files for Xcode built. Also adding codeblocks
files (not sure if they are up to date).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 06:03:24 +00:00
hikerstk
25c74e3b3e Added missing files (which went unnoticed since the files
were not compiled under linux).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 05:18:35 +00:00
hikerstk
eb12aedbbf Fixed compilation problem if this file is compiled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 05:17:21 +00:00
hikerstk
8efe390c08 Made rubber ball debug output also available in non-debug
compilation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-06 02:54:15 +00:00
auria
c4fc2a2bf7 Fixed issue of 3-strikes lives not being visible with the minimal race UI by somewhat de-minimizing it a bit in 3 strikes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 23:49:17 +00:00
auria
2d6cb641c5 In 3 strikes you now have only 2 spare tires, to be more logical. And when you lose you actually lose your wheels.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 23:21:21 +00:00
hikerstk
13de49b5ee 1) Improved rubber ball handling, which should work better in tunnels
and inclines now.
2) Added --debug=flyable debug option to use print plenty of debug output
   for rubber balls (needs to be compiled with -DDEBUG to work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 23:20:23 +00:00
auria
78eac6b7ce Add gloal profiler marker, will help get percentages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 22:55:55 +00:00
auria
29e09f5231 Fixed the fog=N flag in materials.xml
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 20:11:32 +00:00
auria
d2e5914c84 Minor improvements to some logging (most importantly, missing \n at the end)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 19:08:15 +00:00
auria
aa3ac2849a Improve some logging
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-05 19:03:35 +00:00