summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lua_core.c b/src/lua_core.c
index b07034c..499f2a2 100644
--- a/src/lua_core.c
+++ b/src/lua_core.c
@@ -774,8 +774,8 @@ static void defineGlobals() {
assignGlobalInt( HUEBAR_SELECTOR_HEIGHT, "HUEBAR_SELECTOR_HEIGHT" ); // ColorPicker right hue bar selector height
assignGlobalInt( HUEBAR_SELECTOR_OVERFLOW, "HUEBAR_SELECTOR_OVERFLOW" ); // ColorPicker right hue bar selector overflow
/* LightType */
- assignGlobalInt( LIGHT_DIRECTIONAL, "LIGHT_DIRECTIONAL" );
- assignGlobalInt( LIGHT_POINT, "LIGHT_POINT" );
+ assignGlobalInt( LIGHT_DIRECTIONAL, "LIGHT_DIRECTIONAL" ); // Directional light
+ assignGlobalInt( LIGHT_POINT, "LIGHT_POINT" ); // Point light
/* RLGL Default internal render batch elements limits */
assignGlobalInt( RL_DEFAULT_BATCH_BUFFER_ELEMENTS, "RL_DEFAULT_BATCH_BUFFER_ELEMENTS" ); // Default internal render batch elements limits
assignGlobalInt( RL_DEFAULT_BATCH_BUFFERS, "RL_DEFAULT_BATCH_BUFFERS" ); // Default number of batch buffers (multi-buffering)
@@ -1945,6 +1945,8 @@ void luaRegister() {
assingGlobalFunction( "DrawTextPro", ltextDrawTextPro );
assingGlobalFunction( "DrawTextCodepoint", ltextDrawTextCodepoint );
assingGlobalFunction( "DrawTextCodepoints", ltextDrawTextCodepoints );
+ assingGlobalFunction( "DrawTextBoxed", ltextDrawTextBoxed );
+ assingGlobalFunction( "DrawTextBoxedSelectable", ltextDrawTextBoxedSelectable );
/* Font info functions. */
assingGlobalFunction( "MeasureText", ltextMeasureText );
assingGlobalFunction( "GetGlyphIndex", ltextGetGlyphIndex );