Magic-number elimination.
[open-adventure.git] / templates / dungeon.h.tpl
index 4dde750a319d0be6f755fa3f4ef320e046886994..66d65ab41aedab0ca77338fc579b201fe1e08857 100644 (file)
@@ -12,7 +12,7 @@
 #define COND_FLUID     2       /* Liquid asset, see bit 1 */
 #define COND_NOARRR    3       /* Pirate doesn't go here unless following */
 #define COND_NOBACK    4       /* Cannot use "back" to move away */
-#define COND_ABOVE     5
+#define COND_ABOVE     5       /* Aboveground, but not in forest */
 #define COND_DEEP      6       /* Deep - e.g where dwarves are active */
 #define COND_FOREST    7       /* In the forest */
 #define COND_FORCED    8       /* Only one way in or out of here */
@@ -104,13 +104,6 @@ typedef struct {{
   const bool stop;
 }} travelop_t;
 
-/* Abstract out the encoding of words in the travel array.  Gives us
- * some hope of getting to a less cryptic representation than we
- * inherited from FORTRAN, someday. To understand these, read the
- * encoding description for travel.
- */
-#define T_TERMINATE(entry)     ((entry).motion == 1)
-
 extern const location_t locations[];
 extern const object_t objects[];
 extern const char* arbitrary_messages[];
@@ -162,4 +155,4 @@ enum action_refs {{
 
 {state_definitions}
 
-#endif /* end DUNGEON_H */
\ No newline at end of file
+#endif /* end DUNGEON_H */