X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;ds=inline;f=src%2Fmisc.h;h=5d90d15c59cf68d1e93fc47de3d442330db74f95;hb=2e690e2500e66535018bb6e01222442c074cb298;hp=742374c175ab37811f9b41343cc43dda3ded460f;hpb=d951e2631a19500f1bb8c29f9e029a9d9fb29ae7;p=plomrogue diff --git a/src/misc.h b/src/misc.h index 742374c..5d90d15 100644 --- a/src/misc.h +++ b/src/misc.h @@ -2,19 +2,24 @@ #define MISC_H #include +#include +#include "yx_uint16.h" struct World; struct WinMeta; struct Win; +struct Map; +extern void textfile_sizes (FILE *, uint16_t *, uint16_t *); extern uint16_t rrand(char, uint32_t); extern void update_log (struct World *, char *); -uint16_t center_offset (uint16_t, uint16_t, uint16_t); +extern uint16_t center_offset (uint16_t, uint16_t, uint16_t); extern void turn_over (struct World *, char); extern void save_game(struct World *); extern void toggle_window (struct WinMeta *, struct Win *); extern void scroll_pad (struct WinMeta *, char); extern void growshrink_active_window (struct WinMeta *, char); +extern struct yx_uint16 find_passable_pos (struct Map *); extern unsigned char meta_keys(int, struct World *, struct WinMeta *, struct Win *, struct Win *, struct Win *, struct Win *); #endif