mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-18 14:11:16 +02:00
Basics for Lua
This commit is contained in:
17
includes/luaconsole.h
Normal file
17
includes/luaconsole.h
Normal file
@@ -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
|
Reference in New Issue
Block a user