diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-05-30 15:22:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-05-30 15:22:39 (GMT) |
| commit | 79a27c2c90823f1f9212d80c6b2d63cde620855c (patch) | |
| tree | 04ed2d7542c57446467483447bee6fafea64fbc2 /includes | |
| parent | 5dcc3dbb44f1c721a4adbee3db2dd8b5542e870e (diff) | |
| download | powder-79a27c2c90823f1f9212d80c6b2d63cde620855c.zip powder-79a27c2c90823f1f9212d80c6b2d63cde620855c.tar.gz | |
Basics for Lua
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/luaconsole.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/includes/luaconsole.h b/includes/luaconsole.h new file mode 100644 index 0000000..c8b6b19 --- /dev/null +++ b/includes/luaconsole.h @@ -0,0 +1,17 @@ +#ifndef LUACONSOLEH +#define LUACONSOLEH +#include <lua5.1/lua.h> +#include <lua5.1/lauxlib.h> +#include <lua5.1/lualib.h> +#include <defines.h> + +void luacon_open(); +int luacon_step(); +int luacon_keypress(char key); +int luacon_eval(char *command); +void luacon_close(); +int process_command_lua(pixel *vid_buf, char *console, char *console_error); + +//TPT Interface +int luatpt_test(lua_State* l); +#endif |
