summaryrefslogtreecommitdiff
path: root/library/include
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-08-25 10:37:03 +0400
committerAlexander Gavrilov2012-08-25 10:37:03 +0400
commit41ad42d0fdeae7d387186e66d9eb4117a3cf9e7d (patch)
treeb4bc91a1b977eb4bf39d7c618ff169b774176c44 /library/include
parent21904fd607d0f2037782e28ff7284300663931ab (diff)
downloaddfhack-41ad42d0fdeae7d387186e66d9eb4117a3cf9e7d.tar.gz
dfhack-41ad42d0fdeae7d387186e66d9eb4117a3cf9e7d.tar.bz2
dfhack-41ad42d0fdeae7d387186e66d9eb4117a3cf9e7d.tar.xz
Expose the liquids plugin engine to lua, and make a wrapper gui script.
Diffstat (limited to 'library/include')
-rw-r--r--library/include/modules/Gui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/include/modules/Gui.h b/library/include/modules/Gui.h
index 273d84ce..58f22241 100644
--- a/library/include/modules/Gui.h
+++ b/library/include/modules/Gui.h
@@ -97,6 +97,9 @@ namespace DFHack
/*
* Cursor and window coords
*/
+ DFHACK_EXPORT df::coord getViewportPos();
+ DFHACK_EXPORT df::coord getCursorPos();
+
DFHACK_EXPORT bool getViewCoords (int32_t &x, int32_t &y, int32_t &z);
DFHACK_EXPORT bool setViewCoords (const int32_t x, const int32_t y, const int32_t z);