home · contact · privacy
Also make the client map window focus on the player when the world is re-seeded.
[plomrogue] / src / client / misc.h
index bde51e679afeea5beef4276d1c3e562f5f88ac7f..5fb3e71e3e45aebd4bfb54fbd999cf79fc097978 100644 (file)
@@ -7,13 +7,14 @@
 #ifndef MISC_H
 #define MISC_H
 
-#include <stdint.h> /* for uint16_t */
 
 
+/* Parses command line argument -i into client configuration. */
+extern void obey_argv(int argc, char * argv[]);
 
 /* Save / load (init) / unload (free/dissolve) / reload interface configuration
- * data, world.wmeta.pad (initialized before opening any windows to the height
- * of the terminal screen and a width of 1) and window chains.
+ * data, world.wins.pad (initialized before opening any windows to the height of
+ * the terminal screen and a width of 1) and window chains.
  *
  * Note that reload_interface_conf() also calls map_center().
  */
@@ -22,10 +23,6 @@ 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);