All global variables and functions are not in global RL table. doc_parser creates also ReiLua_API.lua.

This commit is contained in:
jussi
2023-04-06 12:31:37 +03:00
parent 198a74c0aa
commit 2526c9732e
47 changed files with 8730 additions and 3196 deletions

View File

@@ -8,7 +8,7 @@
*/
/*
> success = RL_rlSetLineWidth( float width )
> success = RL.rlSetLineWidth( float width )
Set the line drawing width
@@ -17,7 +17,7 @@ Set the line drawing width
*/
int lrlglSetLineWidth( lua_State *L ) {
if ( !lua_isnumber( L, -1 ) ) {
TraceLog( LOG_WARNING, "%s", "Bad call of function. RL_rlSetLineWidth( float width )" );
TraceLog( LOG_WARNING, "%s", "Bad call of function. RL.rlSetLineWidth( float width )" );
lua_pushboolean( L, false );
return 1;
}
@@ -28,7 +28,7 @@ int lrlglSetLineWidth( lua_State *L ) {
}
/*
> width = RL_rlGetLineWidth()
> width = RL.rlGetLineWidth()
Get the line drawing width