X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=roguelike.h;h=26ca0a443d4b3da16943fe5283d91f051f6d347c;hb=549e29447bb7b090580888d9286afd5d871b40d6;hp=2bfa449f071f05ff91498c9c6f2ce88af8a2bce5;hpb=c1a11c82ca5dd7aa7b48e79b72fcb0112565e1bc;p=plomrogue diff --git a/roguelike.h b/roguelike.h index 2bfa449..26ca0a4 100644 --- a/roguelike.h +++ b/roguelike.h @@ -1,4 +1,5 @@ struct World { + char interactive; struct KeyBinding * keybindings; struct KeysWinData * keyswindata; uint32_t seed; @@ -28,8 +29,8 @@ uint16_t read_uint16_bigendian(FILE * file); void write_uint16_bigendian(uint16_t x, FILE * file); uint32_t read_uint32_bigendian(FILE * file); void write_uint32_bigendian(uint32_t x, FILE * file); -void load_seed(struct World *); -void save_seed(struct World *); +void load_game(struct World *); +void save_game(struct World *); void toggle_window (struct WinMeta *, struct Win *); void growshrink_active_window (struct WinMeta *, char); struct Map init_map (); @@ -37,5 +38,8 @@ void map_scroll (struct Map *, char); void next_turn (struct World *); void update_log (struct World *, char *); char is_passable (struct World *, uint16_t, uint16_t); +void record_action (char); void move_player (struct World *, char); void player_wait(struct World *); +void startpos(struct World *); +unsigned char meta_keys(int, struct World *, struct WinMeta *, struct Win *, struct Win *, struct Win *, struct Win *);