From: Lukas Krickl Date: Sat, 16 Nov 2024 16:22:11 +0000 (+0100) Subject: Added docs for maps and rooms X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=0608045dda8955f11edfe97d273b989aaf2a759b;p=gbrg%2F.git Added docs for maps and rooms --- diff --git a/src/map.s b/src/map.s index 8b32313..db49b0a 100644 --- a/src/map.s +++ b/src/map.s @@ -26,6 +26,14 @@ #define TWALLD1 0x4A #define TWALLL1 0x4C + + ; maps: + ; a map is a collection of room struct pointers + ; of n*m rooms. when a player leaves a room + ; they will transition to the map to the north/south/east/west + ; room: + ; a room is a collection of tiles, falgs and actor tables + ; loads a map ; inputs: ; de: ptr to room struct