X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fmisc.h;h=64e10db078e6d38dcd71645ef8649f65ec13499f;hb=e4f2a14c7385d99d49cf831cd3fd92234caf71b5;hp=742374c175ab37811f9b41343cc43dda3ded460f;hpb=d951e2631a19500f1bb8c29f9e029a9d9fb29ae7;p=plomrogue diff --git a/src/misc.h b/src/misc.h index 742374c..64e10db 100644 --- a/src/misc.h +++ b/src/misc.h @@ -2,19 +2,22 @@ #define MISC_H #include +#include "yx_uint16.h" struct World; struct WinMeta; struct Win; +struct Map; 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