map documentation refinement

Add minor detail to recently added map description in doc/window.txt:
origin is in upper left and positive y goes downward, so not typical
Cartesian x,y coordinate plane.
This commit is contained in:
PatR
2022-10-23 15:31:12 -07:00
parent b40ef88e1e
commit 027cf3bf4d

View File

@@ -58,8 +58,9 @@ files are all formatted accordingly.
NHW_MAP is a persistent window which uses tty-style character cell
column and row as x,y coordinates (even for tiled map). The y or row
coordinate runs from 0 through ROWNO-1 inclusive. The x or column
coordinate runs from _1_ through COLNO-1; column 0 is used by the core
coordinate runs from 0 through ROWNO-1 inclusive, with 0 at the top
and +(ROWNO-1) at the bottom. The x or column coordinate runs from
_1_ through COLNO-1, left to right. Column 0 is used by the core
for internal bookkeeping and not drawn on the screen. Most levels
leave some rows and/or columns unused but the core still passes data
(typically 'unexplored' or 'solid stone') for them and those should