diff options
| author | Alexander Gavrilov | 2012-08-19 20:00:10 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-08-19 20:00:10 +0400 |
| commit | 38a07a4ca584e2cccc2c2814c35266ba33d692c8 (patch) | |
| tree | e0748a79f70ee29ed8ecf3cf46f9c0c5c9c54baf /library/include | |
| parent | cacb082416667ec4309d85e934068ded041d21b8 (diff) | |
| download | dfhack-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.h | 3 |
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); |
