mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-03 15:39:46 +01:00
Add Game::option()
This simply adds a menu option to the list of menu options, and is neat and tidy and not messy.
This commit is contained in:
parent
c5db440318
commit
a0d2be6362
1 changed files with 8 additions and 0 deletions
|
@ -169,6 +169,14 @@ public:
|
|||
int current_credits_list_index;
|
||||
int menuxoff, menuyoff;
|
||||
|
||||
void inline option(std::string text, bool active = true)
|
||||
{
|
||||
MenuOption menuoption;
|
||||
menuoption.text = text;
|
||||
menuoption.active = active;
|
||||
menuoptions.push_back(menuoption);
|
||||
}
|
||||
|
||||
int menucountdown;
|
||||
std::string menudest;
|
||||
|
||||
|
|
Loading…
Reference in a new issue