Commit Graph

6976 Commits

Author SHA1 Message Date
hikerstk
b5c3266d2e Besides some cosmetic changes added & to setSelection parameter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-30 01:07:05 +00:00
hikerstk
798576ef12 Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-29 23:03:00 +00:00
hikerstk
313e5ea9e1 Fix #447: crash at race start after changing the resolution.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-29 23:01:52 +00:00
hikerstk
c242708315 Use reference instead of a copy in getFrameSize.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-29 05:52:56 +00:00
hikerstk
c7d7ef7263 Only cosmetic changes to follow our style guide (now
all STK source files have less than 170 characters
per line ;)  ).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-29 05:39:06 +00:00
hikerstk
eb5b5553ea Cosmetic changes only to follow our style guide (esp
line length).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-28 22:34:35 +00:00
hikerstk
2b805c7d69 Added support for physical objects triggering rescue on collision
(#163). Objects must be declared with 'reset="Y"' in order
to trigger rescue.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-28 10:52:41 +00:00
hikerstk
3e32b840bf Only cosmetic changes to adjust the files to our coding style.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-28 05:19:22 +00:00
hikerstk
3777726596 Only cosmetic changes (line length, ...).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-28 04:54:52 +00:00
auria
3807b30074 Disable post-processing in multiplayer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-28 01:54:16 +00:00
hikerstk
174cea6825 Updated fonts to test the new fixed font (for #388).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-28 00:35:20 +00:00
auria
8a4bc01416 Fixed #444
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 22:58:11 +00:00
auria
480ab1c436 Make code a bit more robust at detecting problems (not fixed yet though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 22:53:13 +00:00
hikerstk
29453de9fa Added referee in rescuing a kart. Note that at this
stage thunderbird still has the traffic light attached, and
the position of the bird in relation to the kart is not yet
ideal.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 11:46:27 +00:00
hikerstk
8dd1dd5767 Cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 04:14:26 +00:00
hikerstk
721dc947dc Improved referee position and animation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 03:31:01 +00:00
hikerstk
0a043b57b8 Fixed bugs in the computation of the rotation angle for the referee
so that it faces the kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 03:03:43 +00:00
hikerstk
d3276d0adf Removed Kart::attach(), Kart::getAttachment()->set
can be used instead.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 01:13:42 +00:00
hikerstk
2e571a1172 Added comments, minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-27 01:12:36 +00:00
hikerstk
2590a8236a Update the kart translation after it was reset at the start of the
race. This way getXYZ() and getTrans() now report the correct 
position after the kart were reset, before the first frame (i.e.
before Moveable::update() is called the first time).
This caused the referee position to be inconsistent between 
tracks (and this will for now cause the referee position to be
bad ... but at least the same bad in all tracks ;) ).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-26 22:11:30 +00:00
hikerstk
f6607dc77c Translate referee mesh so that x/z center of the mesh with the
smallest Y coordinate is at (0,0,0). 
Note that this probably makes the position of the referee more
incorrect atm.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-26 22:08:10 +00:00
hikerstk
f317625507 Use English names for source and header filters
(they were in German) - thanks to radifar for
noticing this!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-23 02:46:44 +00:00
hikerstk
fca2810432 Added Radifar's update for VC10 - thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-23 02:42:13 +00:00
hikerstk
ae9b3b8e0f Added missing <stdio.h>, which is necessary on linux
(and sorted includes a bit).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-23 00:17:52 +00:00
hikerstk
cc9fce2965 Fixed VS compilation problem ('free' is a macro) by renaming free to deallocate.
Updated VS 9 project file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-23 00:07:24 +00:00
auria
d8d6865306 Fixed another harmless but annoying leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:46:00 +00:00
auria
60d9638ca4 Fixed another (harmless but annoying for Valgrinders) leaks in theGUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:42:21 +00:00
auria
978bb5466b Fixed a couple more leaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-22 18:24:28 +00:00
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