Simplify SPDX copyright lines to the shortest canonical form...
[open-adventure.git] / advent.h
index 41c659f8e9ae72377e089c17409a54b5eb59f323..55518cbe449adbf44d2e7e45b17d85aeebe15d80 100644 (file)
--- a/advent.h
+++ b/advent.h
@@ -1,8 +1,7 @@
 /*
  * Dungeon types and macros.
  *
- * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
- * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
+ * SPDX-FileCopyrightText: (C) 1977, 2005 by Will Crowther and Don Woods
  * SPDX-License-Identifier: BSD-2-Clause
  */
 #include <stdio.h>
@@ -21,7 +20,6 @@
 
 #define LINESIZE       1024
 #define TOKLEN         5          // # outputting characters in a token */
-#define NDWARVES       6          // number of dwarves
 #define PIRATE         NDWARVES   // must be NDWARVES-1 when zero-origin
 #define DALTLC         LOC_NUGGET // alternate dwarf location
 #define INVLIMIT       7          // inventory limit (# of objects)
@@ -65,7 +63,7 @@
  * PROP_STASHED is supposed to map a state property value to a
  * negative range, where the object cannot be picked up but the value
  * can be recovered later.  Various objects get this property when
- * the cave starts to close. On;y seems to be signifucant for the bird 
+ * 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 test is difficult to read.
  */
@@ -243,7 +241,7 @@ struct game_t {
     } dwarves[NDWARVES + 1];
     struct {
 #ifdef FOUNDBOOL
-       bool32_t found;          // has the location of this object bween found?
+       bool32_t found;          // has the location of this object been found?
 #endif
        loc_t fixed;             // fixed location of object (if not IS_FREE)
         int32_t prop;            // object state */