X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fmisc.h;h=68db82265e26ca15fe9c959190deff60372d6a7f;hb=0f12557b88c73f8629ffafc38dc59ab5bd15e687;hp=742374c175ab37811f9b41343cc43dda3ded460f;hpb=d951e2631a19500f1bb8c29f9e029a9d9fb29ae7;p=plomrogue diff --git a/src/misc.h b/src/misc.h index 742374c..68db822 100644 --- a/src/misc.h +++ b/src/misc.h @@ -2,19 +2,24 @@ #define MISC_H #include +#include "yx_uint16.h" +#include 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