Added initial files.
This commit is contained in:
27
include/lua_core.h
Normal file
27
include/lua_core.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
bool luaInit();
|
||||
int luaTraceback( lua_State *L );
|
||||
bool luaCallMain();
|
||||
void luaCallProcess();
|
||||
void luaCallDraw();
|
||||
void luaRegister();
|
||||
/* Lua Util functions */
|
||||
Color uluaGetColor( lua_State *L );
|
||||
Vector2 uluaGetVector2( lua_State *L );
|
||||
Vector3 uluaGetVector3( lua_State *L );
|
||||
Rectangle uluaGetRectangle( lua_State *L );
|
||||
Quaternion uluaGetQuaternion( lua_State *L );
|
||||
Matrix uluaGetMatrix( lua_State *L );
|
||||
BoundingBox uluaGetBoundingBox( lua_State *L );
|
||||
Ray uluaGetRay( lua_State *L );
|
||||
NPatchInfo uluaGetNPatchInfo( lua_State *L );
|
||||
|
||||
void uluaPushColor( lua_State *L, Color color );
|
||||
void uluaPushVector2( lua_State *L, Vector2 vector );
|
||||
void uluaPushVector3( lua_State *L, Vector3 vector );
|
||||
void uluaPushRectangle( lua_State *L, Rectangle rect );
|
||||
void uluaPushMatrix( lua_State *L, Matrix matrix );
|
||||
void uluaPushRayCollision( lua_State *L, RayCollision rayCol );
|
||||
|
||||
int uluaGetTableLen( lua_State *L );
|
||||
Reference in New Issue
Block a user