home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Client: Remove redundant map scrolling code.
[plomrogue]
/
src
/
client
/
map.h
diff --git
a/src/client/map.h
b/src/client/map.h
index 6cef27edf91801864d138797d2935013c073afdb..8a3675084d1df838debf93145be2c0e5dbcba7ab 100644
(file)
--- a/
src/client/map.h
+++ b/
src/client/map.h
@@
-1,4
+1,8
@@
/* src/client/map.h
/* 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.
*/
*
* Routines for the game map window.
*/
@@
-6,13
+10,17
@@
#ifndef MAP_H_CLIENT
#define MAP_H_CLIENT
#ifndef MAP_H_CLIENT
#define MAP_H_CLIENT
+#include <stdint.h> /* uint8_t */
+
+/* Toggle world.look (moving look cursor instead of player over map). */
+extern void toggle_lookmode();
-/*
Try changing map window's focus into direction "d" (north = "N" etc.).
*/
-extern
void map_scroll(char
d);
+/*
Read "command" as look cursor move command, act on it.
*/
+extern
uint8_t lookmode_nav(char * comman
d);
-/*
Center map window on player (even if it is non-visible).
*/
-extern void
map_center
();
+/*
Send THINGS_HERE query message to server.
*/
+extern void
query_mapcell
();