From 36536297aac5c07e3d5fb96abed74570fc7615e9 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 16 Mar 2015 10:57:03 -0400 Subject: Added toolbar with file buttons to map editor --- tools/mapedit/src/map.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools/mapedit/src/map.h') diff --git a/tools/mapedit/src/map.h b/tools/mapedit/src/map.h index 16bbb4c..a2b9cb8 100644 --- a/tools/mapedit/src/map.h +++ b/tools/mapedit/src/map.h @@ -8,6 +8,8 @@ #include "object.h" #include +class MapeditFrame; + const int TILE_WIDTH = 8; const int TILE_HEIGHT = 8; const int GAME_WIDTH = 320; @@ -72,8 +74,13 @@ class Map { const std::list>& getObjects() const; void addObject(std::shared_ptr& obj); void removeObject(std::shared_ptr& obj); + bool getDirty() const; + + MapeditFrame* frame; private: + void setDirty(bool dirty); + std::list> objects; int* mapdata; std::string title; -- cgit 1.4.1