home · contact · privacy
Re-grouped functions in roguelike.c/roguelike.h into more meaningful collections.
[plomrogue] / src / windows.h
index c194907b6c41046fc784b76d367829a506d7d3f8..53f1559facfad148de8d53934e5e2a794c625783 100644 (file)
@@ -1,6 +1,7 @@
-struct yx_uint16 {
-  uint16_t y;
-  uint16_t x; };
+#ifndef WINDOWS_H
+#define WINDOWS_H
+
+#include "yx_uint16.h"
 
 struct Frame {
   WINDOW * curses_win;
@@ -33,3 +34,5 @@ extern void resize_active_win (struct WinMeta *, uint16_t, uint16_t);
 extern void cycle_active_win (struct WinMeta *, char);
 extern void shift_active_win (struct WinMeta *, char);
 extern void reset_pad_offset (struct WinMeta *, uint16_t);
+
+#endif