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() and re-sets
23 * world.winDB.v_screen_offset to zero.
25 extern void save_interface_conf();
26 extern void load_interface_conf();
27 extern void unload_interface_conf();
28 extern void reload_interface_conf();
30 /* Move world.inventory_sel up ("dir"="u") or down (else) as far as possible. */
31 extern void nav_inventory(char dir);
33 /* Append to array pointed to by "ptr_old_array" of "old_n" elements of
34 * "region_size" "new region".
36 extern void array_append(uint32_t old_n, size_t region_size, void * new_region,
37 void ** ptr_old_array);