diff options
| author | jussi | 2023-10-26 20:09:16 +0300 |
|---|---|---|
| committer | jussi | 2023-10-26 20:09:16 +0300 |
| commit | 56c365c8cc88455d69df42e7842c986e760c776e (patch) | |
| tree | d4ad09280cdad3ad0e46146aa4cd149f5400b9b0 /docgen.lua | |
| parent | 168f4959d4a265d7615a81b667917754ca85bfce (diff) | |
| download | reilua-enhanced-56c365c8cc88455d69df42e7842c986e760c776e.tar.gz reilua-enhanced-56c365c8cc88455d69df42e7842c986e760c776e.tar.bz2 reilua-enhanced-56c365c8cc88455d69df42e7842c986e760c776e.zip | |
Buffer userdata object and rlgl Vertex buffers management.
Diffstat (limited to 'docgen.lua')
| -rw-r--r-- | docgen.lua | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -155,18 +155,18 @@ repeat globalVariableCount = globalVariableCount + 1 if value == nil then - apiFile:write( "\n"..globalName.." = nil\n" ) + apiFile:write( "\n"..globalName.." = nil\n\n" ) luaApiFile:write( "RL."..globalName.."=nil\n" ) elseif type( value ) == "table" then -- All tables are colors. apiFile:write( globalName.." = { " ..math.tointeger( value[1] )..", "..math.tointeger( value[2] )..", " - ..math.tointeger( value[3] )..", "..math.tointeger( value[4] ).." }\n" ) + ..math.tointeger( value[3] )..", "..math.tointeger( value[4] ).." }\n\n" ) luaApiFile:write( "RL."..globalName.."={" ..math.tointeger( value[1] )..","..math.tointeger( value[2] ).."," ..math.tointeger( value[3] )..","..math.tointeger( value[4] ).."}\n" ) else - apiFile:write( globalName.." = "..value.."\n" ) + apiFile:write( globalName.." = "..value.."\n\n" ) luaApiFile:write( "RL."..globalName.."="..value.."\n" ) end end @@ -257,6 +257,8 @@ apiFile:write( "\n> NPatchInfo = { { 0, 0, 24, 24 }, 8, 8, 8, 8, NPATCH_NINE_PAT { Texture source rectangle, Left border offset, Top border offset, Right border offset, Bottom border offset, Layout of the n-patch: 3x3, 1x3 or 3x1 }\n\n---\n" ) apiFile:write( "\n> ModelAnimations = ModelAnimationsId\n\ int id. ModelAnimations\n\n---\n" ) +apiFile:write( "\n> Buffer = Buffer userdata\n\ +Userdata.\n\n---\n" ) -- Events. |
