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 /* Parses command line argument -i into client configuration. */
16 extern void obey_argv(int argc, char * argv[]);
18 /* Save / load (init) / unload (free/dissolve) / reload interface configuration
19 * data, world.wins.pad (initialized before opening any windows to the height of
20 * the terminal screen and a width of 1) and window chains.
22 * Note that reload_interface_conf() also calls map_center().
24 extern void save_interface_conf();
25 extern void load_interface_conf();
26 extern void unload_interface_conf();
27 extern void reload_interface_conf();
29 /* Move world.inventory_sel up ("dir"="u") or down (else) as far as possible. */
30 extern void nav_inventory(char dir);
32 /* Append to array pointed to by "ptr_old_array" of "old_n" elements of
33 * "region_size" "new region".
35 extern void array_append(uint32_t old_n, size_t region_size, void * new_region,
36 void ** ptr_old_array);