X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Feditorwidget.h;h=01781fa201cae89c6c5570629108f77537d2804c;hb=6f13016fe0742df2abfbf4ee08b3a0f27211a993;hp=87ab02fda3d1aa97299c951ebbadb05fe4e4b836;hpb=98faaadc703b743d2f4e1540e827e19e3c31eeb4;p=warehouse-man-deluxe diff --git a/src/editorwidget.h b/src/editorwidget.h index 87ab02f..01781fa 100644 --- a/src/editorwidget.h +++ b/src/editorwidget.h @@ -3,26 +3,7 @@ #include #include -#include - -#define BOARDSIZE 128 - -struct Point -{ - Point(int xx = 0, int yy = 0) { x = xx; y = yy; } - int x, y; -}; - -struct Level -{ - uint8_t board[BOARDSIZE][BOARDSIZE]; - char name[41]; - Point corner; // Corner dimensions on screen - Point cursor; // Cursor location -// This stuff will go into the save file, but we don't need it here... -// Point size; // Actual dimensions of the level -// Point boardCorner; // Where on the gird the UL corner of the level is -}; +#include "boards.h" class EditorWidget: public QWidget { @@ -62,7 +43,6 @@ class EditorWidget: public QWidget void Pause(int); public: - std::vector levelStorage; uint32_t currentLevel; private: