From e15f7be909b130e0479756f282dddb70e73fe3b7 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 9 Jun 2015 17:46:30 +0300 Subject: [PATCH] Add the mapglyph special flags to window doc --- doc/window.doc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/window.doc b/doc/window.doc index c9b052b4c..32214b717 100644 --- a/doc/window.doc +++ b/doc/window.doc @@ -840,7 +840,14 @@ int mapglyph(int glyph, int *ochar, int *ocolor, unsigned *special, int x, int y the default set. If the glyph represents something special such as a pet, - that information is returned as set bits in "special." + that information is returned as set bits in "special.": + MG_CORPSE 0x01 + MG_INVIS 0x02 + MG_DETECT 0x04 + MG_PET 0x08 + MG_RIDDEN 0x10 + MG_STATUE 0x20 + MG_OBJPILE 0x40 Usually called from the window port's print_glyph() routine.