X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/move_up?a=blobdiff_plain;f=src%2Fclient%2Fmap.h;h=cfba067893062605bd749ee7071343f44ec64a42;hb=5efc409a3640bcc8b2b4d5310a7e09c1e22afeba;hp=f8c6c9f361816ffb0620ab50c089ba495755a958;hpb=7e43b1fff89706212291384ddaa762fa30b02cb4;p=plomrogue diff --git a/src/client/map.h b/src/client/map.h index f8c6c9f..cfba067 100644 --- a/src/client/map.h +++ b/src/client/map.h @@ -1,4 +1,8 @@ /* src/client/map.h + * + * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3 + * or any later version. For details on its copyright, license, and warranties, + * see the file NOTICE in the root directory of the PlomRogue source package. * * Routines for the game map window. */ @@ -6,15 +10,23 @@ #ifndef MAP_H_CLIENT #define MAP_H_CLIENT +#include /* uint8_t */ -/* Try changing map window's focus into direction "d" (north = "N" etc.). */ +/* Try changing map window's focus into direction "d" (north = "N" etc.). Unset + * world.focus_each_turn. + */ extern void map_scroll(char d); -/* Center map window on player (even if it is non-visible). */ -extern void map_center(); +/* Toggle world.look (moving look cursor instead of player over map). */ +extern void toggle_lookmode(); + +/* Read "command" as look cursor move command, act on it.*/ +extern uint8_t lookmode_nav(char * command); + +/* Send THINGS_HERE query message to server.*/ +extern void query_mapcell(); + -/* Toggle world.focus_each_turn (auto-centering of map on player each turn). */ -extern void toggle_autofocus(); #endif