auria
57b727f68d
Big overhaul of challenges. Bumped challenge XML file format to version 2.0. Now each challenge file speficies 3 difficulty levels. Started adapting unlock manager for these changes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-26 19:12:48 +00:00
auria
47a7076ab0
Avoid potential crash with challenges
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-26 18:14:01 +00:00
auria
d7eff73234
Different display for locked challenges; link toghether force field and challenge
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-15 01:45:40 +00:00
auria
bf01c05412
Fix typo + improve challenges on the map (more are now visible on the minimap)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-14 19:29:02 +00:00
auria
55b18bdbba
Show summary of challenge when approaching orb
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-14 19:16:25 +00:00
auria
3b0a88ae30
Update overworld : challenge orbs now contain the screenshot of the actual challenge they lead to
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-27 21:59:11 +00:00
auria
c2d69b24f9
Display number of trophies in overworld HUD
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10461 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-20 22:01:45 +00:00
auria
3aa77cccfa
Don't allow a player to delete themselves
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-09 01:12:30 +00:00
auria
eccc1a66b4
Fixed bug when selecting player profile, don't rely on numerical IDs, they may not match because the guest profile is skipped
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-08 01:25:56 +00:00
auria
61070ece57
Select the appropriate identity when starting a new race from what was selected on the welcome screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:55:18 +00:00
auria
92eb0ebd2a
Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
auria
b384f71c7e
Fixed bug when loading challenges.xml
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 01:16:16 +00:00
auria
e61c4430b3
Fix some breakage in challenges
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 00:01:48 +00:00
auria
57d85f1bf1
Remove accidentally committed logging
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 23:58:49 +00:00
auria
0455efd20d
Massive refactor in challenge code to allow having more than 1 progression
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 22:00:42 +00:00
auria
d04bc58413
Quite a bit of work on Doxygen docs to contain an overview of the STK source code base
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:46:14 +00:00
auria
6e4cee9341
Includes cleanup; especially avoid including in headers, creating implicit dependencies and horrible chains of recursive includes. Avoid iostream when possible because this header is not small
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 19:52:24 +00:00
auria
357af5a27d
More work on 'thou shalt not include irrlicht.h everywhere carelessly'
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8663 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:29:52 +00:00
auria
c35b36db3a
Fixed memory leak
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8652 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-21 22:35:38 +00:00
hikerstk
3f141e2010
Fixed ticket #134 : challenges would stay in the langauge with which STK
...
was started up, ignoring a language switch via the UI.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-04-03 23:34:26 +00:00
auria
205da43747
Fixed locking broken on first launch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-02 01:49:18 +00:00
auria
6df90a2a75
Fixed strings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 23:14:26 +00:00
hikerstk
4acd295a0f
Fixed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7717 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 22:03:12 +00:00
hikerstk
6bfedf8327
Cosmetic changes to follow our style guide.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7716 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 21:18:02 +00:00
hikerstk
ac956fdcb1
Cosmetic changes: moved minor structs into a class, added &,
...
renamed members to use m_ etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7713 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-16 08:45:26 +00:00
hikerstk
7b09afcb24
Added version number to challenges (I replaced all Challenge
...
declarations with ChallengeData - I don't see a good
reason to keep both classes).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-04 10:53:58 +00:00
hikerstk
4d8b8e5dea
Renamed ptr_vector to PtrVector so that is follows
...
our naming convention, also changed contentsVector
to m_contents_vector, and removed unused add method
(which is using an iterator, which would not work
when using aligned_arrays on windows anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:20:53 +00:00
auria
009960fc8a
Clean up call to fribidi, add capabilities to insert values to the _ macro
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 23:39:10 +00:00
mbjornstk
015443f582
Set props as per SVN-CONFIG for .[ch]pp, AKA SVN props clean up day. :)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 01:54:38 +00:00
magned
18b3c91954
Move all challenge files into one directory. Please tell if any problems occur.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-07 01:16:15 +00:00
auria
fa8b2a8ed6
Improve documentation of race manager; this is one huge class so having good doxygen docs is important. Also clarify difference between setNumPlayers and setNumLocalPlayers; replace many calls to setNumPlayers with calls to setNumLocalPlayers, since setNumPlayers is called by the network manager already and as such calls to setNumPlayers had no effect (the same method was called again later) and were just confusing
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 20:17:44 +00:00
auria
27d75d2414
Correct code duplication (and FIXMEs) in challenges manager
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:55:01 +00:00
auria
74c0c19688
Slightly improved confusing error message
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 21:29:55 +00:00
auria
7a6fbbde51
Nitro target line remains on restart. Important everyone : if you find a sequence of events that causes the nitro line to remain when it shouldn't, tell me, it's hard to think of every possible case
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-31 02:24:44 +00:00
hikerstk
83a9993f68
Bugfix: difficulty was not tested in non GP challenges.
...
Also accept higher difficulties in challenges.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-21 06:10:28 +00:00
hikerstk
8ecee44a35
Renamed getConfigFile to getDataFile (since getConfigFile
...
would actually not return a directory under getConfigDir).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:59:06 +00:00
auria
65d2fff63c
Fixed more leaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 01:25:47 +00:00
auria
5fe492dd70
Write chal;enges file when none is found
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-21 21:59:49 +00:00
auria
cb78ded2ed
Tidy up logging + other minor fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00
hikerstk
4959703ec3
Remove compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 05:54:14 +00:00
auria
2ceb82e33c
More sanity checks with challenges + avoid crashing at all costs when bad challenges are found
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-18 02:38:06 +00:00
hikerstk
c13933a792
Added more NoCopy.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 11:39:19 +00:00
auria
803c25475f
Bugfix : don't show challenges that rely on a broken GP
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:49:04 +00:00
auria
2810193fb2
Lots of small changes to make the output Doxygen file much more useful
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:36:13 +00:00
auria
2a06f7b2c0
Cleaned up no more useful TODOs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:22:26 +00:00
auria
fafed60136
Bugfix : adding depend-on="" in a challenge file would cause the challenge to be unplayable
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:50:05 +00:00
auria
56ad4bbec9
Removed unused class member that was misleading
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 18:42:28 +00:00
auria
0623cce462
Fixed crash at the end of a GP if there is a challenge associated to it. Also, it is now detected properly when you unlock a feature by winnign a GP (however the chest scene doesn't yet apepar)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 18:42:04 +00:00
auria
5d127c878c
Removed unused constant, fixed compile error in switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 02:41:10 +00:00
auria
bdd985c88a
Can now unlock game modes too. Centralized a couple mode-related stuff to make code cleaner with new changes. Made challenges more robust, fixes a couple crashes that could happen because errors went undetected
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:28:23 +00:00