Ready to shp 1.20. master 1.20
authorEric S. Raymond <esr@thyrsus.com>
Mon, 23 Sep 2024 22:48:11 +0000 (18:48 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 23 Sep 2024 22:48:11 +0000 (18:48 -0400)
NEWS.adoc
advent.h

index f9c70d64b0392eb9e446061c665f1cec0dbb2cc9..0140574a211d67ef8e36f05794bf01b70b7bfc23 100644 (file)
--- a/NEWS.adoc
+++ b/NEWS.adoc
@@ -2,7 +2,7 @@
 // SPDX-FileCopyrightText: (C) Eric S. Raymond <esr@thyrsus.com>
 // SPDX-License-Identifier: CC-BY-4.0
 
-Repository head::
+1.20: 2024-09-23::
   Make oldstyle correctly suppress line editing.
 
 1.19: 2024-06-27::
index 3ae901285255878635c7090691d6270ca01a7f3a..fa0767b541e4031b54919f2c23a542ef9af7517b 100644 (file)
--- a/advent.h
+++ b/advent.h
@@ -66,6 +66,8 @@
  * the cave starts to close. Only seems to be significant for the bird
  * and readable objects, notably the clam/oyster - but the code around
  * those tests is difficult to read.
+ *
+ * All tests of the prop member are done with either these macros or ==.
  */
 #define OBJECT_IS_NOTFOUND(obj) (game.objects[obj].prop == STATE_NOTFOUND)
 #define OBJECT_IS_FOUND(obj) (game.objects[obj].prop == STATE_FOUND)