#include <QtGui>
#include <stdint.h>
-#include <vector>
-
-#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
{
void Pause(int);
public:
- std::vector<Level> levelStorage;
uint32_t currentLevel;
private: