157 Commits

Author SHA1 Message Date
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
auria
1be96dcff3 Solving the 'hard' challenge now also marks as obtained the 'medium' and 'easy' trophies
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-29 01:26:11 +00:00
hikerstk
ebbc1a71d8 Introduced an 'abstract kart' class, which is used to
de-couple kart implementation and its interface. This
significantly reduces compile time when changing kart.hpp,
but is at this stage still work in progress.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-19 20:21:11 +00:00
auria
c953803f13 Start refactor to turn around a bad design decision regarding challenges. Oops. Number of required trophies moved from scene.xml to .challenge file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-23 01:36:24 +00:00
auria
c92df26ea6 Show which challenges have been solved in the dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 02:21:23 +00:00
auria
2d926bbfcd massive update : more work to support several challenge difficulties; remove a huge lot of code that is no more needed thanks to the new points system; start work on the challenge-solved cutscene
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-15 01:58:24 +00:00
hikerstk
ad2a999034 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10732 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-27 13:08:11 +00:00
auria
af51e45217 Fixed leaks when a challenge file could not be read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-27 02:46:58 +00:00
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 : 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