home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Strongly overhauled keybinding managemment. Window-specific keybindings and a window...
[plomrogue]
/
src
/
misc.h
diff --git
a/src/misc.h
b/src/misc.h
index 5101e473521916bbfa16aa24c40249d8240f0f30..782a6fab0512a23a775515a6b4080f55d3b24669 100644
(file)
--- a/
src/misc.h
+++ b/
src/misc.h
@@
-44,11
+44,11
@@
extern void update_log(struct World * world, char * text);
-/* Return the offset necessary to center
"map" on position "pos" in a frame of
- * "framesize.
+/* Return the offset necessary to center
a map of "mapsize" on position "pos" in
+ *
a frame of
"framesize.
*/
*/
-extern uint16_t center_offset(uint16_t pos,
uint16_t mapsize,
- uint16_t framesize);
+extern uint16_t center_offset(uint16_t pos,
+ uint16_t
mapsize, uint16_t
framesize);