home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
83d7573
)
Improved comment precision.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 25 Jul 2013 22:01:45 +0000
(
00:01
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 25 Jul 2013 22:01:45 +0000
(
00:01
+0200)
src/map.h
patch
|
blob
|
history
diff --git
a/src/map.h
b/src/map.h
index 9bcd11b004c0e693c3204f118f6277f9e4e64c49..1c3475f61c6862d1640a137f4bd58101a2f91ba4 100644
(file)
--- a/
src/map.h
+++ b/
src/map.h
@@
-38,8
+38,8
@@
extern struct Map init_map();
*/
extern void map_scroll(struct Map * map, enum dir d, struct yx_uint16 win_size);
*/
extern void map_scroll(struct Map * map, enum dir d, struct yx_uint16 win_size);
-/* Scroll map to center on the player by changing the scroll offset
as far as is
- *
possible sans leaving the size of the map window
as described by "win_size".
+/* Scroll map to center on the player by changing the scroll offset
following
+ *
(and constrained by) the window size
as described by "win_size".
*/
extern void map_center_player(struct Map * map, struct Player * player,
struct yx_uint16 win_size);
*/
extern void map_center_player(struct Map * map, struct Player * player,
struct yx_uint16 win_size);