From 98bb51185eb053d56052ad9feb3420c258dbb601 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 1 Feb 2025 14:54:55 +0500 Subject: upd: we migrated to sfml/imgui/c++ stack (project rewrite) --- src/editor.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/editor.h (limited to 'src/editor.h') 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 -#include - -#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 -- cgit v1.2.3