Krig Game Engine
Loading...
Searching...
No Matches
api_engine.h
1#ifndef _API_ENGINE_H_
2#define _API_ENGINE_H_
3
4extern "C" {
5 #include "luajit-2.1/lua.h"
6 #include "luajit-2.1/lualib.h"
7 #include "luajit-2.1/lauxlib.h"
8}
9
10static int display_text(lua_State *L);
11static int get_camera(lua_State *L);
12static int get_fps(lua_State *L);
13static int get_mouse_coordinates(lua_State *L);
14static int get_player(lua_State *L);
15static int get_script_value(lua_State *L);
16static int play_sound(lua_State *L);
17static int render_text(lua_State *L);
18static int set_script_value(lua_State *L);
19static int shutdown(lua_State *L);
20static int test_debug_enabled(lua_State *L);
21static int test_key_pressed(lua_State *L);
22static int test_key_released(lua_State *L);
23static int test_special_key_pressed(lua_State *L);
24static int test_special_key_released(lua_State *L);
25
26int luaopen_krigEngine (lua_State *L);
27
28#endif
float get_script_value(GameObjectReference, string)
GameObjectReference get_player()
float get_fps()
bool test_key_pressed(int)
void set_script_value(GameObjectReference, string, float)
void shutdown()
bool test_debug_enabled()
GameObjectReference get_camera()
void display_text(string, float, float, float, float, float)
bool test_key_released(int)
void render_text(string, float, float)
Vertex2 get_mouse_coordinates()
void play_sound(GameObjectReference, string)
bool test_special_key_pressed(int)