3 * Miscellaneous routines that have not yet found a proper parent module. Having
4 * LOTS of stuff in here is a sure sign that better modularization is in order.
10 #include <stddef.h> /* size_t */
11 #include <stdint.h> /* uint32_t */
15 /* Move world.inventory_sel up ("dir"="u") or down (else) as far as possible. */
16 extern void nav_inventory(char dir);
18 /* Append to array pointed to by "ptr_old_array" of "old_n" elements of
19 * "region_size" "new region".
21 extern void array_append(uint32_t old_n, size_t region_size, void * new_region,
22 void ** ptr_old_array);