* Fixes minor bug where incorrect internal name was set to the listitem.
* Moves refreshing of player list to its own (private) function.
* Also a small indentation correction in accordance with the style
guide, which sadly makes for a big heap of recompiling.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Greatly upping time for both. Probably still too fast for actual
beginners.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
an AI that actively collects items. This is (for now) the new default
AI - feedback welcome!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
controller keeps the name of the original controller,
which allows proper statistic output in profile mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
kart (and changed the FTL code to display 'Leader' so that
it uses this feature now).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Time was set to 2:55, (my) near perfect runs go at about 3:20-3:25
with the AI over 30s behind at ~4:00. Setting it to 3:50 (for now).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
* Make sound work when driving back by taking absolute value of
the speed.
* r11160 made the sound not restart at all when coming to a halt and
then speeding up again on materials (eg bridge in Coyote Canyon).
Fix this by instead of stopping the sound, pausing it and allowing
restarting only if the material sound was paused. Don't allow when
stopped to take into account that music can be in stopped state
when it's non-looping and it had been played once already.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
As in #580, re-exporting the files in GIMP fixed the issue.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Check SVN-CONFIG in root directory, keywords property not in use anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
corresponding function in world; fixed bug when trying to hit
a kart ahead when having a bomb; removed unused code). No
change of actual functionality.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
new skidding ai which is at this stage a copy
of the default AI controller.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
defining SKID_DEBUG in skidding.hpp). Using this will show
the predicted path of a kart when starting to skid, and the
actual path taken. Note that the speed of the kart gets
fixed at a #defined value (since the speed affects the
turn radius making it much harder to evaluate the estimation
if the speed varies, as it naturally does when turning).
This will likely be removed once the AI skidding if done.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(ghost karts were not removed, causing problems when
drawing all later).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
start the wrong race if no --track is specified.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11244 178a84e3-b1eb-0310-8ba1-8eac791a3b58