Added docs for maps and rooms
authorLukas Krickl <lukas@krickl.dev>
Sat, 16 Nov 2024 16:22:11 +0000 (17:22 +0100)
committerLukas Krickl <lukas@krickl.dev>
Sat, 16 Nov 2024 16:22:11 +0000 (17:22 +0100)
src/map.s

index 8b323134519e270f60635f2c23cca67dee85737e..db49b0a0622ea908bff00d91d546a32e052af779 100644 (file)
--- a/src/map.s
+++ b/src/map.s
 #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