X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Fmap_object_actions.h;h=81a3fa62e5dd3de8daf0bbc9d81b8860bc0ed84e;hb=6245b251886853269262bc77d0f0378c28e241bc;hp=eec0087672a0eb90136b26bb78bd951677de4925;hpb=e03020342a74aef143b1ec38c18966dac64181b5;p=plomrogue
diff --git a/src/server/map_object_actions.h b/src/server/map_object_actions.h
index eec0087..81a3fa6 100644
--- a/src/server/map_object_actions.h
+++ b/src/server/map_object_actions.h
@@ -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);
@@ -50,8 +47,7 @@ extern void actor_drop(struct MapObj * mo);
extern void actor_pick(struct MapObj * mo);
/* Actor "mo" tries to use inventory object indexed by number mo->args.
- * (Currently the only valid use is consuming an item named "MAGIC MEAT",
- * which increments the actors lifepoints.)
+ * (Currently the only valid use is consuming items defined as consumable.)
*/
extern void actor_use(struct MapObj * mo);