diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-05 15:56:41 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-05 15:56:41 (GMT) |
| commit | 5904844e96da821c276fe3409f6c173e71ef7dc2 (patch) | |
| tree | 8e6549c6fdb57cc152fe485215b0797090dfe0df /src/game/GameModel.h | |
| parent | d256439c408094356d731afd7ab84c2365cbde7b (diff) | |
| download | powder-5904844e96da821c276fe3409f6c173e71ef7dc2.zip powder-5904844e96da821c276fe3409f6c173e71ef7dc2.tar.gz | |
Add way of uniquely identifying tools, preserve active menu and tools when rebuilding menus (fixes #170)
Diffstat (limited to 'src/game/GameModel.h')
| -rw-r--r-- | src/game/GameModel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/GameModel.h b/src/game/GameModel.h index a46bfd3..577af9a 100644 --- a/src/game/GameModel.h +++ b/src/game/GameModel.h @@ -98,6 +98,8 @@ public: GameModel(); ~GameModel(); + Tool * GetToolFromIdentifier(std::string identifier); + void SetActiveColourPreset(int preset); int GetActiveColourPreset(); |
