home · contact · privacy
Rewrote update_log () for a comeback of the message repition compression feature...
[plomrogue] / src / actors.h
1 #ifndef ACTORS_H
2 #define ACTORS_H
3
4 #include "yx_uint16.h"
5
6 struct World;
7 struct Map;
8
9 struct Player {
10   struct yx_uint16 pos; };
11
12 struct Monster {
13   struct Monster * next;
14   char name;
15   struct yx_uint16 pos; };
16
17 extern char is_passable (struct Map *, struct yx_uint16);
18 extern void move_monster (struct World *, struct Monster *);
19 extern void move_player (struct World *, char);
20 extern void player_wait(struct World *);
21
22 #endif