hikerstk
a973e8b84f
Renamed all instanced of RandomKart in the race_manager to
...
AIKart (e.g. m_random_kart_list -> m_ai_kart_list) - since this
describes what the lists and function actually are (in network
the name is not entirely correct, but since this will be
re-implemented anyway, we leave the proper naming till later).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 07:37:42 +00:00
hikerstk
248c12c3a2
Properly fixed bug 3072032 (crash when doing a challenge) - the call
...
to computeRandomKartList is not necessary, the real problem was that
the game data structure was set up before the new data was
defined (e.g. data was initialised for previous number of karts,
after initialisation the correct number of karts was set, causing
a crash).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:04:49 +00:00
auria
1c4e3f8492
Fixed crash when starting challenges. @Joerg: please read the fixme I added in RaceManager. There is some confusing design to fix there =)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:09:25 +00:00
hikerstk
e034082a2b
1) Moved calls to World::(un)pause from state_manager into
...
the menus. This simplifies the state manager (no more
hidden side effects of pushScreen), less parameter
to onGameStateChange, easier extend for new RaceResultGUI
(which must not have calls to pause). Now the calls
are done in the Screen base class (and can be disabled
in the constructor).
2) Many cosmetic changes to make the code follow our
coding standards.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 01:15:19 +00:00
auria
b1e7e6e15c
Select something by default in challenges screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:31:03 +00:00
auria
1bdc320742
Fixed karts selection screen messed up after a resolution switch; added some refactor to allow easier fixing of such problems in the future. Documented many more methods along the way.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:16:38 +00:00
auria
1a9b1466bb
removed many includes in headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 14:41:23 +00:00
auria
9ef740ea27
Fixed old code still using 'this' as argument for a method that expected a bitmask (stupid C++ converts bool to int implicitely so didn't warn me)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 17:20:31 +00:00
auria
d1df9b1ee1
Fixed several FIXMEs related to player ID
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 21:02:40 +00:00
auria
fad4cb4c01
Updated menu singleton code, there was a bug in its logic (that had no consequence that i know but better fix it anyway) + some code style cleanup along the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 18:18:19 +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
auria
2ee8c18e68
Fixed bug in challenges screen : solved challenges had the wrong label and description
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 19:57:47 +00:00
auria
a0917dd60e
Show challenge description for solved challenges too
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 02:05:38 +00:00
auria
91386516e4
Added FIXME
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 00:58:59 +00:00
auria
6f278f6d1e
Started implementing clicking on a challenge to start it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-28 00:52:41 +00:00
auria
68381a83e1
Fixed many warnings printed on the console
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-01 21:38:17 +00:00
auria
1571ae669e
Fixed an (harmless) error message that was printed on the console
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:08:06 +00:00
auria
63db1de1d4
Debugged challenges : several challenge files were incorrect XML
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:03:26 +00:00
auria
509ab5934f
Started dealing with [?] squares in ribbons
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 18:39:55 +00:00
auria
68ba369ff4
Lots of small fixes and cleanup; major change : totally bypass irrLicht's icon rendering in the GUI, which is insufficient for our needs. Use a new system that's much more flexible. Improved locking icon on the way. A few minor glitches introduced, to be fixed soon
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 20:15:09 +00:00
auria
b2af9653f4
Started adding new icons from OpenGameArt
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-13 23:20:11 +00:00
auria
b1f540e062
Improved support for multiplayer kart selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:04:38 +00:00
auria
410cb0fe54
More minor changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 23:00:12 +00:00
auria
1d64a45e79
Minor changes (nothing visible)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 22:51:23 +00:00
auria
5f52d47306
Started implementing challenges menu (for some reason, many challenge files are not found/loaded, didn't figure why yet)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 20:52:52 +00:00