home · contact · privacy
Heavily improved enemy path-finding. Also corrected errors in turn_over() and
[plomrogue] / src / server / map_object_actions.h
index ae015e62f957abfff614d9b571b2d3356b04773a..d3b88a36386dc64d5562f9242fd328e3089c91b1 100644 (file)
@@ -17,15 +17,15 @@ struct MapObjAct
 {
     struct MapObjAct * next;
     void (* func) (struct MapObj *); /* function called after .effort turns */
-    char * name;                     /* human-readable identifier */
-    uint8_t id;                      /* unique id of map object action */
-    uint8_t effort;                  /* how many turns the action takes */
+    char * name; /* human-readable identifier */
+    uint8_t id; /* unique id of map object action; must be >0 */
+    uint8_t effort; /* how many turns the action takes */
 };
 
 
 
-/* Init MapObjAct chain at world.map_obj_acts from file at "path". */
-extern void init_map_object_actions(char * path);
+/* Init MapObjAct chain at world.map_obj_acts. */
+extern void init_map_object_actions();
 
 /* Free MapObjAct * chain starting at "moa". */
 extern void free_map_object_actions(struct MapObjAct * moa);