auria
07afe4c87b
Fix quite a few leaks in the GUI engine, and introduce my quick leak-detection macros in dbeug mode (with Joerg's approval)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:08:04 +00:00
hikerstk
d0a4c086ed
Implemented rubber ball avoidance: if the new and previous
...
position of the rubber ball crosses a line running through
the rear wheels it is removed.
This condition is nearly impossible to fulfill - I only managed
to do this by driving in a tight circle (and then it was like
1 out of 10 balls that I could avoid). Not really useful, I
commit only to see if other people have more luck :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 07:24:27 +00:00
hikerstk
02a2642be7
Removed unnecessary static variable, made the target a moveable
...
instead of kart (which in future would allow us to make the cake
aim e.g. at other flyables).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 05:46:17 +00:00
hikerstk
18f6f6de17
Removed debug code which should never have been committed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 05:43:31 +00:00
hikerstk
aff44c77b4
Minor cosmetic changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-21 06:28:35 +00:00
hikerstk
a21c3a2c24
Fixed wrong #include (math.h instead of constants.hpp).
...
Thanks to khonkhortisan.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9878 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-21 02:17:15 +00:00
hikerstk
4b3e0c5d9d
Simplified attachment_plugins by not needing the
...
attachment object (which instead is taken from the
kart object). Also m_attachment from AttachmentPlugin
was removed, since this avoids #include kart.hpp
(reducing compile time) - it's not actually
needed (only for the scene node in swatter, which
now is saved separately).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9876 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-21 01:04:35 +00:00
hikerstk
ef069d50a0
Fix #428 : scene node of eliminated kart in battle mode was still
...
visible.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-21 00:55:18 +00:00
hikerstk
ca1093a563
Cosmetic changes only (to follow style guide).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-21 00:51:11 +00:00
hikerstk
a615b952c2
Cosmetic changes only (to follow our style guide).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-21 00:43:43 +00:00
hikerstk
c7cbec06b8
A kart with a bomb now explodes ( #427 ).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-20 01:46:11 +00:00
hikerstk
e371a273d6
Cosmetic changes only (style, comments, ...).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-20 01:44:27 +00:00
auria
b7b1c02bb0
On forum, with minigolf course, it was suggested that it would be cool to be able to use more accurate collision shapes, for instance enabling the windmill to hit the kart. I agree, and bullet can do that, so it's not possible :) but not used anywhere atm
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 19:53:02 +00:00
mbjornstk
31d7ff78f0
Remove svn:executable property from 3d data.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 19:04:43 +00:00
auria
c31b9687e7
Enable alpha testing on thunderbird to benefit from the transparency in the texture
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 18:55:23 +00:00
auria
decd66ca84
Make the thunderbird traffic light bright even if facing away from the sun
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 18:52:50 +00:00
auria
fb15ff1277
Regenrate .pot : split both '%s by %s' strings using context
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 18:09:24 +00:00
auria
5e905e4322
Added support for the gettext context feature
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 18:07:59 +00:00
auria
cd8162c30f
Disabling GFX should not result in ghost track objects
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 17:50:20 +00:00
auria
e7adf22c0a
Updates to XR591 : add a checkline to improve rescue when falling to a lower part of the track, and fix a couple graphical glitches, and add LOD to a robot that was quite poly-hungry
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 17:35:24 +00:00
auria
1908a58f95
Apply patch by rjaguar3 to display locale-specific dates
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 15:43:51 +00:00
hikerstk
45bab1846a
Updated VS10 project files (thanks to radifar).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 14:08:11 +00:00
auria
3029d01014
Fixed a couple minor typos found by marclennart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-18 00:12:12 +00:00
hikerstk
d25effaa5f
Make sure referee.xml is exported and installed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-16 04:06:26 +00:00
hikerstk
b82ee11056
Bugfix: autotools tried to install m4 (thanks to MaximLevitsky for
...
reporting this).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-16 04:05:14 +00:00
hikerstk
d3fb50ece4
Fixed compilation error when using AI_DEBUG, thanks to Kinus.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-16 03:24:08 +00:00
hikerstk
3185c5fcc9
Cleaned up world.hpp:
...
- sorted declarations so that all virtual functions
are together.
- Renamed *_IDENT variables to IDENT_* so that the
naming is consistent
- Using std::string& for IDENT_* instead of char*
- Use pointer for out variables in getDefaultCollectibles.
- Moved m_fastest_lap variable from world to LinearWorld.
- Many many cosmetic changes to follow our style guide.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-16 01:49:38 +00:00
hikerstk
9f4bce73a3
Added boolean flag to indicate if the referee is a start (true)
...
or rescue (false) referee - no actual implementation change yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-16 01:44:33 +00:00
hikerstk
6b19b7c49e
Fixing #419 : on restart of a 3SB tires previously thrown
...
on the track are now removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 12:46:03 +00:00
hikerstk
9811148d12
Added comments.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 12:44:53 +00:00
hikerstk
eeaf379e6b
Minor cosmetic changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 12:42:23 +00:00
hikerstk
38d3208524
Replaced 'unknown' thunderbird texture with Fraag's.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 02:02:35 +00:00
auria
ad59c350eb
Update strings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 01:50:46 +00:00
auria
2ed5b2b3d2
Fixed left over reference to secret garden
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 01:49:18 +00:00
hikerstk
2d1b267a78
Resorted credits to be more consistent.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-15 00:07:30 +00:00
hikerstk
e4b1f6b7d3
Added asserts so that accessing incorrect wheels will get caught early.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 23:36:03 +00:00
hikerstk
619ab62c46
Updated license to include Funto (my apologies for that).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 23:30:11 +00:00
hikerstk
c42ca91dc9
Fixed compiler warning (there is no need for doubled in STK).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 23:26:30 +00:00
hikerstk
8b85ee1cac
Uses arrays instead of m_tire_{1,2,3,4}_{radius,offset} scalar variables.
...
Fixed incorrect indices used for tires (used 1-4, should use 0-3).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 23:11:12 +00:00
hikerstk
7abdefca39
Made AABB of track higher to allow projectiles to fly
...
higher than the actual height of the track. This fixes
#412 (cakes immediately exploding in a basically flat
track).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 22:48:57 +00:00
hikerstk
0577fa8c91
Reduced interpolation distance. While this makes ball prone to
...
more abrupt change of direction, it (hopefully) avoids most
problems of the ball going off track (e.g. sand track when
firing up the ramp --> ball goes to the left of the tunnel,
bouncing on the pyramid; skyline and star track have
problems as well when a ball goes off track).
Added documentation of the rubber ball specific xml attributes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 21:51:17 +00:00
auria
daeefc9f55
Update Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 20:15:23 +00:00
hikerstk
890ddfa908
Fixed crash when the end controller was used.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 12:40:35 +00:00
hikerstk
481ca5bac8
Bugfix: Referee was not removed from scene.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 12:36:35 +00:00
hikerstk
ea6640321a
Initial rotation of thunderbird now takes heading of
...
kart into account.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 12:22:03 +00:00
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
mbjornstk
359b4d6e7b
Remove useless svn:executable property.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 06:08:28 +00:00
hikerstk
adc2209f0d
Added license information for thunderbird model and texture.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-14 01:56:10 +00:00