home · contact · privacy
Had forgotten to actually add the new library.
[plomrogue] / src / misc.h
index 742374c175ab37811f9b41343cc43dda3ded460f..64e10db078e6d38dcd71645ef8649f65ec13499f 100644 (file)
@@ -2,19 +2,22 @@
 #define MISC_H
 
 #include <stdint.h>
+#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