Commit Graph

7735 Commits

Author SHA1 Message Date
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
hikerstk
53b3c78598 1) Added first version of 'cannon' (flying the kart to a specific
location) support. ATM only linear interpolation of the position
   is used (i.e. no rotation).
2) To be consistend renamed 'forceRescue' to 'rescue', 
   'handleExplosion' to 'explode' (and added shootTo for the canon).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 23:16:53 +00:00
wardje
c4ae2d12f4 GP: not-reverse default, check if reversible
* Make it default to a track not being in reverse to not break
  older .grandprix files.
* Make sure a track really _is_ reversible to not give the .grandprix editor
  possible extra issues.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11020 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 22:51:39 +00:00
wardje
cb890d4f32 Add reverse track functionality for GPs.
Fixes part of #503 (and #599 completely).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 22:15:20 +00:00
wardje
a5028ddd4f Fix some doxygen comments while about everything has to be rebuilt anyway.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 16:41:21 +00:00
wardje
a40462594c GP start order option to user's config + add option to have players always last
In light of #28, the GP start order option is probably more at home in a user's
configuration. While at it, also add an option to keep the player always last.
This is more of a challenge for the player than just reverse mode since your
direct opponents _will_ be at the forefront while you have to play catch up.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 16:39:32 +00:00
wardje
36cd82b0eb Fix a GP starting order bug I noticed when time was involved.
Did a GP where points didn't matter (only time) and noticed the
sorting didn't work correctly at the start of a race. Expanded
the operator< to account for time when points are equal.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11016 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-25 16:21:14 +00:00
auria
cb2cd9505b Apply changes to Fort Magma to make it friendlier to drive in reverse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-24 01:34:07 +00:00
wardje
b85a324793 Fix #597.
Also change the #define in kart_animation.hpp's header in accordance
with coding style and the name change in r11012.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-23 16:28:00 +00:00
hikerstk
545e8a4892 Renamed EmergencyAnimation to KartAnimation, in order
to have a better name for this class that will also
support a 'canon'/teleporter animation.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-23 05:28:18 +00:00
hikerstk
53b4b7d47c 1) Fixed auto-rescue of AI kart if they are stuck.
Now a certain number of unique collisions in 
   a certain amount of time triggers auto rescue
   (3 rescues in 3 seconds). This should fix
   #576. The old handling is still left in place
   (in case that some other rescues are better 
   caught by that code).
2) Removed unused m_collided variable (and related
   stuff).
3) Fixed the 'crashed' callback functions in the
   controller (which didn't work anymore, since
   parameters were changed: kart called crash(),
   but the AI controller only had crashed(Kart*),
   so the empty dummy function in controller was
   called).
4) Made nearly all virtual functions in Controller
   pure, so that problems similar to 3) are 
   hopefully picked up at compile time.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-22 23:52:06 +00:00
wardje
d77fc80e09 Fix #531 (random race in 3 strikes battle).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11010 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-22 16:49:49 +00:00
hikerstk
c078df7e18 Fixed crash by double-freeing a (shared) pointer.
Fixed memory leak by only adding the physical body
for exact shapes once.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11009 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-22 00:20:19 +00:00
auria
8a0e792d53 Apply fixes by ctdabomb to jungle so that it works fine in reverse mode. Which way to take could be clearer but at least AIs don't drive into a wall now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11007 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-21 23:16:02 +00:00
hikerstk
acba9e523a Updated documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11006 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-21 23:06:45 +00:00
wardje
793c937859 Some tweaking for #506 (Not enough icons show in ingame ranking)
The solution isn't perfect. Accomodating for all 20 karts often
made things _too_ small, so I added a (somewhat arbitrary) treshold.

Also correct some doxygen/I18N comments while in that file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11005 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-21 21:03:51 +00:00
hikerstk
d7071bfab2 Improved AI's handling of push back that now happens after
a kart - track collision: AI karts will now steer towards
the center of the track while being pushed back. While
this does not fully fix #576, it improves the situation
in many cases.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-21 21:01:11 +00:00
auria
474856dbed Fix another warning when building with mingw
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-20 01:53:04 +00:00
auria
8dcc237c28 Fix tons of warnings when building with Mingw. Yes I know I did a few changes in bullet. I don't care, the warnings were too annoying
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-20 01:51:28 +00:00
auria
8308a571ef Remove property to get native line endings on update_file_list.sh. This script only works on Unix so there's no reason it should ever have windows line endings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-19 23:14:47 +00:00
auria
518a263588 Update cmake source list, Bad bad Joerg
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-19 23:13:20 +00:00
mbjornstk
4b9476ab1f Add new abstract_kart.[ch]pp to build system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-19 23:06:31 +00:00
hikerstk
872978ef2c Added files missing in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-19 22:59:00 +00:00
hikerstk
ebbc1a71d8 Introduced an 'abstract kart' class, which is used to
de-couple kart implementation and its interface. This
significantly reduces compile time when changing kart.hpp,
but is at this stage still work in progress.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-19 20:21:11 +00:00
wardje
48cc8d6044 Correction in highscore showing on Follow The Leader
Calling updateHighScores on every click on the reverse checkbox was a bit
optimistic, add a check that there are even highscores to show.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-18 18:38:28 +00:00
auria
17fe035253 Update overworld, exported with latest exporter which mains mainly that it no more appears in the track menu.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-18 00:03:25 +00:00
auria
f08f3b76fd Apply patch by Wardje to hide the reverse checkbox for battle mode, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-17 20:31:55 +00:00
auria
40efd3fbfc Apply patch by Wardje to skip the ready-start-go pahse for voerworld, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-17 18:43:11 +00:00
auria
fc1150d18b Update to mansion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-17 18:23:43 +00:00
undef-in-ed
5b6f7d7c31 CMake: finer control of install destinations
https://sourceforge.net/apps/trac/supertuxkart/ticket/271

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-16 23:15:23 +00:00
hikerstk
1b53fc70ab Bugfix: the new skidding still applied a slowdown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 23:28:01 +00:00