X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fclient%2Fmap.h;h=4b1eb8d9c3e2dcb3efcecc8ccfbb2c39be07862b;hb=258e57c1621533e206610453047d829cc8aa13fe;hp=75978c6432d3c05f678bc0f048b3c8973ea1b51a;hpb=28d6fed30bc0501d5452c7fbdf41125ea8bef318;p=plomrogue diff --git a/src/client/map.h b/src/client/map.h index 75978c6..4b1eb8d 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,6 +10,7 @@ #ifndef MAP_H_CLIENT #define MAP_H_CLIENT +#include /* uint8_t */ /* Try changing map window's focus into direction "d" (north = "N" etc.). Unset @@ -19,4 +24,15 @@ extern void map_center(); /* Toggle world.focus_each_turn (auto-centering of map on player each turn). */ extern void toggle_autofocus(); +/* 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(); + + + #endif