Commit Graph

4382 Commits

Author SHA1 Message Date
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
auria
81aca22434 Fixed weird music being used on XR591
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-22 02:01:52 +00:00
xapantu
998e614d25 Fix adiumy kart (straight was missing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6109 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 19:13:33 +00:00
hikerstk
51fa6251b2 Fixed missing railing (to the right side of the road at start) in fort magma.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 13:47:31 +00:00
hikerstk
b754d9c879 Fixed camera aiming at incorrect (previous) position when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 12:25:17 +00:00
hikerstk
4733fead77 TUrns out the spaces did not actually remove the warning (sorry,
missed the warning when recompiling). So I've added a "."
at the end.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 10:36:40 +00:00
hikerstk
7085283a29 Fixed compiler warning ('\' at end of line indicates that the
line should be continued, so I added a space).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 10:34:17 +00:00
hikerstk
66259c59f6 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 10:28:30 +00:00
hikerstk
a973e8b84f Renamed all instanced of RandomKart in the race_manager to
AIKart (e.g. m_random_kart_list -> m_ai_kart_list) - since this
describes what the lists and function actually are (in network
the name is not entirely correct, but since this will be 
re-implemented anyway, we leave the proper naming till later).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 07:37:42 +00:00
hikerstk
3bc2a8b93d Fixed VS compilation problem (log from integer value).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:46:57 +00:00
hikerstk
1b1224b244 Added assert to catch inconsistent setting of number of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:07:28 +00:00