Commit Graph

3733 Commits

Author SHA1 Message Date
hikerstk
1d5fe00af8 Cosmetic change only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 23:51:12 +00:00
hikerstk
8a47c81f46 1) Removed special steering for easy AI (which was buggy), now all AI levels use
the same steering algorithm.
2) Fixed bug in alternative way handling (potentially endless loop if AI ends up
   on a non-selected part of the drivelines, resulting in steering to angles
   taken from uninitialised memory).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 23:50:40 +00:00
hikerstk
8b211c07b4 Added assert to find problems when steering to an invalid angle
(e.g. angle = 1e37 --> endless loop).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 23:48:54 +00:00
xapantu
a8869253d6 Working on the adiumy kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 15:55:09 +00:00
xapantu
98fd248d5e (maybe it is a mistake) revert karts animations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 15:41:10 +00:00
hikerstk
807274dc9f Fixed VS compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 03:20:42 +00:00
auria
493f24fbcf Seperate handling of track groups and arena groups in track manager; if you have e.g. one add-on track but no add-on arena, you'd get a weird empty group in the arena selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-10 01:09:36 +00:00
auria
4e4c11b401 Fixed lap counting in old mines
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 20:19:31 +00:00
auria
8bb6ca6ac6 Fixed left/right ribbon arrows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 18:41:26 +00:00
auria
798c458ac5 More improvements to dynamica ribbon, fixing annoyance when items don't take all space allowed, fixing an empty space appearing in challenges screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 18:24:26 +00:00
auria
dbce446f81 Minor refactoring
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 17:47:12 +00:00
auria
36303b806d Fixed conversion from arbitrary ints to enum members. Now using enum names properly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 23:29:40 +00:00
auria
e84cb5d10c As discussed with Joerg : started removing maximum number of karts limitations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 18:39:07 +00:00
auria
4a66d148c9 Fixed bottom back button in new input screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5409 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 18:00:19 +00:00
auria
803c25475f Bugfix : don't show challenges that rely on a broken GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:49:04 +00:00
auria
6187f3a132 Fixed crash when backing to kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:31:57 +00:00
auria
ea42e26e8b Removed unused input mode LOWLEVEL (seems to be a legacy from older versions; I have no idea what it's for)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:23:15 +00:00
auria
1b20105224 includes cleanup in input manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:20:36 +00:00
auria
0bb238e66a Removed pointer visibility handling code from the input manager, it has nothing to do there and caused bugs (e.g. hiding cursor during input sensing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:17:07 +00:00
auria
e969e91e9e Minor code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:11:19 +00:00
auria
bcc7b047b3 Made ribbon side arrows non-focusable, so that warp-around code does not erroneously pick them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 15:59:58 +00:00
auria
c9ddf98f3d Added assertions to catch the bug reported on the forum earlier (when doing the resolution switch, not when plasying afterwards). Seems it has to deal with the material manager and the handling of 'permanent' materials (but I can't make any sense of your code there Joerg, so please help -.-)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 15:28:05 +00:00
hikerstk
77c3995b5f Bugfix: velocity in local coordinates was not sent, which could result
in the AI looping if the Z velocity was very high.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 01:48:24 +00:00
auria
e0ed3291e0 Added basic input conflict reporting (conflicting bindings)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 01:06:03 +00:00
mbjornstk
92ae1673ab Add back twisting trick every other circle (with fixed UV). Raise polycount.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 00:22:23 +00:00
hikerstk
0b12fb45ae Fixed 'disturbed' slipstream graphics (sharp bend).
Also removed additional turn of every 2nd ring in the
cylinder, which made it much harder to get the texture
coordinates right.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:28:58 +00:00
hikerstk
ad6afbe036 Minor updates to documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:26:49 +00:00
hikerstk
c7880fe80c Cosmetic changes to output of rendering statistics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:25:11 +00:00
hikerstk
41a250e2b6 Fixed orientation of wheel rotation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 23:23:51 +00:00
hikerstk
e201176255 Reused function to create timing strings; added support for 1/100 s .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 22:45:30 +00:00
hikerstk
0a6608069e Fixed wheel rotation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 22:41:38 +00:00
auria
0e0d35c5ab More kart icons. Thanks yeKcim\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 22:27:10 +00:00
auria
252b29c6ef Updated to ubuntu/debian section in INSTALL file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 18:40:34 +00:00
auria
97c53d9542 Update INSTALL file to not instruct people to use irrLicht 1.6
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 18:30:44 +00:00
hikerstk
29539dd39f Added statistics about rendering to profile output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 05:53:06 +00:00
hikerstk
fd08bd924a Added #define to make AI not drive at all, useful for debugging (e.g. debugging
aiming code, improving slipstream graphics).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 05:29:26 +00:00
hikerstk
d13f8c85f6 Added #define to enable slipstreams even if karts are not moving. This allows for
e.g. easier debugging of the slipstream looks.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-06 05:25:58 +00:00
mbjornstk
be4079e4c8 Remove kart.hpp as it seems to compile fine without it.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 19:07:17 +00:00
mbjornstk
93ef29f2ed Remove kart.hpp, it has been compiling fine (add back if compiler dependant).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 19:03:07 +00:00
mbjornstk
a94eb33590 Disable real zipper from slipstream, but abuse the zipper timer to control
the effect duration. Global TODO: zipper / nitro / slipstream need each
a set of timer / engine power multiplier / speed limit, as well as
a fall off timer so they do not end sharply (maybe 1 sec transition
from raised speed limit to normal limit?).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 18:59:46 +00:00
auria
2444553c6e Updated polish translation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 15:54:25 +00:00
hikerstk
b295fbbe15 Removed accidentally committed test code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 02:37:35 +00:00
auria
24ede9c8d8 Fixed puffy to have a minimap icon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-05 02:01:59 +00:00
mbjornstk
3c949e65a3 Tweak calcSteps value for experiments (half AIs get +5).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 23:58:13 +00:00
hikerstk
7cdefb4101 Enabled slip streaming, slip-stream graphics now scales according to the distance
between the karts, successful slipstreaming (for atm 2 seconds, see stk_config.xml)
will give a zipper boost.
This is pretty much work in progress, mostly meant to test playability, and allow
more tuning of graphics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 23:36:01 +00:00
hikerstk
9fb0c6e224 Bugfix: STK would hang if a race is restarted that had bubble gums dropped on the track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 22:40:26 +00:00
hikerstk
56ebedd175 Fixed item handling in battle modes by adding an additional 'position class'
to data/powerup.xml for battle modes. This makes it unnecessary that modes
can select which powerup are available, therefore this code was cleaned up.
Also added some minor code simplifications.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 13:54:49 +00:00
auria
d1ac9142a3 Fixed joinging multiplayer game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 01:02:56 +00:00
mbjornstk
7a23f394fc Enable backwards firing of cakes (based in ball code).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-04 00:29:41 +00:00
auria
16e3988ddd Another major update to the input configuration screen. There are now separate configurable keys for menu navigations. Conflictm detection was not implemented back yet; multiplayer gameplay seems broken too. To be continued
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 23:37:38 +00:00