Commit Graph

2598 Commits

Author SHA1 Message Date
auria
e8bafc33b3 Improved debug error message to be more readable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 00:26:47 +00:00
hikerstk
f17a129a86 Fixed bug 2959796 (mine kart rotating wildly) - I hope.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5113 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-03 14:13:49 +00:00
hikerstk
3aa86ed885 Fixed bug 2937628: crash when only one point for an IPO was
specified.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-03 13:55:04 +00:00
mbjornstk
676538544c Silly day, silly commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-02 01:30:48 +00:00
hikerstk
ce8dfe954a (Hopefully) fixed compilation on non-VS compilers.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-01 02:39:24 +00:00
hikerstk
752d81db11 Added a work around to avoid STK hanging (or looping _very_ long).
The number of iterations is now clamped, and appropriate values
will be printed out.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5109 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-01 01:29:42 +00:00
auria
2da96bb71b Minor change to resolution switch code, so that my work around what seems a bug in the mac version of irrlicht doesn't introduce issues where this bug doesn't manifest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:54:18 +00:00
auria
1be79f8a72 fixed a FIXME (minor change)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:49:42 +00:00
auria
2a06f7b2c0 Cleaned up no more useful TODOs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:22:26 +00:00
hikerstk
dc416648cd Fixed compilation problem on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 22:09:09 +00:00
auria
5d6662428d Updated Xcode proejct
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 22:07:55 +00:00
hikerstk
9505082920 Removed debug code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 21:57:03 +00:00
hikerstk
f2c2d68c77 1) Improved AI. The AI still have some problems in tight curves and S curves,
but should be better than before. Basically the estimation of the turn
   radius was completely wrong and was replaced by a new and better
   algorithm.
2) Introduced new AI base class which has some common functions and variables.
3) Removed unused file auto_kart.hpp.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 21:53:32 +00:00
hikerstk
e6654f3c13 Fixed incorrect color of kart circles in minimap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 21:39:22 +00:00
auria
3ed8cbc5da Save history file when ranking bug occurs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-29 22:21:34 +00:00
mbjornstk
8576e4ef32 Raise max speed allowed when zipper is on effect.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 22:26:46 +00:00
mbjornstk
85bf15763d Attenuate roll and pitch, trying to reduce the "boat shake" look in jumps.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5093 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 18:04:59 +00:00
auria
5c2ec6014a Typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 00:08:29 +00:00
auria
bbc5330241 More work on the player list... /me is getting sick of fighting against irrLicht widgets *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 00:02:57 +00:00
mbjornstk
e863a5e705 Add include to fix "error: must #include <typeinfo> before using typeid".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5089 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:57:55 +00:00
auria
e92286f24f Fixed lists being messed up because some events were denied from them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:44:05 +00:00
auria
f1edf20c31 Work around weird irrLicht thing : IDs must not start at 0, since it appears their GUI engine hardcodes some ID values... xD
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:36:17 +00:00
auria
2f3cf6d8b4 Cleanup : less publicly editable members in Widget, renamed the name of tabs in options because there was a name conflict, improved widget search into the tree
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:18:07 +00:00
auria
f93e26e48f Allow skinning scrollbars
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 19:55:53 +00:00
auria
ada40cf7a3 Added the ability to specify a case color (fixed mine to have black clear color). Not supported yet by track exporter
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5084 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 19:19:09 +00:00
auria
56f77a2d49 Render scrollbar in some way (not skinnable yet) when the list of players is very long
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5083 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 18:49:35 +00:00
auria
723aff006e I reproduced wrong kart rank issues again; adding more debug code to better track this bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 18:11:00 +00:00
auria
91cdd81835 Show explainatory message when some player tries to perform an action that is reserved to the game master. Hopefully this will help reduce confusion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 17:31:45 +00:00
auria
53df3f4cee Fixed player name spinner to contain the correct default value
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 16:03:11 +00:00
auria
f9cb8b125d Initial work towards selecting the most used profile for game master, and guest profile for others (by default). not really there yet so expect weird stuff to happen if you don't play with the spinner and leave the defaults.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 02:08:11 +00:00
auria
2b68412239 Fixed in config code : the code was mixed up by all players described using a <Player ...> node in XML... because often it did getNode(Player) which always returned the first player. People please delete your config file (or the Players section in it) to amke sure your data is OK
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 01:35:11 +00:00
mbjornstk
daa2c467b3 Attenuate "yawing" speed when leaving the ground (jumps). Suggested by hiker,
with some tweaks by me (make it 25% per update instead of abrupt zeroing).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 01:07:44 +00:00
mbjornstk
92ca36cac5 Tweak cases for constraint, so long jumps are possible (via ramp+zipper).
One is commented out for now as it needs more testing of the distance setting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5075 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 23:55:44 +00:00
hikerstk
e95d5ad5dd A historical commit: replaced highscores lisp files with xml,
allowing us to completely remove the lisp code from stk - hooray!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 22:29:47 +00:00
hikerstk
4fa02b5325 Fixed crash when the openal device could not be initialised. STK should now
work when sound is enabled, but the openal device does not work.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 22:14:49 +00:00
hikerstk
baa5b0450c Fixed compilation bug (auria: which language have you been
programming in lately?? ;)  ).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 05:20:28 +00:00
hikerstk
88160e5a0c Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5069 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 05:19:00 +00:00
auria
83fe7df8e8 Forbid adding 2 players with same name
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 01:05:08 +00:00
auria
fa87cd82c2 Fixed compilation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5067 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 00:09:35 +00:00
mbjornstk
94144b3a04 Add triangle count (in thousands) to the on screen FPS reporting.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 00:03:37 +00:00
hikerstk
078b1e0f2f Fixed music loading from non-track directories (fixes bug 2947899).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-25 00:01:29 +00:00
hikerstk
5f69e47451 Removed unnecessary debug print.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 23:55:04 +00:00
hikerstk
939caf1981 1) Added -v X verbosity command line option, so that debug output is only printed
if an appropriat ehigh verbosity is selected. For now most debug statements 
   that are always printed (i.e. independent of user actions) is only printed
   if verbosity is >=5,  debug statement which are a reaction of a user action
   with verbosity >=4.
