summaryrefslogtreecommitdiff
path: root/src/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.h')
-rw-r--r--src/editor.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/editor.h b/src/editor.h
deleted file mode 100644
index 9b2cda5..0000000
--- a/src/editor.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef __EDITOR_H__
-#define __EDITOR_H__
-#include <raylib.h>
-#include <stdbool.h>
-
-#include "tileset.h"
-
-#define EDITOR_TOOLKIT_WIDTH 400.0f
-#define EDITOR_TOOLKIT_HEIGHT GetScreenHeight()
-#define EDITOR_TOOLKIT_X GetScreenWidth() - EDITOR_TOOLKIT_WIDTH
-#define EDITOR_TOOLKIT_Y 0.0f
-
-typedef struct {
- bool isFloor, isWall;
- char *upFilePath, *sideFilePath, *cornerFilePath;
- Texture2D upTexture, sideTexture, cornerTexture;
-} EditorCreateBlockState;
-
-typedef struct {
- int activeMainTab;
- int activeTileLayerId;
-
- float tileRotation;
-
- TilesetTile *activeTilesetTile;
- EditorCreateBlockState *createBlockState;
- Rectangle panelView;
- Vector2 panelScroll;
-} EditorState;
-
-typedef struct {
- EditorState state;
-} Editor;
-
-void SE_UpdateEditor(Editor *editor);
-void SE_DrawEditor(Editor *editor, Tileset *tileset);
-
-#endif