mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01:00
Add struct MenuStackFrame
This will be pushed onto a stack when going to a different menu so the game can dynamically keep track of which menu option got you to which menu.
This commit is contained in:
parent
503b3f1692
commit
13d2d6b623
1 changed files with 6 additions and 0 deletions
|
@ -70,6 +70,12 @@ namespace Menu
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct MenuStackFrame
|
||||||
|
{
|
||||||
|
int option;
|
||||||
|
enum Menu::MenuName name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
class Game
|
class Game
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue