summaryrefslogtreecommitdiff
path: root/library/include
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-08-19 20:00:10 +0400
committerAlexander Gavrilov2012-08-19 20:00:10 +0400
commit38a07a4ca584e2cccc2c2814c35266ba33d692c8 (patch)
treee0748a79f70ee29ed8ecf3cf46f9c0c5c9c54baf /library/include
parentcacb082416667ec4309d85e934068ded041d21b8 (diff)
downloaddfhack-38a07a4ca584e2cccc2c2814c35266ba33d692c8.tar.gz
dfhack-38a07a4ca584e2cccc2c2814c35266ba33d692c8.tar.bz2
dfhack-38a07a4ca584e2cccc2c2814c35266ba33d692c8.tar.xz
Export the tile finder function to lua, and improve mouse event reporting.
Diffstat (limited to 'library/include')
-rw-r--r--library/include/modules/Screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/include/modules/Screen.h b/library/include/modules/Screen.h
index 0e4963fb..334b466f 100644
--- a/library/include/modules/Screen.h
+++ b/library/include/modules/Screen.h
@@ -86,6 +86,9 @@ namespace DFHack
DFHACK_EXPORT df::coord2d getMousePos();
DFHACK_EXPORT df::coord2d getWindowSize();
+ /// Returns the state of [GRAPHICS:YES/NO]
+ DFHACK_EXPORT bool inGraphicsMode();
+
/// Paint one screen tile with the given pen
DFHACK_EXPORT bool paintTile(const Pen &pen, int x, int y);