X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fwindows.h;fp=src%2Fclient%2Fwindows.h;h=872fe13a4b37f22abeeaa3ea7b1698cd639dbb62;hb=cdb90723dd636591bcfa98ebb165cf74a0cdeec7;hp=92a35a1d93b96ca00e1efc645e81d9b22f00ee16;hpb=35bdfc86efa7fd7150df418a10c09d9fbeb09016;p=plomrogue diff --git a/src/client/windows.h b/src/client/windows.h index 92a35a1..872fe13 100644 --- a/src/client/windows.h +++ b/src/client/windows.h @@ -25,7 +25,7 @@ #define WINDOWS_H #include /* WINDOW, chtype */ -#include /* uint8_t, int16_t, uint16_t */ +#include /* uint8_t, int16_t, uint16_t, uint32_t */ #include "../common/yx_uint16.h" /* yx_uint16 struct */ #include "keybindings.h" /* struct KeyBindingDB */ @@ -66,7 +66,7 @@ struct Win /* Return yx offset to focus map of "mapsize" on "position" in "frame_size". */ extern uint16_t center_offset(uint16_t position, - uint16_t mapsize, uint16_t frame_size); + uint32_t mapsize, uint32_t frame_size); /* Get Win of "id". */ extern struct Win * get_win_by_id(char id);