From 0608045dda8955f11edfe97d273b989aaf2a759b Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sat, 16 Nov 2024 17:22:11 +0100 Subject: [PATCH] Added docs for maps and rooms --- src/map.s | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.30.2