Commit Graph

7890 Commits

Author SHA1 Message Date
auria
7bb9d39031 Commit improvements to fortmgma by ctdabomb to make it more drivable in reverse mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-23 23:50:03 +00:00
mbjornstk
28f9d89930 Update build system for the renamed AI files and remove svn properties.
Check SVN-CONFIG in root directory, keywords property not in use anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-22 00:26:39 +00:00
stephenjust
bd70fc38a0 Update VC10 project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-21 20:38:16 +00:00
hikerstk
ec797b68e8 Minor code cleanup (replaced loop to find closest karts with
corresponding function in world; fixed bug when trying to hit
a kart ahead when having a bomb; removed unused code). No
change of actual functionality.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-21 12:41:47 +00:00
hikerstk
1398184b35 Removed unused new AI controller, and created
new skidding ai which is at this stage a copy
of the default AI controller.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-21 06:57:05 +00:00
hikerstk
d6e3c5dc13 Added some visualisation feature for skidding (only when
defining SKID_DEBUG in skidding.hpp). Using this will show
the predicted path of a kart when starting to skid, and the
actual path taken. Note that the speed of the kart gets
fixed at a #defined value (since the speed affects the
turn radius making it much harder to evaluate the estimation
if the speed varies, as it naturally does when turning).
This will likely be removed once the AI skidding if done.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-21 06:46:56 +00:00
hikerstk
c6336649b3 Fixed #634 - crash when exiting a game with ghost
(ghost karts were not removed, causing problems when
drawing all later).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-20 00:29:03 +00:00
hikerstk
3776189327 Bugfix: avoid trying to add the (non-existant) body of a ghost kart to the physics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-19 04:36:10 +00:00
auria
b1862cbc20 Tentative fix for #636
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-19 00:26:31 +00:00
auria
c8361380f2 Remove old 'ontirb' folder which contains unused stuff and has no reason whatsoever to be in our current trunk
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-18 23:24:02 +00:00
hikerstk
dbf7654178 Removed automatically starting a race if --ghost is specified, since this will
start the wrong race if no --track is specified.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-17 23:11:41 +00:00
auria
e5a3a45153 Add missing file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-16 00:21:34 +00:00
auria
87b2ee2b5d Add sample implementatiomn for ticket 263, add text to hover over karts, in follow the leader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-16 00:12:16 +00:00
hikerstk
800d448fe3 Fixed bug introduced in r11132: the AI selected to fire, but
didn't call the (now necessary) onFirePressed function in kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-15 23:49:04 +00:00
stephenjust
e5c33f58ff Fix assert when uninstalling an add-on whose data dir was deleted. (This case used to make the add-on not uninstallable)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-15 01:31:38 +00:00
auria
9cc6593a4c Quick fix to make --list-tracks and --list-karts available again. Note that I removed the feature to list only unlocked ones, since we now support many game slots, so it's not clear who's game slot's unlocked things we should show
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-15 01:24:59 +00:00
stephenjust
7530f26b2c Update VC10 project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11238 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-15 00:45:35 +00:00
mbjornstk
8dd164702b Add show_curve.[ch]pp to build system and set their EOL svn property.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-15 00:10:56 +00:00
hikerstk
17b1030850 Re-enabled usage of items for AI - sorry, that had been a debug change
that should never have been committed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-14 22:36:20 +00:00
hikerstk
02d1141bb7 Added class to show an arbitrary 3d curve in a race, and used this class
to display the curve of a cannon (when using --track-debug).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-14 22:26:41 +00:00
magned
f23993eea3 Changed turn-radius at lower speeds. Now it's possible to do Minigolf curves after slowing down
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-14 01:58:41 +00:00
mbjornstk
ce52e038b7 Make sure EOLs stay sane.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-14 00:42:13 +00:00
auria
a5a630f410 Use the new OVERRIDE macro in a couple more places
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-14 00:20:00 +00:00
auria
dd487346aa Introduce (in a totally optional way) the C++2011 feature to explicitely mark overrides. This bit us quite a few times in the past, so if we start using this more then those with GCC 4.7 will at least catch the errors when they happen :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-14 00:04:26 +00:00
hikerstk
3980f1a667 Removed 'jump' in visual rotation when skidding is ended.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-13 21:49:28 +00:00
stephenjust
ebefe53b01 Updated VC10 project files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-13 01:51:24 +00:00
auria
c82ce876de File i forgot to commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-12 17:20:22 +00:00
hikerstk
04c3624d63 Fixed missing music (and count down) in demo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-10 13:05:45 +00:00
hikerstk
a526fef588 Made m_phase and m_auxiliary_timer private, and added
setPhase. Removed usage of auxiliary timer in overworld
(instead set phase to race_phase) - as a result there
is no mpre 'Go!' being displayed (which I think is
actually better for the overworld).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-10 12:57:45 +00:00
auria
81691b00c0 Show title of track in the dialog to pick a challenge difficulty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-10 01:20:50 +00:00
auria
c310e1b300 Hide points when showing track names so that both don't overlap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-10 01:11:59 +00:00
hikerstk
7c4cebcbd5 Disabled new skidding code again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-09 23:47:24 +00:00
hikerstk
4aecbb7ec3 Removed unnecessary settings of a demo mode in ProfileWorld.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-09 23:05:25 +00:00
hikerstk
fb249f43bf Allowed to enable smooth-normals per track, and added this flag as an
example to lighthouse track. Note atm both needs to be set: smooth-normals
in the track.xml file and in stk_config. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-09 22:57:51 +00:00
hikerstk
fdbeca93a2 Converted line endings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 07:09:51 +00:00
hikerstk
5963f31079 Removed physics.hpp #include from world.hpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 07:07:15 +00:00
hikerstk
7bcb6a780b Made animations cyclic.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 04:42:15 +00:00
hikerstk
d7aa324c25 Made animation cyclic.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 04:27:32 +00:00
hikerstk
23d643390a Re-exported with animations marked as cyclic.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 04:23:16 +00:00
auria
78a6da45f2 Rename 'end race' button so that it's clearer what it does
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 01:00:32 +00:00
hikerstk
ddace7368c Set a more sensible default value for number of tracks in demo mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 00:17:33 +00:00
hikerstk
995124093d Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-08 00:12:19 +00:00
auria
b12e73fe5c Add 'global' idle for demo mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 23:59:16 +00:00
hikerstk
c74fa3fcf0 Fixed #625 (seagull animation not working), by setting the extend type
to cyclic (instead of constant). This also fixes the zipper which used
old style attribute names in materials.xml (fade_out_time instead of
fade-out-time etc).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 23:37:42 +00:00
hikerstk
fe35613323 Fixed #560: if a rigid body has more than one collision (and one collision can be
reported p to 4 times by bullet), a crash would be caused when the rigid body is
removed (meaning that all further collisions with this body are invalid/removed,
while the loop in physics still tries to access them).
This patches removes bodies only when it is safe to do so, i.e. after the collision
loop. Removals done in the loop will be stored and executed later.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 21:59:21 +00:00
undef-in-ed
0b329b1542 Bugfix: Overwriting PATH breaks gcc toolchain on some systems
This has been the reason for the IRRLICHT_WITH_XF86VM and
IRRLICHT_WITHOUT_XF86VM failures on some Linux machines.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 17:40:18 +00:00
auria
85ba896d04 More work to communicate the points system to the player
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 02:03:03 +00:00
auria
60f26bde9f Better show in overworld GUI how trophies become points
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 01:54:32 +00:00
auria
f2cb7a8eac Give more points when solving hard challenges
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 01:42:11 +00:00
auria
6a50f23ea0 Nice little hack to make the GPs appear in the right order in the GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 01:14:26 +00:00