X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/balance?a=blobdiff_plain;f=src%2Fmap_object_actions.h;h=8e0af47a928ba30e2097ad117c3d292132d4c116;hb=350ef2e2d17e8122e2991466f76a9a083a6303e7;hp=1b2d95b80aa9f10df62f30899935bb3f3f39887b;hpb=d701e79e9297470b56315eefd431c62c9aba28b2;p=plomrogue diff --git a/src/map_object_actions.h b/src/map_object_actions.h index 1b2d95b..8e0af47 100644 --- a/src/map_object_actions.h +++ b/src/map_object_actions.h @@ -19,30 +19,22 @@ struct MapObj; */ extern uint8_t move_actor(struct MapObj * actor, char d); - - /* Wrapper for using move_actor() on the MapObj representing the player; updates * the game log with appropriate messages on the move attempt and its results; * turns over to turn_over() when finished. */ extern void move_player(char d); - - /* Make player wait one turn, i.e. only update_log with a "you wait" message * and turn control over to the enemy. */ extern void player_wait(); - - /* Check if coordinate pos on (or beyond) map is accessible to map object * movement. */ extern char is_passable(struct Map * map, struct yx_uint16 pos); - - /* Make player drop to ground map ojbect indexed by world.inventory_select. */ extern void player_drop();