Commit Graph

4492 Commits

Author SHA1 Message Date
xapantu
f1ead12a87 Update translations from Launchpad.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-30 17:41:22 +00:00
mbjornstk
583689c347 Add messages for bowling ball self hits.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6169 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-30 06:01:10 +00:00
hikerstk
231d757557 Added test scene file for the new lap counting check structure.
The new lap counting makes it unnecessary to define several lap
counting lines in order to handle karts not passing the main
lap counting line exactly. To test this, rename 
scene.test_lap_counting.xml to scene.xml.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:28:06 +00:00
hikerstk
6d3c17f602 Added different way for detecting new lap: based on the quads this will
make sure that player ranking is always accurate. It's not used atm,
but around for testing.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:23:16 +00:00
hikerstk
ecfd912d54 Fixed --stk-config parameters: the user specified config file was read too late
(after all karts were loaded and therefore initialised with the original config
file default parameters), see bug 3072762.
-This line, and those below, will be ignored--

M    main.cpp
M    config/stk_config.cpp
M    config/stk_config.hpp
M    items/item_manager.cpp


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:09:53 +00:00
auria
ce0a163d5c Updated Nolok animation by Rudy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 23:08:50 +00:00
hikerstk
fe91d4cfe5 Switched off debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 00:26:48 +00:00
hikerstk
ba0f869299 Added two more lap counting lines to the left and right of the
main lap line (and also renamed the .b3d file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-29 00:09:01 +00:00
hikerstk
9c8663c72e Added support for check groups to the track exporter. Now more
than one (e.g.) lap counting line can be defined (the one based
on quads will always be there). So crossing any of those lines
will trigger new lap, and they all will be activated etc from
check lines.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6162 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:33:09 +00:00
hikerstk
4b4bddf35e Support for grouping check structures. E.g. it is now possible to
have more than one lap line, which will always be in synch (i.e.
if one is triggered, all will be set to inactive).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:29:21 +00:00
hikerstk
3d66c17292 Added files missing in previous commit - sorry.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:27:14 +00:00
hikerstk
e189746787 Removed dubious warning about start line not on quad,
which can give a false positive on certain platforms due to 
floating point errors.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 23:19:56 +00:00
auria
e24b447a6d Removed unused includes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 14:35:43 +00:00
mbjornstk
dbdb112cfa Add reminder about XYZ vs XZY coordinates.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-28 01:06:37 +00:00
auria
dd50501e73 More minor changes to make sure crashes don't occur due to the thread in the main screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 15:46:24 +00:00
hikerstk
4976d9d60c Made the backwards facing camera using a higher angle to make
it more useful (actual angle can be determined in stk_config.xml).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 12:15:19 +00:00
auria
6432d83c27 Fix more potential crash at shutdown regarding with add-on threads
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 01:27:06 +00:00
hikerstk
3c2f45a556 Changed slipstream handling: boost will now be given when getting out
of slipstream and enough 'slipstream credits' have been accumulated
(which is shown by a little bit of nitro). This should avoid the problem of
crashing into the kart ahead when getting nitro, and also make it less
likely that the AI creates trains.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-26 22:44:23 +00:00
auria
90cfa6bb4a Have better behavior than aborting when a bad kart is found (especially relevant with the add-on manager coming)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-26 01:20:50 +00:00
auria
6459ff96df Fixed the fort magma tunnel ending so you don't apepar to drive on lava + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-26 00:02:49 +00:00
auria
e4547b7a1a Improved fort magma skydome look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6149 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 23:48:55 +00:00
auria
a2edd2a9de Fixed several vertex color problems (re-exported fort magma because some per-plane vertex colors were not supported by B3D and/or irrlicht so I needed to split a few objects to have vertex colors work fine)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 23:39:08 +00:00
hikerstk
351a69adfe Fixed upright constraint, which prevents karts from toppling over when
jumping (e.g. paper plane in math class).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 21:57:56 +00:00
auria
d62e1f659d Fixed bug that could occur when leaving kart selection screen and a kart is currently leaving but not yet gone
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 20:12:54 +00:00
auria
984030f990 Added much debug code to help detect bugs early in kart selection screen and player management (see recent ticket; although these checks can be useful outside of this particular ticket anyway)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 18:34:04 +00:00
auria
90766a6118 Fix thread cancellation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 18:09:06 +00:00
hikerstk
0c5c9496cf Fixed bug 3074299 (slipstream in air on low level AI).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 13:48:41 +00:00
hikerstk
e261294e47 Improved handling of multiple items by the AI.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6142 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 12:29:03 +00:00
hikerstk
87bb1cea34 Fixed incorrect camera angle when the kart is driving up a steep hill.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 12:22:56 +00:00
hikerstk
ad2a19b94f Removed unnecessary model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 01:42:36 +00:00
hikerstk
ac2c96331f Removed (non-existing) wheels to avoid warning message (r6137 on
branch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 01:32:14 +00:00
hikerstk
916b67dd80 Updated version number for VS project.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 01:17:04 +00:00
auria
6c32bdb0cc Fixed fort magma lap counting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6133 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-24 00:32:40 +00:00
auria
9eb8d68d71 Updated credits to mention KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6131 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 23:57:48 +00:00
hikerstk
4694be90c3 Reverted patch 6123 (introducing AI steering variations), since it
resulted in AIs driving badly (even when the variation was set to 0).
This patch will be re-considered later, after the alpha 3 release.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 23:18:53 +00:00
auria
0f77cf20ee Fixed issues with karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 17:55:36 +00:00
auria
8e34ef5d25 Updated hexley to latest animations by Rudy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6126 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 14:36:28 +00:00
auria
7c0174d402 Updated to latest animated gooey by rudy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6125 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 14:25:16 +00:00
auria
4e3499f27a Latest animated mozilla by Rudy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6124 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 14:17:21 +00:00
hikerstk
2c7213b83e 1) Added support for AI steering variations: AI karts will now not
steer to the same driveline point, but to points slightly to
   the left and right. The maximum variation is defined in
   stk_config.xml (and should be between 0 and 1).
   ATM THIS IS DISABLED! Since in my tests it appears that
   the AI is not driving as good as previously anymore, i.e.
   it drives more S-lines on straights etc. To enable this change
   steering_variation in stk_config.xml
2) AI now handles multi-items better by waiting a certain amount
   of time before using the next item.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6123 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:21:52 +00:00
