home · contact · privacy
Added diagonal movement, with a 1.4 penalty.
[plomrogue] / src / server / map_objects.h
index d5dc5b33f111f1f31d7a18b4a6692f96c69e6fe0..7b6c6b2ed220cd42dedaa3f224b2bb51d368a05e 100644 (file)
@@ -20,7 +20,7 @@ struct MapObj
     uint8_t id;                  /* individual map object's unique identifier */
     uint8_t type;                /* ID of appropriate map object definition */
     uint8_t lifepoints;          /* 0: object is inanimate; >0: hitpoints */
-    uint8_t command;             /* map object's current action */
+    uint8_t command;             /* map object's current action; 0 if none */
     uint8_t arg;                 /* optional field for .command argument */
     uint8_t progress;            /* turns already passed to realize .command */
 };
@@ -37,8 +37,8 @@ struct MapObjDef
 
 
 
-/* Initialize map object definitions chain from file at path "filename". */
-extern void init_map_object_defs(char * filename);
+/* Initialize map object definitions chain. */
+extern void init_map_object_defs();
 
 /* Free map object definitions chain starting at "mod_start". */
 extern void free_map_object_defs(struct MapObjDef * mod_start);