home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eliminated some potential problems for alternative game map sizes.
[plomrogue]
/
src
/
client
/
windows.h
diff --git
a/src/client/windows.h
b/src/client/windows.h
index 4ac01d0ebfd6133eabd0aa7047a736c5de30775e..872fe13a4b37f22abeeaa3ea7b1698cd639dbb62 100644
(file)
--- a/
src/client/windows.h
+++ b/
src/client/windows.h
@@
-25,9
+25,9
@@
#define WINDOWS_H
#include <ncurses.h> /* WINDOW, chtype */
#define WINDOWS_H
#include <ncurses.h> /* WINDOW, chtype */
-#include <stdint.h> /* uint8_t, int16_t, uint16_t */
-#include "keybindings.h" /* struct KeyBindingDB */
+#include <stdint.h> /* uint8_t, int16_t, uint16_t, uint32_t */
#include "../common/yx_uint16.h" /* yx_uint16 struct */
#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,
/* Return yx offset to focus map of "mapsize" on "position" in "frame_size". */
extern uint16_t center_offset(uint16_t position,
- uint
16_t mapsize, uint16
_t frame_size);
+ uint
32_t mapsize, uint32
_t frame_size);
/* Get Win of "id". */
extern struct Win * get_win_by_id(char id);
/* Get Win of "id". */
extern struct Win * get_win_by_id(char id);