Commit Graph

7936 Commits

Author SHA1 Message Date
wardje
3b4b1a6e30 Add cutscene_gui.[ch]pp to cmake build system.
Fixes compilation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-24 16:40:08 +00:00
auria
4186cd6a83 Add fade-in/fade-out support to the cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-24 15:38:17 +00:00
auria
e3283be6f0 Fix unsmooth camera movement in the cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-24 15:02:50 +00:00
auria
6147c887a9 Allow skipping the cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-24 01:39:49 +00:00
auria
3901ea9840 Continue after cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-24 01:22:42 +00:00
wardje
1caba55886 Remove gameslots when they don't have a player
Gameslots were not getting removed when players got removed. Add a check
when the player options screen gets torn down.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-22 17:57:22 +00:00
wardje
97c5153832 Tentative fix for #647
Fixes #647 (crash when trying to use a newly made player), doesn't feel
too clean though this way. Possibly better to immediately adjust (and
save) the gameslots instead of waiting for the options screen to get torn
down.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-21 21:00:11 +00:00
wardje
9589f7c9a5 Fixes minor bug in player options screen
* Fixes minor bug where incorrect internal name was set to the listitem.
 * Moves refreshing of player list to its own (private) function.
 * Also a small indentation correction in accordance with the style
   guide, which sadly makes for a big heap of recompiling.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-21 16:33:30 +00:00
wardje
7dc4e585d1 Make easy challenge doable on subsea and snowpeak
Greatly upping time for both. Probably still too fast for actual
beginners.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-20 23:32:17 +00:00
auria
6a12217b10 Fix compilation for non-C++2011 compilers, oops
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-17 22:42:33 +00:00
auria
92385e68e5 Fix compilation for non-C++2011 compilers, oops
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-17 22:33:30 +00:00
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
f2a15e8cbe Add sounds forgotten in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 23:36:14 +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
494e3d9a6c Update on cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-16 18:43:59 +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
4e8f30c8dc Remove useless executable property from data file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-14 01:03:00 +00:00
samuncle
d41a973d31 News textures for the rock
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-13 23:46:10 +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
samuncle
b9492d4bd7 correction of the driveline bug, and add a vertex bug ^^
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-10 21:16:54 +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
mbjornstk
34b0fa1056 Remove svn exec property from data file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-09 23:10:50 +00:00
samuncle
dc1101d655 Correction of some bug and add an alternative way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-09 22:11:15 +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
wardje
72d516d530 Greatly increase time on jungle challenge easy
Time was set to 2:55, (my) near perfect runs go at about 3:20-3:25
with the AI over 30s behind at ~4:00. Setting it to 3:50 (for now).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-07 14:31:31 +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
4638c3ae2c The actual intro files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-06-05 00:29:38 +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
wardje
076598efa6 Update CMake sources to fix linking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-31 16:32:36 +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
wardje
15cd8f4277 Fixes another manifestation of #580.
As in #580, re-exporting the files in GIMP fixed the issue.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-29 22:39:25 +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
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