home · contact · privacy
Add "look" mode to query things on any cell via new THINGS_HERE command.
[plomrogue] / src / client / map.h
1 /* src/client/map.h
2  *
3  * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
4  * or any later version. For details on its copyright, license, and warranties,
5  * see the file NOTICE in the root directory of the PlomRogue source package.
6  *
7  * Routines for the game map window.
8  */
9
10 #ifndef MAP_H_CLIENT
11 #define MAP_H_CLIENT
12
13 #include <stdint.h> /* uint8_t */
14
15
16 /* Try changing map window's focus into direction "d" (north = "N" etc.). Unset
17  * world.focus_each_turn.
18  */
19 extern void map_scroll(char d);
20
21 /* Center map window on player (even if it is non-visible). */
22 extern void map_center();
23
24 /* Toggle world.focus_each_turn (auto-centering of map on player each turn). */
25 extern void toggle_autofocus();
26
27 /* Toggle world.look (moving look cursor instead of player over map). */
28 extern void toggle_lookmode();
29
30 /* Read "command" as look cursor move command, act on it.*/
31 extern uint8_t lookmode_nav(char * command);
32
33 /* Send THINGS_HERE query message to server.*/
34 extern void query_mapcell();
35
36
37
38 #endif