diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-16 21:28:46 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-16 21:28:46 -0400 |
| commit | 29f818c314f86f9a842840c20d9634f0711507a6 (patch) | |
| tree | 46f6445f336cc2b7c5dfc64b6f99459a97a8bc03 /tools/mapedit/src/widget.h | |
| parent | 8b61d93fc869ea39a78cdc134002ef11bf3e69d3 (diff) | |
| download | therapy-29f818c314f86f9a842840c20d9634f0711507a6.tar.gz therapy-29f818c314f86f9a842840c20d9634f0711507a6.tar.bz2 therapy-29f818c314f86f9a842840c20d9634f0711507a6.zip | |
Added tool to map editor to set game starting position
Diffstat (limited to 'tools/mapedit/src/widget.h')
| -rw-r--r-- | tools/mapedit/src/widget.h | 3 |
1 files changed, 3 insertions, 0 deletions
| diff --git a/tools/mapedit/src/widget.h b/tools/mapedit/src/widget.h index 34627bc..67ebc01 100644 --- a/tools/mapedit/src/widget.h +++ b/tools/mapedit/src/widget.h | |||
| @@ -30,6 +30,7 @@ class MapeditWidget : public wxScrolledWindow { | |||
| 30 | void StartAddingEntity(MapObject* object); | 30 | void StartAddingEntity(MapObject* object); |
| 31 | void CancelAddingEntity(); | 31 | void CancelAddingEntity(); |
| 32 | void SetMap(Map* map); | 32 | void SetMap(Map* map); |
| 33 | void SetIsSettingStart(bool isSetting); | ||
| 33 | 34 | ||
| 34 | MapeditFrame* frame; | 35 | MapeditFrame* frame; |
| 35 | 36 | ||
| @@ -55,6 +56,8 @@ class MapeditWidget : public wxScrolledWindow { | |||
| 55 | wxPoint mousePos; | 56 | wxPoint mousePos; |
| 56 | bool mouseIsIn = false; | 57 | bool mouseIsIn = false; |
| 57 | EditMode editMode = EditTiles; | 58 | EditMode editMode = EditTiles; |
| 59 | int currentPlayer = 0; | ||
| 60 | bool isSettingPos = false; | ||
| 58 | 61 | ||
| 59 | MapObject* addingEntity = nullptr; | 62 | MapObject* addingEntity = nullptr; |
| 60 | std::shared_ptr<MapObjectEntry> selectedEntity; | 63 | std::shared_ptr<MapObjectEntry> selectedEntity; |
