From 8fe839d4b13b8294ac8e27fbba98e85c9e228e05 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Fri, 3 Jan 2025 10:27:48 +0100 Subject: [PATCH] map: renamed base room table to f1 room table --- src/map.s | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/map.s b/src/map.s index d25d477..7c9a60e 100644 --- a/src/map.s +++ b/src/map.s @@ -28,9 +28,6 @@ #define TEXIT1 0x4E - ; count of all pointers in base room table -#define BASE_ROOM_TABLE_LEN ((base_room_table_end - base_room_table) / 2) - ; maps: ; a map is a collection of room structs @@ -1020,20 +1017,22 @@ map_gen_copy_base_room: #include "base_room.s" #include "base_room2.s" + ; count of all pointers in base room table +#define F1_ROOM_TABLE_LEN ((f1_room_table_end - f1_room_table) / 2) ; the first byte of the table is the length of the table ; a table of all base room ptrs ; length must be divisible by 2 -base_room_table: - .db BASE_ROOM_TABLE_LEN +f1_room_table: + .db F1_ROOM_TABLE_LEN dw base_room_header dw base_room2_header -base_room_table_end: +f1_room_table_end: ; a table of all room tables ; to allow for room sets per level room_tables: - dw base_room_table + dw f1_room_table ; exit table for empty exits room_empty_exits: -- 2.30.2