hikerstk
7c69adcc56
Added setting for disabling slipstream bonus (to be used mainly
...
with easy AI to make sure building train doesn't give it too much
bonus on easy) ... and fixed the existing implementation of
not giving a slipstream bonus to actually work ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 12:05:23 +00:00
hikerstk
885c0c0b1d
Added setting to disable caching of overworld to
...
user_config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 05:48:50 +00:00
hikerstk
7b43e95fa8
Removed unnecessary parameter of InterpolationArray constructor.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 05:47:02 +00:00
auria
44b757381e
Modify skidding probability into something that makes more sense to me. Joerg, feel free to change if you find better
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 01:00:36 +00:00
auria
9f31509898
Indicate challenge type
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-30 00:10:54 +00:00
hikerstk
9b74d0cdd0
Added caching of textures for overworld.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11813 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-29 23:14:30 +00:00
auria
d9fd492d50
Play some music on feature unlocked screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-29 23:07:22 +00:00
hikerstk
fb84565bf8
Added probability to collect an item for the AI, to allow us
...
to make it a bit less competitive.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-29 22:06:17 +00:00
hikerstk
dca5e568af
Improved documentation, renamed variables, simplified code somewhat.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-29 00:09:05 +00:00
hikerstk
24e396cb72
Restrict X movement of plunger, fixed plunger always moving right.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 23:43:29 +00:00
auria
50a99ee486
Apply patch by Steel to disable animations when the animated level of detail is not visible. Thanks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 23:37:18 +00:00
hikerstk
9112283551
Quick try of using two different speeds instead of no-speed/slow speed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 23:27:40 +00:00
auria
898be773c3
Fix changing between players
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 23:19:57 +00:00
hikerstk
78865a5608
Move the plunger a bit more randomly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 23:19:20 +00:00
auria
3d6f24544e
Apply patch by steelstyle to not hide mouse in overworld when closing a dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 23:06:36 +00:00
auria
8111440317
Make ipo animations always enabled. + start of work to have music on the challenge completed screen but doesn't appear to work yet
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11801 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 22:54:40 +00:00
auria
844cd1692c
Potential fix for #706
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-28 03:40:21 +00:00
auria
ace58348ef
Fix music gain in MusicInformation. Use it appropriately to boost West music, and quiet down overworld music
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-27 19:19:04 +00:00
hikerstk
eebdd939b0
Made slipstream area wider (at the side that furthest
...
away from the kart), so that it's hopefully a bit easier
to get slipstream.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-26 05:12:59 +00:00
hikerstk
40e46221d4
Properly used constant variable instead of hardcoded value.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-26 05:09:32 +00:00
auria
7195131d14
Apply patch by Steel to make sure giving up a race can't give you a highscore or challenge
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-25 23:17:10 +00:00
hikerstk
ddea03ebe5
'Animated' the plunger-in-face somewhat, and additionally reduced
...
plunger-in-face time somewhat.
Atm you can test by pressing F1 in a race (which I'll remove soonish).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-25 21:51:07 +00:00
hikerstk
09e9768df0
Removed unnecessary tests.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-25 20:54:19 +00:00
hikerstk
bbf071aec5
Added a minimum skidding speed (below which a kart can't skid),
...
which also fixes #716 .
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-25 06:03:59 +00:00
auria
44a36a8bbf
Apply patch by Steel to make the timer count down during a timed challenge. Thanks\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-25 00:21:54 +00:00
hikerstk
6c1e4e8846
Fixed kart-flying bug: pressing repeatedly 'skid' would push
...
the kart higher and higher (#722 ).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-24 21:02:02 +00:00
hikerstk
67487883f8
Bugfix: when m_skid_time was close to 0 (say 1e-8)
...
the visual rotation could become huge, resulting
in incorrect and constant visual rotation of the kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-24 09:14:29 +00:00
mbjornstk
7341c5c61f
Remove from build system the recently deleted AI files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-24 00:16:11 +00:00
hikerstk
cfb77ac6e4
Removed old default and present AI (which do not support new skidding).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11752 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 21:46:44 +00:00
hikerstk
4a4168c42f
Bugfix, thanks to Deve for fixing this.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 21:19:50 +00:00
hikerstk
c5720e7925
Fixed sing a skidding probability (before the random number
...
was tested each frame, making it mostly certain that skidding
was done).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 21:13:17 +00:00
mbjornstk
1006d04cf5
Add header to fix "invalid use of incomplete type class Controller".
...
r11740 added sound effect and uses kart->getController().
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 03:09:40 +00:00
auria
68fdb1b971
Another step to make STK more lively in the audio department : add a sound when receiving a plunger in the face
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 00:19:58 +00:00
auria
c8ee962a3b
Change multiplayer join message to fix #678
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-23 00:03:51 +00:00
hikerstk
ecc1212c11
Allow changing the various levels of AI mostly using
...
the stk_config file.
Note at this stage no tuning of easy or medium level was
done, this version should behave the same as the hard-coded
version.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-22 21:51:05 +00:00
hikerstk
6058c3bcfc
Committed Steel's patch for #708 (endless loop).
...
Thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-22 04:01:51 +00:00
hikerstk
7d33125f54
Mostly cosmetic change: renamed RD_EASY etc to
...
DIFFICULTY_EASY to make it easier to understand;and
removed separate DIFFICULTY_COUNT constant and
replaced it with an entry in the enum (this means
one less change if a difficulty is added).
Changed layout to be closer to our style in race_manager.hpp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-21 23:06:33 +00:00
hikerstk
68711524bf
Fixed compiler warnings and comments.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-21 23:03:08 +00:00
hikerstk
3a6133f6d6
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-21 22:49:08 +00:00
hikerstk
0adcd00342
Use maximum height of a quad when determining if a kart is
...
on a quad or not. This fixes the problem that the AI can
not drive up the ramp in sandtrack.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11730 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-21 20:48:33 +00:00
auria
c174368274
Apply patch by Steel_ to display hgihscores at the end of a race, thanks\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11725 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-20 19:01:45 +00:00
auria
4412643213
Apply patch by 'Steel_' to correct crash in 3-strikes mode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-20 18:51:07 +00:00
hikerstk
fa21cb89f5
Fixed typo ... which resulted in the AI braking most of the time.
...
Welcome back, competitive AI ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11714 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-18 05:33:42 +00:00
hikerstk
90d6f45a3a
Imrpoved skidding: getting out of skid reset the visual rotation
...
exponentially, so it was not in sync with the physical rotation.
Getting out of skid should now be smother.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-17 21:51:10 +00:00
hikerstk
4a8a40c7e8
Removed unnecessary warning; made debug mesh less transparent.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-17 21:48:42 +00:00
hikerstk
1a0e877f28
Make the AI drive a bit less close to items it tries
...
to avoid.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11699 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-17 06:20:47 +00:00
hikerstk
1c5dc7568e
Added additional debug output in case a nan occurs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-17 06:19:20 +00:00
hikerstk
b04194303a
AIs will now reduce their speed if they are too far ahead of the
...
player.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-17 06:14:43 +00:00
auria
19d0c04774
properly implement sphere collision shape support
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-16 22:45:44 +00:00
hikerstk
fbb9e5f8d2
Refactoring: interpolating values is now handled in a separate class
...
InterpolationArray. This class is now used for the skidding probability
of the AI and the turn radius of all karts (which depends on speed).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-16 05:51:46 +00:00