Make overworld GUI cleaner by removing timer and rank
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
1998aa11f3
commit
32f8666d10
@ -31,6 +31,7 @@ OverWorld::OverWorld() : LinearWorld()
|
||||
void OverWorld::init()
|
||||
{
|
||||
LinearWorld::init();
|
||||
m_display_rank = false;
|
||||
} // init
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -52,9 +52,13 @@ public:
|
||||
// ------------------------------------------------------------------------
|
||||
/** The overworld is not a race per se so it's never over */
|
||||
virtual bool isRaceOver() { return false; }
|
||||
// ------------------------------------------------------------------------
|
||||
// ------------------------------------------------------------------------
|
||||
/** Implement base class method */
|
||||
virtual const std::string&
|
||||
getIdent() const { return IDENT_OVERWORLD; }
|
||||
// ------------------------------------------------------------------------
|
||||
/** Override base class method */
|
||||
virtual bool shouldDrawTimer() const { return false; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -252,7 +252,7 @@ public:
|
||||
// ------------------------------------------------------------------------
|
||||
/** The code that draws the timer should call this first to know
|
||||
* whether the game mode wants a timer drawn. */
|
||||
bool shouldDrawTimer() const { return isRacePhase() &&
|
||||
virtual bool shouldDrawTimer() const { return isRacePhase() &&
|
||||
getClockMode() != CLOCK_NONE; }
|
||||
// ------------------------------------------------------------------------
|
||||
/** \return whether this world can generate/have highscores */
|
||||
|
Loading…
Reference in New Issue
Block a user