diff options
| author | jussi | 2023-05-10 21:21:40 +0300 |
|---|---|---|
| committer | jussi | 2023-05-10 21:21:40 +0300 |
| commit | b387742850a4d2d6b750f7cdc878ff00d7e4a5fb (patch) | |
| tree | 585ab2374c0c1821f85e0c1340ff44d6dd0fea5c /src/lua_core.c | |
| parent | 1e58f551bbfb6a8ef4d83292685d7c3672385c8b (diff) | |
| download | reilua-enhanced-b387742850a4d2d6b750f7cdc878ff00d7e4a5fb.tar.gz reilua-enhanced-b387742850a4d2d6b750f7cdc878ff00d7e4a5fb.tar.bz2 reilua-enhanced-b387742850a4d2d6b750f7cdc878ff00d7e4a5fb.zip | |
DrawBillboardPro and rlglGetVersion.
Diffstat (limited to 'src/lua_core.c')
| -rw-r--r-- | src/lua_core.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lua_core.c b/src/lua_core.c index a718de5..1caf1c7 100644 --- a/src/lua_core.c +++ b/src/lua_core.c @@ -492,6 +492,12 @@ void defineGlobals() { /* LightType */ assignGlobalInt( LIGHT_DIRECTIONAL, "LIGHT_DIRECTIONAL" ); assignGlobalInt( LIGHT_POINT, "LIGHT_POINT" ); + /* rlGlVersion */ + assignGlobalInt( RL_OPENGL_11, "RL_OPENGL_11" ); + assignGlobalInt( RL_OPENGL_21, "RL_OPENGL_21" ); + assignGlobalInt( RL_OPENGL_33, "RL_OPENGL_33" ); + assignGlobalInt( RL_OPENGL_43, "RL_OPENGL_43" ); + assignGlobalInt( RL_OPENGL_ES_20, "RL_OPENGL_ES_20" ); /* OpenGL */ assignGlobalInt( GL_COLOR_BUFFER_BIT, "GL_COLOR_BUFFER_BIT" ); assignGlobalInt( GL_DEPTH_BUFFER_BIT, "GL_DEPTH_BUFFER_BIT" ); @@ -1089,6 +1095,7 @@ void luaRegister() { assingGlobalFunction( "SetModelMeshMaterial", lmodelsSetModelMeshMaterial ); assingGlobalFunction( "DrawBillboard", lmodelsDrawBillboard ); assingGlobalFunction( "DrawBillboardRec", lmodelsDrawBillboardRec ); + assingGlobalFunction( "DrawBillboardPro", lmodelsDrawBillboardPro ); assingGlobalFunction( "SetModelTransform", lmodelsSetModelTransform ); assingGlobalFunction( "GetModelTransform", lmodelsGetModelTransform ); /* Animations. */ @@ -1350,6 +1357,8 @@ void luaRegister() { /* General render state. */ assingGlobalFunction( "rlglSetLineWidth", lrlglSetLineWidth ); assingGlobalFunction( "rlglGetLineWidth", lrlglGetLineWidth ); + /* Initialization functions. */ + assingGlobalFunction( "rlglGetVersion", lrlglGetVersion ); /* OpenGL */ /* Framebuffer management. */ |
