From 027cf3bf4d64855c190fcf8564eab87a8de95fda Mon Sep 17 00:00:00 2001 From: PatR Date: Sun, 23 Oct 2022 15:31:12 -0700 Subject: [PATCH] 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. --- doc/window.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/window.txt b/doc/window.txt index 68119c5c2..5fb0ce26b 100644 --- a/doc/window.txt +++ b/doc/window.txt @@ -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