diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-15 03:50:26 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-15 03:50:26 (GMT) |
| commit | 94d21a1679749df49342903545192254a27f8ffc (patch) | |
| tree | 81d4f9771b4821ad29b0dee0240febcb4e08280e /src/gui/game/GameController.h | |
| parent | ab3675d6eea1ce6eeeac713ed44f5cb591ff820f (diff) | |
| download | powder-94d21a1679749df49342903545192254a27f8ffc.zip powder-94d21a1679749df49342903545192254a27f8ffc.tar.gz | |
when called with no arguments, some tpt. functions will act as get functions (unfinished)
Also, redo some menu stuff to use int's instead of Menu *s, and fix bug with toggleable buttons being toggled without triggering their actions
Diffstat (limited to 'src/gui/game/GameController.h')
| -rw-r--r-- | src/gui/game/GameController.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/game/GameController.h b/src/gui/game/GameController.h index f2cf26b..59fd4c8 100644 --- a/src/gui/game/GameController.h +++ b/src/gui/game/GameController.h @@ -100,7 +100,8 @@ public: void SetDecoration(); void ShowGravityGrid(); void SetHudEnable(bool hudState); - void SetActiveMenu(Menu * menu); + bool GetHudEnable(); + void SetActiveMenu(int menuID); std::vector<Menu*> GetMenuList(); void SetActiveTool(int toolSelection, Tool * tool); void ActiveToolChanged(int toolSelection, Tool *tool); |
