#ifndef HISTORYITEM_H #define HISTORYITEM_H #include "blockdata.h" class HistoryItem { public: Blockdata *metatiles; int layoutWidth; int layoutHeight; HistoryItem(Blockdata *metatiles, int layoutWidth, int layoutHeight); ~HistoryItem(); }; enum RegionMapEditorBox { BackgroundImage = 1, CityMapImage = 2, }; class RegionMapHistoryItem { public: int which; int mapWidth = 0; int mapHeight = 0; QVector tiles; QString cityMap; RegionMapHistoryItem(int type, QVector tiles, QString cityMap); RegionMapHistoryItem(int type, QVector tiles, int width, int height); ~RegionMapHistoryItem(); }; #endif // HISTORYITEM_H