Remove outdated TODOs + fix typo
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c54809ebe2
commit
6b6cc3f7bf
@ -83,7 +83,7 @@
|
||||
\endcode
|
||||
|
||||
The center border will be stretched in all directions. The 4 corners will not stretch at all.
|
||||
Horizontal borders will stretch horizontally, verticallt borders will stretch vertically.
|
||||
Horizontal borders will stretch horizontally, vertical borders will stretch vertically.
|
||||
Use properties left_border="X" right_border="X" top_border="X" bottom_border="X" to specify
|
||||
the size of each border in pixels (setting all borders to '0' makes the whole image scaled).
|
||||
|
||||
|
@ -50,31 +50,6 @@ class Track;
|
||||
* Special game modes (e.g. follow the leader) are currently integrated in
|
||||
* this world, see e.g. updateRaceStatus where the world clock behaviour
|
||||
* is handled differently to create the count down.
|
||||
* \todo The different game modes should be implemented more cleanly (instead
|
||||
* of being handled by if statements all over the place). E.g. world
|
||||
* could become a base class, from which the following classes are
|
||||
* created:
|
||||
* - LapCountingWorld:World Adds lap counting to the world
|
||||
* - TimeTrialWorld:LapCountingWorld Creates a world for time trial
|
||||
* mode.
|
||||
* - CrazyRaceWorld:LapCountingWorld Creates a world for crazy race
|
||||
* (currently called quick race).
|
||||
* - FollowLeaderWorld:World Creates the follow the leader mode.
|
||||
* - TagWorld:World Multi-player 'tag' like game.
|
||||
* Of course, other designs are possible (e.g. a mode-specific object could
|
||||
* be passed into the world constructor, and world just calls functions in
|
||||
* this object.
|
||||
* \todo The handling of the FollowTheLeader mode should probably be changed
|
||||
* as well. Currently the leader kart is a normal AI kart (so it is
|
||||
* included in the number of karts selected), and this causes some
|
||||
* unnecessary handling of special cases everywhere (e.g. score
|
||||
* counting will subtract one from the rank, since the kart on position
|
||||
* 1 is the leader and does not score points, and the kart on position
|
||||
* 2 should get the points for a kart on position 1 etc). With a
|
||||
* special world for the FTL mode this could be handled better:
|
||||
* creating a special kart type (see RaceManager::KartType), scoring
|
||||
* would be done in the mode specific world (instead of in the
|
||||
* RaceManager).
|
||||
* \ingroup modes
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user