hikerstk
cbf089ce40 Disabled slipstreaming for low AI level.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6122 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:18:46 +00:00
hikerstk
2c98d511fe Fixed graphical error in FTL races when music is enabled
(see bug 3072740): the countdown timer caused incorrect
values to be used for the 'music credit' display.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:17:04 +00:00
hikerstk
6b46f3162f Fixed uninitialised variable (which was used around line 695).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:45:08 +00:00
hikerstk
58116b66be Made the up-angle relative to the pitch of the kart configurable.
It now defaults to 15 degrees (it was 30 degrees, but accidentally
a hard coded value of 15 was committed in r6110).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:43:10 +00:00
hikerstk
6b3d0db0fa Fixed crash in case that not enough AI are selected in a FTL
race (now there will be at least three karts in a FTL race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:13:54 +00:00
auria
366395d565 Up to date gnu animation by rudy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 19:43:05 +00:00
auria
ca2fc9cfae Minor more work into fort magma
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 19:29:38 +00:00
auria
77345319a1 Updated fort magma to be less hard on the eyes in the tunnel
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 19:10:19 +00:00
hikerstk
b41e85f03e Fixed lap counting in math class.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 04:50:11 +00:00
hikerstk
ea94ac5c7c Karts that have finished the race will now still give slipstream advantage.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 02:17:00 +00:00