Spelling fixes.
This commit is contained in:
parent
f0119f8431
commit
b28eb66868
3 changed files with 5 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -69,7 +69,7 @@ check: advent cheat
|
||||||
cd tests; $(MAKE) --quiet
|
cd tests; $(MAKE) --quiet
|
||||||
|
|
||||||
# Requires gcov, lcov, libasan6, and libubsan1
|
# Requires gcov, lcov, libasan6, and libubsan1
|
||||||
# The last two are Ubuntu names, might vary onb other distributions.
|
# The last two are Ubuntu names, might vary on other distributions.
|
||||||
# After this, run your browser on coverage/open-adventure/index.html
|
# After this, run your browser on coverage/open-adventure/index.html
|
||||||
# to see coverage results. Browse coverage/adventure.yaml.html
|
# to see coverage results. Browse coverage/adventure.yaml.html
|
||||||
# to see symbol coverage over the YAML file.
|
# to see symbol coverage over the YAML file.
|
||||||
|
@ -134,7 +134,7 @@ linty: CCFLAGS += -Winit-self
|
||||||
linty: CCFLAGS += -Wpointer-arith
|
linty: CCFLAGS += -Wpointer-arith
|
||||||
linty: advent cheat
|
linty: advent cheat
|
||||||
|
|
||||||
# These seem to be more modeern options for enabling coverage testing.
|
# These seem to be more modern options for enabling coverage testing.
|
||||||
# Documenting them here in case a future version bump disables --coverage.
|
# Documenting them here in case a future version bump disables --coverage.
|
||||||
#debug: CCFLAGS += -ftest-coverage
|
#debug: CCFLAGS += -ftest-coverage
|
||||||
#debug: CCFLAGS += -fprofile-arcs
|
#debug: CCFLAGS += -fprofile-arcs
|
||||||
|
|
4
advent.h
4
advent.h
|
@ -65,7 +65,7 @@
|
||||||
* PROP_STASHED is supposed to map a state property value to a
|
* PROP_STASHED is supposed to map a state property value to a
|
||||||
* negative range, where the object cannot be picked up but the value
|
* negative range, where the object cannot be picked up but the value
|
||||||
* can be recovered later. Various objects get this property when
|
* 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
|
* and readable objects, notably the clam/oyster - but the code around
|
||||||
* those test is difficult to read.
|
* those test is difficult to read.
|
||||||
*/
|
*/
|
||||||
|
@ -243,7 +243,7 @@ struct game_t {
|
||||||
} dwarves[NDWARVES + 1];
|
} dwarves[NDWARVES + 1];
|
||||||
struct {
|
struct {
|
||||||
#ifdef FOUNDBOOL
|
#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
|
#endif
|
||||||
loc_t fixed; // fixed location of object (if not IS_FREE)
|
loc_t fixed; // fixed location of object (if not IS_FREE)
|
||||||
int32_t prop; // object state */
|
int32_t prop; // object state */
|
||||||
|
|
2
main.c
2
main.c
|
@ -860,7 +860,7 @@ static bool closecheck(void)
|
||||||
* snake is known to have been destroyed and needn't be
|
* snake is known to have been destroyed and needn't be
|
||||||
* carried away from its old "place"), making the various
|
* carried away from its old "place"), making the various
|
||||||
* objects be handled differently. We also drop all other
|
* objects be handled differently. We also drop all other
|
||||||
* objects he might be acrrying (lest he have some which
|
* objects he might be carrying (lest he has some which
|
||||||
* could cause trouble, such as the keys). We describe the
|
* could cause trouble, such as the keys). We describe the
|
||||||
* flash of light and trundle back. */
|
* flash of light and trundle back. */
|
||||||
put(BOTTLE, LOC_NE, EMPTY_BOTTLE);
|
put(BOTTLE, LOC_NE, EMPTY_BOTTLE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue