Gameslots were not getting removed when players got removed. Add a check
when the player options screen gets torn down.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Fixes#647 (crash when trying to use a newly made player), doesn't feel
too clean though this way. Possibly better to immediately adjust (and
save) the gameslots instead of waiting for the options screen to get torn
down.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
* 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