X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=advent.h;h=55518cbe449adbf44d2e7e45b17d85aeebe15d80;hb=258b7703f22045be1b6e9fb74bd3391ed94ed86b;hp=41c659f8e9ae72377e089c17409a54b5eb59f323;hpb=6cef68cda5fba95b24e7ce7141166354f8f945ad;p=open-adventure.git diff --git a/advent.h b/advent.h index 41c659f..55518cb 100644 --- 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 @@ -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 */