home · contact · privacy
Moved game exiting into its own function.
[plomrogue] / src / misc.h
index 68db82265e26ca15fe9c959190deff60372d6a7f..b3b9a13cc7a96effffe7c354755ec37238b257ba 100644 (file)
@@ -2,14 +2,15 @@
 #define MISC_H
 
 #include <stdint.h>
-#include "yx_uint16.h"
 #include <stdio.h>
+#include "yx_uint16.h"
 
 struct World;
 struct WinMeta;
 struct Win;
 struct Map;
 
+extern void exit_game(struct World *, 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 *);