Commit Graph

4369 Commits

Author SHA1 Message Date
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
hikerstk
248c12c3a2 Properly fixed bug 3072032 (crash when doing a challenge) - the call
to computeRandomKartList is not necessary, the real problem was that
the game data structure was set up before the new data was
defined (e.g. data was initialised for previous number of karts,
after initialisation the correct number of karts was set, causing
a crash).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:04:49 +00:00
hikerstk
f9ac707095 Fixed incorrect setting of max speed and engine power depending on
level - low level actually drove faster.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 01:44:26 +00:00
auria
a22c395f1f Fixed silly typo in Screen docs + shorten lines a bit while at it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 00:38:21 +00:00
hikerstk
bb274576a5 Fixed bug that resulted in karts getting no item at all.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 00:34:13 +00:00
auria
42034a1d5c Removed old wilver mesh
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 00:00:16 +00:00
auria
761458cbe3 Added forgotten mesh
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 23:59:29 +00:00
hikerstk
357483da51 Added grab/drop to avoid that the animated scene node of
which a copy is used is not accidentally deleted.
Also initialised m_animated_node with zero to handle
incorrect usages of the kart model.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 23:27:49 +00:00
auria
adffdc4eaa committed adiumy animations by rudy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6093 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 23:13:27 +00:00
auria
a35f05b0c8 Added new wilber by rudy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 23:09:25 +00:00
auria
a0663abb5a Added rudy's converted oliver math classes with a couple modifications by myself. We still have vertex color issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6089 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 19:33:36 +00:00
auria
2c98942c6c Fixed empty GP list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:36:12 +00:00
auria
69feb27034 Simplified ribbon code by not invoking number of row estimation code for single-row ribbons...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:36:02 +00:00
auria
a17b78d5fc Tweaked formula used to determine best number of rows in dynamic ribbon. It now looks fine in all resolutions I tested. Hopefully the now rather complicated formula doesn't have unforseen issues...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:31:59 +00:00