Commit Graph

7765 Commits

Author SHA1 Message Date
hikerstk
09917fc3a3 Fix #606 (I hope): world was used while the world
was being destroyed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:52:51 +00:00
hikerstk
c4bfafeaff Applied Wardje's patch for #611, thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:38:42 +00:00
hikerstk
b210ea2ea0 Fixed #610, #611, #615: problems due to triggering rescue
while being rescued (and similar problems would have been
with rescue while an explosion is shown).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:27:01 +00:00
hikerstk
8d96260858 Fixed crash in debug output: getName() of a kart
animation would be called from inside the constructor
of the kart animation, at which time virtual functions
are not available yet.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:18:37 +00:00
hikerstk
f69dbd2447 1) Added support for disabling an animation.
2) Only print warning about empty curves in debug mode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:16:51 +00:00
hikerstk
e3876a58b9 Fixed compilation problem on linux, and removed several warnings
(one actually indicating a bug).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 23:13:44 +00:00
hikerstk
c0f5484c9c 1) Changed base data types in IPO to be based on Vec3 instead
of irr::core::vector2df (in preparation to support curves).
2) Re-added support for individual start and end time for
   each individual curve of an IPO (and not only for all curves
   together, which results in incorrect behaviour if not all
   individual curves have the same length).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-09 22:17:51 +00:00
auria
cb7492c9a8 Apply minor Hacienda update by samuncle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-08 00:13:37 +00:00
auria
8456e3b2d2 Add a doxfile for windows with adapted DOT_PATH
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-07 22:59:20 +00:00
wardje
9eed9409e5 Add functionality to end a race early (#486).
* Only adding for standard races (normal race + time trial), didn't make as
  much sense elsewhere.
* Places still active players at the back of the final result and gives
  them penalty time.
* Add button to race pause dialog, temporarily using options_ui.png.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11093 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-07 21:58:11 +00:00
auria
0206f64ee9 Tentative fix for #608
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-07 20:01:42 +00:00
auria
9e3ba88f98 Don't allow starting a race from overworld while being rescued
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-05 02:28:21 +00:00
wardje
d89335d4a4 Fix a forgotten cast that made building fail
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 22:03:04 +00:00
hikerstk
317ff370cb 1) Control the time for an IPO animation in AnimationBase
instead of individually on each IPO (besides removing
   redundancy it keeps the IPOs in synch, since it is now
   guaranteed that they cycle all at the same time).
2) Started to add length computations for IPOs, but this
   code is not yet used.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 00:48:05 +00:00
hikerstk
ae5b3b923e Bugfix: Casting Kart to TerrainInfo is not correct anymore,
added getTerrainInfo() function instead and dynamic_casts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 00:43:52 +00:00
auria
4aed65b2bd Ajust jungle zippers to more reasonable values
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-04 00:41:16 +00:00
hikerstk
fcb8aaf9c6 Fixed crash when using --check-debug: when determining the checkline
requirements, no karts are created yet, so printing the kart id
causes a crash.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 22:27:11 +00:00
mbjornstk
682a6453fc Rename canon to cannon in build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 03:05:39 +00:00
hikerstk
d71a4aa5cb Updated VS 9 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 02:11:28 +00:00
hikerstk
2f92fefffd Fixed spelling problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-03 01:46:54 +00:00
mbjornstk
86a90658dc Remove from build system the removed anim files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11074 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-02 00:20:14 +00:00
mbjornstk
9fccfb5318 Add all new anim files to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-02 00:12:06 +00:00
hikerstk
ee35086d20 Fixed compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 23:17:45 +00:00
hikerstk
161be4d3bd Updated cmake source file list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 23:09:59 +00:00
hikerstk
eca5b3e570 Refactored handling of kart animations: instead of
using a fixed object in the kart, now each animation
(rescue, explosion, canon) has its own object and 
implementation using a common interface. This
simplifies AbstractKartInterface, and makes it
easier to add new functionailty. 
Instead of using: kart->rescue(...),  or kart->explode(...)
you use new ExplosionAnimation(kart, ...) etc. Memory
handling is done by the object (and abstract kart).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 22:57:41 +00:00
auria
6784b0149a Fix bug when writing challenges.xml, a quote was not closed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11069 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 19:17:40 +00:00
auria
7b9fce0486 The first time a player starts story mode, ask them to select a kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 17:59:00 +00:00
auria
b83202439c When returning to overworld, bring back player to approximately where they were upon leaving
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11067 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 17:17:36 +00:00
auria
74ab49b1ac Hide lap messages in overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 15:45:10 +00:00
auria
6f58350098 Return to overworld when exiting a race if race was started from overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 15:42:44 +00:00
auria
04efc6a1cf Undo not too funny April's fool joke committed by Minibjorn.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 14:48:26 +00:00
auria
bb25e47fec Fix warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 14:45:08 +00:00
mbjornstk
e1b8b399df Improve FPS feedback.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-31 22:27:11 +00:00
wardje
d7af1f6a0e Fix #603 by disabling player choices in game.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-31 19:10:36 +00:00
auria
b6dac0b50b Update the number of points are list of locked tracks after winning a trophy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11053 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-31 18:34:59 +00:00
auria
5af4be2217 Reduce points required for minigolf challenge so that it is at least possible to play it by unlocking everything ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11052 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-30 01:20:59 +00:00
auria
d0958301ff Apply betharatux1's improvements to jungle to make it work backwards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-30 01:07:41 +00:00
auria
ea648e1061 Lock tracks in the GUI when user doesn;t have engouh points
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-29 01:58:00 +00:00
auria
ffe317f2f3 Added forgotten part of a previous commit, oops
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-29 01:57:02 +00:00
auria
1be96dcff3 Solving the 'hard' challenge now also marks as obtained the 'medium' and 'easy' trophies
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-29 01:26:11 +00:00
auria
1b85ced4f9 Allow remembering Window position. Useful for multi-monitor setups. Only works for Windows at this time I'm afraid - although the code for Linux is mostly there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-29 01:04:07 +00:00
mbjornstk
c8e85be0d3 Fix crash when printing cake messages.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-28 23:55:45 +00:00
auria
84cfaba0f6 Add a few more hit messages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-28 22:35:46 +00:00
wardje
2e43a1b24a Fix #532 - Only allow nitro use when pressing accelerate.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-28 13:19:21 +00:00
auria
ea3d5ca9b5 Updated Xcode project, plus fix quite a few issues found by Clang (Xcode now uses clang by default) - some of them genuine nasty bugs, great
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-27 22:04:44 +00:00
auria
f24317d4c0 Move fortmagma back to the standard group
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-26 22:31:28 +00:00
auria
783dd5c93b Apply ctdabomb's fixes to make Hacienda usable in reverse mode, thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-26 22:20:34 +00:00
hikerstk
e3de48350d Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 23:56:25 +00:00
hikerstk
09ebb5e6a7 Updated cmake file list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 23:55:53 +00:00
mbjornstk
a4d4bf89eb Add new tracks/check_canon.[ch]pp to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 23:46:14 +00:00