[splittiming] GetAppropriateTiming() function.

I admit it: I got tired of typing the same if statement.
This commit is contained in:
Jason Felds
2011-05-12 23:01:19 -04:00
parent d74294d4b7
commit 7361e3fe04
2 changed files with 25 additions and 14 deletions
+5
View File
@@ -548,6 +548,11 @@ public:
void MakeFilteredMenuDef( const MenuDef* pDef, MenuDef &menu );
void EditMiniMenu( const MenuDef* pDef, ScreenMessage SM_SendOnOK = SM_None, ScreenMessage SM_SendOnCancel = SM_None );
private:
/**
* @brief Retrieve the appropriate TimingData based on GAMESTATE.
* @return the proper TimingData. */
TimingData & GetAppropriateTiming() const;
};
#endif