From: Lukas Krickl Date: Fri, 3 Jan 2025 09:27:48 +0000 (+0100) Subject: map: renamed base room table to f1 room table X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=8fe839d4b13b8294ac8e27fbba98e85c9e228e05;p=gbrg%2F.git map: renamed base room table to f1 room table --- 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: