auria
8d0273ced0
Allow cutscenes to have no music, a few minor other fixes in animation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-17 00:13:33 +00:00
auria
9dd3bb9468
Fix : objects like the subsea seagul would be animated even when animations were turned off
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-17 00:05:32 +00:00
auria
be37c90147
Make sure animations in cutscenes are rendered even if gfx are disabled
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 23:47:53 +00:00
auria
aced31cbfa
Add support for playing sounds at given points during the cutscene
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 23:35:51 +00:00
stephenjust
f7ce2fcd44
Update VC10 project for present-ai
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 22:14:48 +00:00
auria
cff2dd75bc
A few audio adjustments for intro cutscene, and now play the scene when playing on the story mode button (sorry story mode will be unavailable for a little while, but you can comment out the sdebugging code that launches the intro)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 19:41:21 +00:00
auria
c6c4544f2a
Start work to make some animations played even when GFX is off
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 19:23:38 +00:00
auria
86e346daeb
Instead of harcoding where the camera looks during cutscenes, import it from blender. Unfortunately this makes the camera jumpy, not sure why?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 17:41:34 +00:00
mbjornstk
ff555abfdb
Add present_ai.[ch]pp to build system. Set their EOL property.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-11 00:53:37 +00:00
hikerstk
e7b0874274
Applied a (slightly modified) version of jskij7's patch to create
...
an AI that actively collects items. This is (for now) the new default
AI - feedback welcome!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-10 19:52:11 +00:00
hikerstk
6536b4d112
Improved handling of controller name so that the end
...
controller keeps the name of the original controller,
which allows proper statistic output in profile mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-09 15:48:18 +00:00
stephenjust
7f28171b73
Update VC10 project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-09 01:52:57 +00:00
hikerstk
f7e6befce5
Updated documentation.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-08 21:23:33 +00:00
hikerstk
351c3f4367
Added support for a text that is shown above a kart to the
...
kart (and changed the FTL code to display 'Leader' so that
it uses this feature now).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-08 21:14:00 +00:00
hikerstk
4995fd22a3
Fixed compiler warnings (and removed some digits which I guess
...
are unnecessary).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-06 10:06:10 +00:00
auria
dae00f0828
Add first version on intro cutscene. Still incomplete but goes somewhere :) Ask me for the menu patch if you want to look at it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-05 00:27:34 +00:00
auria
b1a24a78a9
More work on cutscenes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-03 00:08:18 +00:00
auria
9ba0c7f137
More work to make cutscenes work
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-02 22:35:09 +00:00
wardje
4c3e6d864d
Fix #373 + small bug introduced by r11160
...
* Make sound work when driving back by taking absolute value of
the speed.
* r11160 made the sound not restart at all when coming to a halt and
then speeding up again on materials (eg bridge in Coyote Canyon).
Fix this by instead of stopping the sound, pausing it and allowing
restarting only if the material sound was paused. Don't allow when
stopped to take into account that music can be in stopped state
when it's non-looping and it had been played once already.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-02 21:28:32 +00:00
wardje
dfd945bc77
Fix bug where easy challenges weren't being counted
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-31 16:48:59 +00:00
hikerstk
12db148cc0
Updated VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-31 02:48:54 +00:00
mbjornstk
e6c12cfaef
Add cutscene_world.[ch]pp to build system. Set their EOL property too.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-31 02:42:51 +00:00
auria
553385fe9d
Start work to allow showing worlds without kart, for cutscenes. Does not work yet but getting closer
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-31 01:32:27 +00:00
hikerstk
736d0bf430
Tried to fix karts randomly disappearing, caused by an uninitialised
...
variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-24 00:08:20 +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
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
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
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