#define CXN_ARTICLE 8 /* include a/an/the prefix */
#define CXN_NOCORPSE 16 /* suppress " corpse" suffix */
+/* getpos() return values */
+enum getpos_retval {
+ LOOK_TRADITIONAL = 0, /* '.' -- ask about "more info?" */
+ LOOK_QUICK, /* ',' -- skip "more info?" */
+ LOOK_ONCE, /* ';' -- skip and stop looping */
+ LOOK_VERBOSE /* ':' -- show more info w/o asking */
+};
+
/*
* This is the way the game ends. If these are rearranged, the arrays
* in end.c and topten.c will need to be changed. Some parts of the
return found;
}
-/* getpos() return values */
-#define LOOK_TRADITIONAL 0 /* '.' -- ask about "more info?" */
-#define LOOK_QUICK 1 /* ',' -- skip "more info?" */
-#define LOOK_ONCE 2 /* ';' -- skip and stop looping */
-#define LOOK_VERBOSE 3 /* ':' -- show more info w/o asking */
-
/* also used by getpos hack in do_name.c */
const char what_is_an_unknown_object[] = "an unknown object";