diff options
| author | ilotterytea <iltsu@alright.party> | 2025-02-01 14:54:55 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-02-01 14:55:37 +0500 |
| commit | 98bb51185eb053d56052ad9feb3420c258dbb601 (patch) | |
| tree | 81562188ef0015a6c903bb985ab864014b80f4b4 /src/editor.h | |
| parent | f1ab4e564ea83540e513e1266c87e31c0eedf073 (diff) | |
upd: we migrated to sfml/imgui/c++ stack (project rewrite)
Diffstat (limited to 'src/editor.h')
| -rw-r--r-- | src/editor.h | 38 |
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 |