2) track- and gamepad-debug flags are not saved in config files anymore, made
   disabled reverse_look_threshold as default.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 23:52:41 +00:00
mbjornstk
8a91d2a09b Add note about fog params and change (commented out) ambient light to blueish.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 23:19:39 +00:00
hikerstk
c966c121c9 Added setting to disable backface culling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 10:29:41 +00:00
hikerstk
6eecefdec6 1) Fixed fog - all track nodes are now with fog.
2) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 10:25:08 +00:00
hikerstk
64b8d5e558 Removed outdated irr1.6 and irr1.7 project modes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5052 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-24 00:15:42 +00:00
hikerstk
bd89c51fca Fixed bug 2972321 - crash in battle mode since in battle mode there is no quad graph.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 23:42:46 +00:00
hikerstk
a2c524a4eb Avoid raycasts when being outside of the track (which caused at least one crash,
though the reason for this crash are still unclear, since the code logic
should prevent the assertion that happened. See bug 2974314 for details).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 23:33:47 +00:00
hikerstk
7bedccbd82 Fixed smoke and water splash (incorrect coordinate systems).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 11:30:33 +00:00
hikerstk
b751cdc3a7 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 10:41:46 +00:00
hikerstk
46dc95e3c3 Fixed incorrect rotation at start position.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-23 10:39:39 +00:00
hikerstk
390a7b39b6 Removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 11:00:47 +00:00
auria
a73cf90dca Fixed title music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 02:06:01 +00:00
auria
84f4d6d3f3 Save config file when relevant. Forbid editing or removing the guest account through the GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 01:39:01 +00:00
auria
5e45b7e1b5 Started adding guest account, so that multiplayer gameplay is not hindered by having to make a player account for everyone
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-22 01:21:49 +00:00
hikerstk
794e532515 Bugfix: wrong axis resulted in incorrect automatic rescues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5033 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 12:46:30 +00:00
hikerstk
e31d14fb2b Replaced off-road handling code, which hopefully fixes
all off-road problems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 10:38:52 +00:00
hikerstk
2a671b0e77 Added separate roll computation, which fixes issues with
the upright constraint, and might also fix steering issues
on slopes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5031 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 10:37:51 +00:00
hikerstk
667b208aab Converted all kart.xml files from lisp to .xml files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 04:23:32 +00:00
hikerstk
625d7a91ed Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 04:20:45 +00:00
auria
074a1a843f Fixed crash when a track has an invalid screenshot file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 01:14:11 +00:00
auria
2f236cb6ea Fixed keyboard configuration. For some reason, the code that sensed keyboard input disappear... weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-19 01:02:40 +00:00
auria
fad4cb4c01 Updated menu singleton code, there was a bug in its logic (that had no consequence that i know but better fix it anyway) + some code style cleanup along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 18:18:19 +00:00
hikerstk
6fd2feada7 Bugfix: an incorrect warning message was printed when the middle
of the first quad line is exactly on the start line - which is by
now always the case since these lines are identical.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 11:45:07 +00:00
hikerstk
1ddb5e2b7d Fixed incorrect start positions on some tracks (caused by minor
forwards/backwards shaking of the kart at start and the fact
that 'isInRest()' tested the wrong axis).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 11:42:49 +00:00
hikerstk
6c80b9c8c4 Fixed typos in previous commit, fixed incorrect XML syntax
in sfx.xml file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5015 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 04:56:57 +00:00
hikerstk
9e9cac587f 1) Fixed crash when errors occurred during audio initialisation:
quickSound did not test if sfx were correctly initialsed. There
   are still outstanding bugs when audio doesn't work, related to
   the sfx not loaded. Had to make quickSound non-static, since
   otherwise it couldn't test if sfx were initialised.
