-static void monster_hits_player(struct World * world, char * dsc_monster);
-
-/* Decrement HP of "monster" hit by player, kill it if its HP hit zero, create a
- * corpse and increment player's score by the amount of hitpoints the monster
- * started with; log the whole action.
- */
-static void player_hits_monster(struct World * world, struct MapObj * monster);
-
-/* Try moving the player in direction "d" towards coordinate "target"; log
- * success or failure of the whole action.
- */
-static void try_player_move(struct World * world,
- enum dir d, struct yx_uint16 target);
-
-
-
-static void monster_bumps_monster(struct World * world, char * dsc_monster1,
- struct MapObj * monster2)
-{
- char * bump_dsc = " bumps into ";
- struct MapObjDef * mod = get_map_object_def(world, monster2->type);
- char msg[strlen(dsc_monster1) + strlen(bump_dsc) + strlen(mod->name) + 3];
- sprintf(msg, "\n%s%s%s.", dsc_monster1, bump_dsc, mod->name);
- update_log(world, msg);
-}