Commit Graph

3460 Commits

Author SHA1 Message Date
hikerstk
8ccb172572 Bugfix: forgot to remove variable (which was moved to the base class),
so it was actually used uninitialised here. This caused warnings to be
printed and potentially incorrect (driving like drunk) behaviour of AI
karts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 04:24:12 +00:00
auria
664f2984d1 Added a couple checks to the history loading code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 00:46:12 +00:00
auria
100e82bc88 Added a couple checks to the history loading code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 00:43:56 +00:00
hikerstk
622104078f Fixed layout (no real code change).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-07 00:42:17 +00:00
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
b16cad255a 1) Fix bug that the kart name (and other fields) are not saved.
2) Fixed some incorrect file names.
3) Replaced hard coded number of frames to export for animations
   with proper blender functions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-06 23:54:27 +00:00
hikerstk
bdb0279462 1) Improvement: the kart exporter now uses game logic properties similar to
the track exporter: wheels just need 'type=wheel' defined (but backward
   compatibility does still allow you to use the special name for wheels).
2) Bugfix: It's not necessary anymore to select the kart (and not select
   the wheels)
3) It appears that the bug that some (all?) wheels are not at their original
   position after the export is fixed, too. The reason is unkown (but I
   suspect that the changed order of export is responsible for this: the
   last export is now the kart, and I guess this resets whatever made the
   wheels appear at the wrong location).
For now the exporter still 'forgets' kart name etc., this is WIP. For now
I suggest to set these values in the ID property browser before starting(!)
the script.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-06 12:50:14 +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
56cbef5166 Updated galician translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 12:42:39 +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
d742c9d115 Improve shape (ballony) and shading (natural red) of parachute.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-29 21:02:17 +00:00
mbjornstk
95a8bd469c Replace parachute with new version (TODO: animation and new icon).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-29 01:48:44 +00:00
mbjornstk
7cdea9e31d Delete LISP files (bye bye).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-29 01:32:36 +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
mbjornstk
f730753d3e Change sky color to match fog color.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 00:16:28 +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
48a0c136f2 Added ignore property to data/fonts, so that having the chinese font installed does not result in lots of '?' files in svn status
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 17:32:21 +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