summaryrefslogtreecommitdiff
path: root/include/map.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-05-11 15:34:37 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-05-11 15:34:37 +0200
commit2f493c24e3771bca9b9ee717cb3d7c18c406678f (patch)
tree9613b0ee6e1adf495e1171b399d818b7111565de /include/map.h
parent2f9e8a6033075f68bbed46a66d22712a84b8f678 (diff)
map work
Diffstat (limited to 'include/map.h')
-rw-r--r--include/map.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/map.h b/include/map.h
index 3980c8a..8b57d84 100644
--- a/include/map.h
+++ b/include/map.h
@@ -51,6 +51,16 @@ typedef struct t_map_data { // Data written to disk.
light_emitter light_emitters[MAX_LIGHT_EMITTERS];
} map_data;
+/* used for migerations.
+typedef struct t_map_data2 { // Data written to disk.
+ int width;
+ int height;
+ int heightmap[MAP_SIZE_Y][MAP_SIZE_X];
+ tile_type tiles[MAP_SIZE_Y][MAP_SIZE_X];
+ object2 objects[MAX_OBJECTS];
+ light_emitter light_emitters[MAX_LIGHT_EMITTERS];
+} map_data2;*/
+
typedef struct t_light_data {
float tl;
float tr;