X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/day?a=blobdiff_plain;f=src%2Fclient%2Fmisc.h;h=31e3ee03a3034c1bf0adcf80ad4065829e41c113;hb=0b7798939c0193fd794985b503737e40d8602313;hp=bde51e679afeea5beef4276d1c3e562f5f88ac7f;hpb=1c20e240bb704cddfa80b60dfa20863218edc6d8;p=plomrogue diff --git a/src/client/misc.h b/src/client/misc.h index bde51e6..31e3ee0 100644 --- a/src/client/misc.h +++ b/src/client/misc.h @@ -22,6 +22,13 @@ extern void load_interface_conf(); extern void unload_interface_conf(); extern void reload_interface_conf(); +/* The SIGWINCH handler winch_called() merely sets world.winch to 1. This info + * is used by io_loop() to call reset_windows(), which adapts the currently + * loaded interface configuration to the new screen size. + */ +extern void winch_called(); +extern void reset_windows(); + /* 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);