2) Made several minor layout changes to follow our style and be
   easier to understand.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 04:48:01 +00:00
hikerstk
2a33313d24 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 04:11:32 +00:00
hikerstk
124e719d11 Applied Chris Morris patch 2968849: make the torque after an
explosion dependent on distance to avoid karts shaking that
are way too far to be affected at all.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-17 02:46:12 +00:00
hikerstk
b6637277ab Started re-design of stk-config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 23:00:34 +00:00
hikerstk
887ab0110e Fixed bugs in computing kart ranks code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 11:25:01 +00:00
hikerstk
35925432d5 Fixed potential incorrect order of karts when a kart is off track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 09:21:21 +00:00
hikerstk
9287258788 Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-15 09:20:08 +00:00
mbjornstk
9de4c01b19 Add break, otherwise zipper cheat fell to next case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-13 23:28:52 +00:00
hikerstk
9889050ce2 Fixed pitch and roll of items (esp. chewing gums).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 12:21:00 +00:00
hikerstk
37b842e4c0 Fixed bubble gums.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 08:07:29 +00:00
mbjornstk
bbb58408e4 Swap YZ when applying explosion forces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:55:31 +00:00
mbjornstk
5b7a48217d Add m_type in init again, it disappeared in merge.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:45:17 +00:00
hikerstk
d50bd9dbe6 Merged the switch_coordinate_system branch with trunk. This means
that now all coordinate systems are y up, z forwards - including
the file format. For now only one track has been ported, the
rest will follow shortly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-12 02:16:11 +00:00
hikerstk
7ef21a38ed Fixed camera rotation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 23:23:15 +00:00
hikerstk
ce3578d1c1 Some fixes to slipstream (but slipstream is disabled by default anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 23:09:55 +00:00
hikerstk
8dfcd28e44 1) Fixed AIs.
2) Changed steering (m_steer positive is now steering left, negative right).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:36:53 +00:00
hikerstk
c849e91221 Fixed incorrect axis.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:08:16 +00:00
hikerstk
0848fe1349 Fixed distance computation (was still using up instead of forward index).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:07:50 +00:00
hikerstk
5de3555ac2 Fixed 'relaxed' camera view, fixed (usually unused) camera debug mode,
removed unused code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:06:41 +00:00
hikerstk
3541e0a305 Added reminder echo to fix some bugs in bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:01:32 +00:00
hikerstk
aae13b3768 Cosmetic change only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 22:00:34 +00:00
hikerstk
3c6a132bc0 Removed test code, simplified code for rotating items.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 21:58:46 +00:00
hikerstk
2d16e970b2 Bugfix: bullet resets the isInContact value for wheels when a debug drawer
exists. Besides other potential side effects this disabled skidmarks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-11 11:41:50 +00:00
hikerstk
706984c1c8 Re-enabled upright constraint.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:17:32 +00:00
hikerstk
b691445f15 1) Fixed bug in memory allocation (world doesn't exist when it was used).
2) Some improvements to support the old history format, but not fully working
   (and probably not needed anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:16:26 +00:00
hikerstk
1552693cf4 Bugfix: history mode needed -N to work (solved by --history setting the -N flag automatically).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:14:36 +00:00
hikerstk
8113302764 Bugfix: bullet had the up axis hardcoded.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/switch_coordinate_system@4965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-10 10:13:07 +00:00
auria
9fb9278f31 Improved Follow-the-leader game ending. An assert failure might occur if one kart dies in front of the leader
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 20:31:37 +00:00
auria
fafed60136 Bugfix : adding depend-on="" in a challenge file would cause the challenge to be unplayable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:50:05 +00:00
auria
56ad4bbec9 Removed unused class member that was misleading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:42:28 +00:00
auria
0da7e2da10 Hopefully fixed bug about bogus kart rankings. 1) Made all karts be ranked at the same time, so there's less risk of mismatches 2) Found a precondition inside the sorting method, that was not documented in the doxygen comments, nor enforced with contracts... and sure enough someone somewhere called it without respecting that hidden precondition. Fixed the problem by removing the precondition (the new logic doesn't have the same precondition)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:39:05 +00:00
auria
38b0cfaa2a The chest scene is now shown for challenges that require beating a GP too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 17:04:05 +00:00
auria
5239b62e0d Notify player when he unlocked a feature by completing a GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 16:44:09 +00:00