summaryrefslogtreecommitdiff
path: root/src/floor.h
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-02-01 14:54:55 +0500
committerilotterytea <iltsu@alright.party>2025-02-01 14:55:37 +0500
commit98bb51185eb053d56052ad9feb3420c258dbb601 (patch)
tree81562188ef0015a6c903bb985ab864014b80f4b4 /src/floor.h
parentf1ab4e564ea83540e513e1266c87e31c0eedf073 (diff)
upd: we migrated to sfml/imgui/c++ stack (project rewrite)
Diffstat (limited to 'src/floor.h')
-rw-r--r--src/floor.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/floor.h b/src/floor.h
deleted file mode 100644
index ad3b2da..0000000
--- a/src/floor.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef __FLOOR_H_
-#define __FLOOR_H_
-
-#include "editor.h"
-#include "raylib.h"
-#include "tileset.h"
-
-typedef struct {
- int id;
- Vector2 position;
- float rotation;
- TilesetTile *tilesetTile;
-} Tile;
-
-typedef struct {
- int index;
- int tileCount;
- Tile *tiles[];
-} TileLayer;
-
-typedef struct {
- int width, height;
- int layerCount;
- TileLayer *layers[];
-} TileFloor;
-
-Tile *SE_CreateTile(TileLayer *layer, TilesetTile *tilesetTile);
-void SE_RemoveTile(TileLayer *layer, Tile *tile);
-Tile *SE_FindTileAtPosition(TileLayer *layer, Vector2 position);
-
-TileLayer *SE_CreateTileLayer(TileFloor *floor);
-
-TileFloor *SE_CreateTileFloor(int width, int height);
-void SE_UpdateTileFloor(EditorState *state, TileFloor *floor, Camera2D *camera);
-void SE_DrawTileFloor(TileFloor *floor, EditorState *state, Camera2D *camera);
-void SE_UnloadTileFloor(TileFloor *floor);
-
-#endif \ No newline at end of file