projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607c2d4
)
chore: Added note about mapgen trying to avoid doors next to walls
author
Lukas Krickl
<lukas@krickl.dev>
Tue, 29 Jul 2025 03:53:02 +0000
(
05:53
+0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Tue, 29 Jul 2025 03:53:02 +0000
(
05:53
+0200)
src/mapgen.s
patch
|
blob
|
history
diff --git
a/src/mapgen.s
b/src/mapgen.s
index 6977096a0282559e8680c9130dba89be051429cf..948502e4be1391360d0f5dc4026c3a38ce855e23 100644
(file)
--- a/
src/mapgen.s
+++ b/
src/mapgen.s
@@
-265,6
+265,9
@@
mapgen_draw_room_pattern:
; draws a single map pattern row
; writes tile flags
+ ; if a door is about to be placed next to
+ ; and existing wall the door is replaced with a
+ ; wall tile
; inputs:
; hl: map ptr
; bc: room pattern