projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7154c9
)
Added docs for maps and rooms
author
Lukas Krickl
<lukas@krickl.dev>
Sat, 16 Nov 2024 16:22:11 +0000
(17:22 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Sat, 16 Nov 2024 16:22:11 +0000
(17:22 +0100)
src/map.s
patch
|
blob
|
history
diff --git
a/src/map.s
b/src/map.s
index 8b323134519e270f60635f2c23cca67dee85737e..db49b0a0622ea908bff00d91d546a32e052af779 100644
(file)
--- 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