gl3nn
06b7ba09f5
Bool to string fix for challenges. String to bool applied for
...
achievements.
2014-02-02 15:50:10 +01:00
hikerstk
9ee06a5fe0
Replaced boolstr with toString specialisation for bool;
...
fixed translations in current user. Otherwise many many
cosmetic only changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15071 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-14 11:47:25 +00:00
hikerstk
7cdca13d7b
Fixed all(?) warnings about signed and unsigned comparisons.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 00:09:19 +00:00
auria
6b7e33a267
Convert a bunch of prints to our logging system, it's long overdue we fix that
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-01 19:11:01 +00:00
hikerstk
c450c97472
Allowed the music directory to be external. Renamed
...
getMusicFile to searchMusic and getTextureFile to
searchTexture. Removed m_root_dir from file_manager.
Added convenience function getTexture to irr_driver
which takes an asset type, so now less code is needed
to load textures (though that's proably not used
everywhere yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-18 22:29:08 +00:00
hikerstk
73c498daf3
Start to support 'externa' data directories. Most directories
...
from data can now be moved out (except music). STK prints
an overview of which directory is taken from where. More
cleanups and improvements will come.
Also moved skins into a separate directory under data (from
data/skins), since it's likely that skins will be part
of a binary package (i.e. changes to skins not really
related to code), while gui files will more likely stay
with the code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 23:48:47 +00:00
hikerstk
bced8cdb9f
Merged with trunk, part 1 (due to previous failures I am splitting this
...
patch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:27:55 +00:00
unitraxx
c775662e4a
fix rfc for achievements when no default profile is selected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13685 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-14 22:52:21 +00:00
unitraxx
91e77a14c3
Lots of additions to achievements! core almost done.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-02 20:53:55 +00:00
unitraxx
e21ef8d40b
Combined some file manager methods that had duplicated code into one getConfigFile method. Also fixed compile issues with the achievements stuff. (latter still WIP)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-09-01 21:11:15 +00:00
auria
1bbab17913
Fix assertion failure at end of challenges
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-20 00:31:31 +00:00
auria
16dcb4f38b
Lock the highest difficulty until the game was beaten
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-06-19 23:21:22 +00:00
curaga
57c3cbae3e
Space cleanup pass on the headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-30 19:47:39 +00:00
curaga
b56bf4dc53
Remove trailing space, git doesn't like it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
hikerstk
9d5c41f4ad
Replaced many printf with log (see #937 ). Thanks to
...
unitraxx.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12674 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-19 06:53:17 +00:00
hikerstk
9773df37ee
Fixed crash (when some things are actually locked).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-15 23:01:44 +00:00
hikerstk
8ed288e81d
Added a separate ChallengeModeType as preparation for the
...
challenge for highest AI. Mostly this is a cleanup only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-15 12:39:45 +00:00
wardje
b7bc1f0ec8
Fix compiling in release
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-13 10:44:15 +00:00
hikerstk
9a9ff77812
iAdded new 'best' AI difficulty. ATM this is not locked yet, and
...
art work (icon) is still missing. Also we have to find what
to call it (atm 'Iron Man').
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-04-11 06:17:46 +00:00
hikerstk
81d6353d7b
Fixed typoes (see #897 ), thanks to bkerensa for the patch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-26 05:22:25 +00:00
auria
d9af2f9706
Small improvement to challenge file, to add a textual player name next to the player ID, to make it easier to read
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 20:31:26 +00:00
auria
c51b746097
Validate AI power in challenge
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-17 20:25:26 +00:00
auria
bbf4d7eab5
Don't announce fort magma as unlocked when its not
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-12-01 03:10:48 +00:00
auria
9c59842db9
Show what was unlocked
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-27 00:41:38 +00:00
hikerstk
0c4565041f
Locked Fort Magma till the final challenge is won.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-26 09:59:41 +00:00
hikerstk
87528e542c
Fixed #738 : when winning a challenge on higher difficulty
...
that had been unlocked earlier, it would not save the
new state.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-12 21:05:09 +00:00
hikerstk
f532178d59
Fixed #761 : don't play win animation if challenge was started
...
but not fulfilled.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-12 12:05:09 +00:00
hikerstk
b18c65b863
Challenges are now only fulfillable when they are started from
...
overworld. Esp. the problem that a single race challenge is
fulfilled in a GP challenge (which is quite confusing)
is fixed (#764 ).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11878 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-06 21:53:30 +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
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
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
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
auria
d169fdfacc
Actually lock GPs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-20 01:25:20 +00:00
auria
f74f945558
Add minimal support for GP challenges in the overworld. More to come
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-07 02:06:50 +00:00
auria
bfc1a5e14c
Give nolok some special powers in the last fight against him. Changing the swatter and bubble gum to different models might help make it more dramatic of course
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-04 00:39:14 +00:00
auria
20382c0f15
Allow a challenge to specify which AI kart to use, and use it for the final race against Nolok challenge
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-03 20:18:48 +00:00
auria
e211de77b6
Lock gnu and nolok until the last challenge is solved
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-08-29 23:53:44 +00:00
wardje
41b47718a1
Fix minor memory leaks, by nathanm32292394 - #676
...
* delete star effect in kart destructor
* clean up challenges in gameslot destructor
* music information's normal and fast music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-07-16 22:36:47 +00:00
wardje
1caba55886
Remove gameslots when they don't have a player
...
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
2012-06-22 17:57:22 +00:00
wardje
97c5153832
Tentative fix for #647
...
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
2012-06-21 21:00:11 +00:00
wardje
dfd945bc77
Fix bug where easy challenges weren't being counted
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-31 16:48:59 +00:00
auria
85ba896d04
More work to communicate the points system to the player
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 02:03:03 +00:00
auria
60f26bde9f
Better show in overworld GUI how trophies become points
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 01:54:32 +00:00
auria
f2cb7a8eac
Give more points when solving hard challenges
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 01:42:11 +00:00
auria
ef750af24e
challenges.xml no longer contain a player name, only a player ID, so it no more needs to be UTF-32. Back to good old ASCII :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-25 19:41:23 +00:00
auria
7e5f51b270
Identify players by a unique ID and no more by their name, so that when you rename a player game slots are no longer so confused. This is a somewhat painful change, please report any breakage
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-24 01:28:43 +00:00
auria
6784b0149a
Fix bug when writing challenges.xml, a quote was not closed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11069 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 19:17:40 +00:00
auria
7b9fce0486
The first time a player starts story mode, ask them to select a kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-01 17:59:00 +00:00
auria
b6dac0b50b
Update the number of points are list of locked tracks after winning a trophy
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11053 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-31 18:34:59 +00:00
auria
ea648e1061
Lock tracks in the GUI when user doesn;t have engouh points
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-29 01:58:00 +00:00