home · contact · privacy
Client: Split off parts of misc.h into interface_conf.h.
[plomrogue] / src / client / misc.h
index cd283ed87242cd03a443c3c94f3680763b44c9a5..9733d391ccbc0b9996d067b84a4938795ba11d53 100644 (file)
@@ -7,23 +7,20 @@
 #ifndef MISC_H
 #define MISC_H
 
-#include <stdint.h> /* for uint16_t */
+#include <stddef.h> /* size_t */
+#include <stdint.h> /* uint32_t */
 
 
 
-/* Save / load / unload (free) / reload interface configuration data. */
-extern void save_interface_conf();
-extern void load_interface_conf();
-extern void unload_interface_conf();
-extern void reload_interface_conf();
-
-/* Return offset into center map of "mapsize" on "position" in "framesize". */
-extern uint16_t center_offset(uint16_t position,
-                              uint16_t mapsize, uint16_t framesize);
-
 /* Move world.inventory_sel up ("dir"="u") or down (else) as far as possible. */
 extern void nav_inventory(char dir);
 
+/* Append to array pointed to by "ptr_old_array" of "old_n" elements of
+ * "region_size" "new region".
+ */
+extern void array_append(uint32_t old_n, size_t region_size, void * new_region,
+                         void ** ptr_old_array);
+
 
 
 #endif