summaryrefslogtreecommitdiff
path: root/include/map.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-11 12:27:41 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-11 12:27:41 +0200
commit0ed1a617a897cf241406b3b7d5ddda5b74f4d9f4 (patch)
tree74e5537902360e8bc2ea0e165eeb44f3ee479c5c /include/map.h
parent981d99c229161c8afa508468032fe3ea0b924d3b (diff)
backdrop, floors, chairs
Diffstat (limited to 'include/map.h')
-rw-r--r--include/map.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/map.h b/include/map.h
index 8b11634..50e3941 100644
--- a/include/map.h
+++ b/include/map.h
@@ -8,8 +8,8 @@
typedef enum t_tile_type {
TILE_NONE = 0,
- TILE_COBBLESTONE1 = 1,
- TILE_GRASS1 = 2,
+ TILE_FLOOR1 = 1,
+ TILE_FLOOR2 = 2,
TILE_END,
} tile_type;
@@ -42,7 +42,7 @@ typedef struct t_map_info {
float px_incline;
} map_info;
-typedef struct t_map_data {
+typedef struct t_map_data { // Data written to disk.
int width;
int height;
int heightmap[MAP_SIZE_Y][MAP_SIZE_X];
@@ -58,7 +58,7 @@ typedef struct t_light_data {
float br;
} light_data;
-typedef struct t_extracted_map_data {
+typedef struct t_extracted_map_data { // Data extracted from file on disk.
int width;
int height;
tile heightmap[MAP_SIZE_Y][MAP_SIZE_X]; // tilemap