summaryrefslogtreecommitdiff
path: root/includes/luaconsole.h
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2011-08-24 00:29:26 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2011-08-24 00:29:26 (GMT)
commit578144c48a1b35ae8d0763637752d935169663ac (patch)
treead0407b144aca61502e8419c96fc385a9f5aea28 /includes/luaconsole.h
parentf577c319db982e6b3d3b3731f1980c89182da982 (diff)
parent6581c29bf7eaf07483178804199f090b1c0e43ff (diff)
downloadpowder-578144c48a1b35ae8d0763637752d935169663ac.zip
powder-578144c48a1b35ae8d0763637752d935169663ac.tar.gz
Merge remote branch 'origin/master'
Diffstat (limited to 'includes/luaconsole.h')
-rw-r--r--includes/luaconsole.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/includes/luaconsole.h b/includes/luaconsole.h
index 3548dff..805a540 100644
--- a/includes/luaconsole.h
+++ b/includes/luaconsole.h
@@ -11,10 +11,16 @@
#endif
#include <defines.h>
+#define LUACON_MDOWN 1
+#define LUACON_MUP 2
+#define LUACON_MPRESS 3
+#define LUACON_KDOWN 1
+#define LUACON_KUP 2
+
void luacon_open();
int luacon_step(int mx, int my);
-int luacon_mouseclick(int mx, int my, int mb, int mbq);
-int luacon_keypress(char key, int modifier);
+int luacon_mouseevent(int mx, int my, int mb, int event);
+int luacon_keyevent(int key, int modifier, int event);
int luacon_eval(char *command);
char *luacon_geterror();
void luacon_close();