hiker
8d0cad3cb8
Use proper call instead of hard coded constant.
2015-08-03 15:44:44 +10:00
hiker
a852cf94fb
Don't save random GPs (which can not be continued anyway), and allow only
...
one saved data set (for each GP and difficulty). Previously saved 'random'
GPs (which can't be continued anyway) are deleted now, cleaning up the
config.xml file.
2015-08-03 15:10:36 +10:00
hiker
5efb44a430
Fixed scores in FTL GPs. All score handling is now done by the World,
...
not race manager (which removes if tests).
2015-07-28 09:39:00 +10:00
Flakebi
a311281aa7
Fix Random Grand Prix being reversed
2015-05-06 20:39:40 +02:00
Flakebi
af88b4a16f
Fix translation issues with grand-prixs
2015-04-26 23:31:57 +02:00
hiker
8d07d26c25
Updated (c) year to include 2015.
2015-03-30 11:42:50 +11:00
hiker
06ca68275e
Fixed typo.
2015-03-13 10:12:43 +11:00
Deve
57ab9e5ac5
Remove saved GPs only in offline mode during starting new race
2015-01-07 21:19:04 +01:00
Deve
2d9e38f7f6
Display continue button only if next track isn't first available in GP.
...
Fixed a crash.
2015-01-07 21:15:53 +01:00
Deve
b726b59427
Remove all saved data for specified GP during start new race.
...
Generally it shouldn't happen because the rule is one save per one GP, but it is possible with old config.xml files.
2015-01-07 18:41:52 +01:00
Deve
cd9bd36520
Don't create new GP save when it's already created
2015-01-07 18:32:32 +01:00
Marc Coll Carrillo
a9193e09fd
Unify random GP's ID and translatable name in a single place
2014-12-30 13:19:24 +01:00
Marc Coll Carrillo
9e6cd2a958
Fix translation problems in random GP screen
2014-12-30 13:19:10 +01:00
hiker
006a7f95c9
Cherrypicked pull request #1743 (cppcheck performance fixes).
2014-12-01 15:14:27 +11:00
hiker
63250237a4
Fixed linux compilation.
2014-11-27 23:27:27 +11:00
hiker
020c129691
Specify the replay buffer size as time value (i.e. how many seconds),
...
not how many frames.
2014-11-27 16:15:53 +11:00
hiker
aac261d873
Use proper format (instead of casting unsigned to int).
2014-11-25 14:02:34 +11:00
Tobias Markus
22c22b864a
Fix further issues
2014-11-20 23:15:05 +01:00
Tobias Markus
61ccfaac77
Fix errors in src/ that cppcheck yielded with the default configuration
2014-11-20 22:01:46 +01:00
Marianne Gagnon
229a43a692
Preserve "startedFromOverworld" flag value properly. Fixes #1683
2014-11-17 19:07:37 -05:00
Flakebi
9dd86c8332
Don't handicap AIs
2014-11-04 23:57:33 +01:00
Deve
6d07189474
Don't allow doubled tracks in random GP.
...
Otherwise track number limit wouldn't have sense.
2014-11-04 20:27:01 +01:00
Deve
66a1ff2b2b
Don't allow to run locked tracks in random GPs
2014-11-04 20:10:36 +01:00
Flakebi
46f3fa5f74
Merge branch 'upstream/master' into perPlayerDifficulties
...
Conflicts:
data/gui/options_ui.stkgui
src/graphics/stkmesh.cpp
src/states_screens/options_screen_ui.cpp
2014-10-26 17:47:29 +01:00
Flakebi
690e632e1b
Move handicap to ui options and to the player name spinner
2014-10-26 16:56:50 +01:00
Deve
321f0e7078
Remove saved GP when we start new race.
...
Avoid a crash. Saved GP was deleted, but was not NULL. And in other place we have if(m_saved_gp != NULL) check, which was true for deleted object.
2014-10-20 23:46:25 +02:00
konstin
4647a50acb
Save GP on abort
2014-10-20 23:46:25 +02:00
konstin
f65ad8f84f
Save GP reverse Type; close #1137
2014-10-20 23:46:25 +02:00
konstin
035fc599ee
fix ordering of the karts and maybe some more
2014-10-20 23:46:25 +02:00
konstin
ae24c6b40f
only one saved GP per GP-ident
...
Conflicts:
src/graphics/glwrap.cpp
2014-10-20 23:46:25 +02:00
Flakebi
57afd1d585
Merge remote-tracking branch 'origin/master' into perPlayerDifficulties, this time the right branch...
...
Conflicts:
data/gui/user_screen.stkgui
data/gui/user_screen_tab.stkgui
src/graphics/glwrap.cpp
src/graphics/weather.cpp
src/states_screens/user_screen.cpp
2014-10-20 22:36:54 +02:00
Flakebi
069853b11f
Fix #1153 Cleanup logging code
2014-10-07 20:54:54 +02:00
Flakebi
47da30dd24
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-30 19:22:18 +02:00
hiker
dfc3756f5d
Fixed compiler warning.
2014-09-27 19:25:45 +10:00
Flakebi
2cf9707294
Merge branch 'upstream/master' into perPlayerDifficulties
...
Conflicts:
src/states_screens/kart_selection.cpp
I hope I got everything
2014-09-24 17:58:12 +02:00
Marc Coll Carrillo
9c56d66c2d
Minor corrections (a couple of warnings, unused headers...)
2014-09-23 22:23:24 +02:00
hiker
53f05e868d
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-09-23 20:18:09 +10:00
Deve
cfa4d455b0
Merge pull request #1547 from marcoll/master
...
Fix issues with the new "reverse grand prix" feature and user defined GPs
2014-09-23 10:59:43 +02:00
hiker
aa64f31f83
Added Screen::push() function to shorten the calls to pushScreen().
2014-09-23 16:43:50 +10:00
hiker
c28728d903
Removed more compiler warnings for 64 bit windows compilation.
2014-09-23 16:23:22 +10:00
hiker
ad20635cce
Applied patch for #600 (support 64 bit compilation on windows).
2014-09-23 14:41:32 +10:00
Marc Coll Carrillo
bbbe0ddf8d
Fix issues with the new "reverse grand prix" feature and user defined GPs
2014-09-19 23:25:03 +02:00
Marc Coll Carrillo
5cf3ad220f
Some improvements to the GP editor:
...
- GP are now classified into groups, just like tracks: standard, user defined, and add-ons
- allow empty GPs to be loaded by the GP manager, so that they can appear
on the GP editor (but not on the track selection screen)
- enable/disable buttons depending on the available options
- provide some feedback after pushing the "save" button
- some minor bug corrections and improvements
2014-09-13 10:40:27 +02:00
Flakebi
5858c05e74
Merge remote-tracking branch 'upstream/master' into perPlayerDifficulties
2014-09-05 22:46:17 +02:00
hiker
709583ead5
Removed Random GP dialog.
2014-09-03 17:01:36 +10:00
hiker
0a0609d91f
Added GrandPrixData::isRandomGP.
2014-09-03 08:24:11 +10:00
hiker
ae01eaf595
Use track->isRaceTrack().
2014-09-03 08:16:52 +10:00
hiker
ccdc90f029
Removed while loop with a 'random' abort condition - while it works
...
it could result in STK hanging if a broken random generator should be
used.
2014-09-03 08:08:41 +10:00
hiker
c8724632e8
Bugfix: only allow races (i.e. no arenas, or cut scenes) in an
...
'all tracks' random GP.
2014-09-02 16:40:26 +10:00
Flakebi
a31ec772ff
Replace accidently placed tabs
2014-09-02 03:57:48 +02:00