X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=src%2Froguelike.h;h=2ae0c88cec69cd65776a91e2d8a6defdc3eeab05;hb=f743c2cc4451192d645e726654a48bd58a636cef;hp=d82313e62d6aadcd81b7a3846651c9f78aaad95f;hpb=e9d8b1aca776341c9cdaa2ea6406336661d82a76;p=plomrogue
diff --git a/src/roguelike.h b/src/roguelike.h
index d82313e..2ae0c88 100644
--- a/src/roguelike.h
+++ b/src/roguelike.h
@@ -21,20 +21,22 @@ struct Player {
uint16_t x; };
struct Monster {
+ struct Monster * next;
+ char name;
uint16_t y;
uint16_t x; };
uint16_t rrand(char, uint32_t);
-void save_game(struct World *);
-void toggle_window (struct WinMeta *, struct Win *);
-void scroll_pad (struct WinMeta *, char);
-void growshrink_active_window (struct WinMeta *, char);
struct Map init_map ();
-void map_scroll (struct Map *, char);
+void save_game(struct World *);
+void record_action (char);
void next_turn (struct World *);
void update_log (struct World *, char *);
-char is_passable (struct Map *, uint16_t, uint16_t);
-void record_action (char);
void move_player (struct World *, char);
+char is_passable (struct Map *, uint16_t, uint16_t);
void player_wait(struct World *);
+void toggle_window (struct WinMeta *, struct Win *);
+void scroll_pad (struct WinMeta *, char);
+void growshrink_active_window (struct WinMeta *, char);
+void map_scroll (struct Map *, char);
unsigned char meta_keys(int, struct World *, struct WinMeta *, struct Win *, struct Win *, struct Win *, struct Win *);