-/* 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".
- */
-extern void map_center_player(struct Map * map, struct Player * player,
- struct yx_uint16 win_size);
+
+/* Try to change the view center of map "win" of "map_size" into dir "d". */
+extern void map_scroll(struct Win * win, struct yx_uint16 map_size, enum dir d);