home · contact · privacy
Minor refactoring in file parsing.
[plomrogue] / src / server / map_object_actions.h
index 40535a510ad756e410a07a90d647370c9bc75ccd..81a3fa62e5dd3de8daf0bbc9d81b8860bc0ed84e 100644 (file)
@@ -15,18 +15,15 @@ struct MapObj;
 
 struct MapObjAct
 {
+    uint8_t id; /* unique id of map object action; must be >0 */
     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; must be >0 */
     uint8_t effort; /* how many turns the action takes */
 };
 
 
 
-/* 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);