diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/core.h | 11 | ||||
| -rw-r--r-- | include/lua_core.h | 3 | ||||
| -rw-r--r-- | include/models.h | 4 | ||||
| -rw-r--r-- | include/shapes.h | 3 | ||||
| -rw-r--r-- | include/state.h | 1 | ||||
| -rw-r--r-- | include/text.h | 2 | ||||
| -rw-r--r-- | include/textures.h | 11 |
7 files changed, 32 insertions, 3 deletions
diff --git a/include/core.h b/include/core.h index 54bd4c6..4dd6dda 100644 --- a/include/core.h +++ b/include/core.h @@ -44,6 +44,7 @@ int lcoreGetWindowScaleDPI( lua_State* L ); int lcoreGetMonitorName( lua_State* L ); int lcoreSetClipboardText( lua_State* L ); int lcoreGetClipboardText( lua_State* L ); +int lcoreGetClipboardImage( lua_State* L ); int lcoreEnableEventWaiting( lua_State* L ); int lcoreDisableEventWaiting( lua_State* L ); /* Cursor-related functions. */ @@ -135,10 +136,12 @@ int lcoreGetDirectoryPath( lua_State* L ); int lcoreGetPrevDirectoryPath( lua_State* L ); int lcoreGetWorkingDirectory( lua_State* L ); int lcoreGetApplicationDirectory( lua_State* L ); -int lcoreLoadDirectoryFiles( lua_State* L ); -int lcoreLoadDirectoryFilesEx( lua_State* L ); +int lcoreMakeDirectory( lua_State* L ); int lcoreChangeDirectory( lua_State* L ); int lcoreIsPathFile( lua_State* L ); +int lcoreIsFileNameValid( lua_State* L ); +int lcoreLoadDirectoryFiles( lua_State* L ); +int lcoreLoadDirectoryFilesEx( lua_State* L ); int lcoreIsFileDropped( lua_State* L ); int lcoreLoadDroppedFiles( lua_State* L ); int lcoreGetFileModTime( lua_State* L ); @@ -147,6 +150,9 @@ int lcoreCompressData( lua_State* L ); int lcoreDecompressData( lua_State* L ); int lcoreEncodeDataBase64( lua_State* L ); int lcoreDecodeDataBase64( lua_State* L ); +int lcoreComputeCRC32( lua_State* L ); +int lcoreComputeMD5( lua_State* L ); +int lcoreComputeSHA1( lua_State* L ); /* Automation events functionality. */ int lcoreLoadAutomationEventList( lua_State* L ); int lcoreUnloadAutomationEventList( lua_State* L ); @@ -184,6 +190,7 @@ int lcoreGetGamepadButtonPressed( lua_State* L ); int lcoreGetGamepadAxisCount( lua_State* L ); int lcoreGetGamepadAxisMovement( lua_State* L ); int lcoreSetGamepadMappings( lua_State* L ); +int lcoreSetGamepadVibration( lua_State* L ); /* Input-related functions: mouse. */ int lcoreIsMouseButtonPressed( lua_State* L ); int lcoreIsMouseButtonDown( lua_State* L ); diff --git a/include/lua_core.h b/include/lua_core.h index 9deb44f..23213b1 100644 --- a/include/lua_core.h +++ b/include/lua_core.h @@ -47,7 +47,6 @@ Ray uluaGetRay( lua_State* L, int index ); NPatchInfo uluaGetNPatchInfo( lua_State* L, int index ); BoneInfo uluaGetBoneInfo( lua_State* L, int index ); Transform uluaGetTransform( lua_State* L, int index ); -// AutomationEvent uluaGetAutomationEvent( lua_State* L, int index ); Buffer* uluaGetBuffer( lua_State* L, int index ); Image* uluaGetImage( lua_State* L, int index ); Texture* uluaGetTexture( lua_State* L, int index ); @@ -68,6 +67,8 @@ ModelAnimation* uluaGetModelAnimation( lua_State* L, int index ); rlRenderBatch* uluaGetRLRenderBatch( lua_State* L, int index ); AutomationEvent* uluaGetAutomationEvent( lua_State* L, int index ); AutomationEventList* uluaGetAutomationEventList( lua_State* L, int index ); + +void getVector2Array( lua_State* L, int index, Vector2 points[] ); /* Lua push types. */ void uluaPushColor( lua_State* L, Color color ); void uluaPushVector2( lua_State* L, Vector2 vector ); diff --git a/include/models.h b/include/models.h index c95507a..ec794da 100644 --- a/include/models.h +++ b/include/models.h @@ -53,6 +53,8 @@ int lmodelsDrawModel( lua_State* L ); int lmodelsDrawModelEx( lua_State* L ); int lmodelsDrawModelWires( lua_State* L ); int lmodelsDrawModelWiresEx( lua_State* L ); +int lmodelsDrawModelPoints( lua_State* L ); +int lmodelsDrawModelPointsEx( lua_State* L ); int lmodelsDrawBoundingBox( lua_State* L ); int lmodelsDrawBillboard( lua_State* L ); int lmodelsDrawBillboardRec( lua_State* L ); @@ -64,6 +66,7 @@ int lmodelsDrawMesh( lua_State* L ); int lmodelsDrawMeshInstanced( lua_State* L ); int lmodelsSetMeshColor( lua_State* L ); int lmodelsExportMesh( lua_State* L ); +int lmodelsExportMeshAsCode( lua_State* L ); int lmodelsGetMeshBoundingBox( lua_State* L ); int lmodelsGenMeshTangents( lua_State* L ); int lmodelsGetMeshData( lua_State* L ); @@ -100,6 +103,7 @@ int lmodelsGetMaterialParams( lua_State* L ); /* Model animations management functions. */ int lmodelsLoadModelAnimations( lua_State* L ); int lmodelsUpdateModelAnimation( lua_State* L ); +int lmodelsUpdateModelAnimationBones( lua_State* L ); int lmodelsUnloadModelAnimation( lua_State* L ); int lmodelsUnloadModelAnimations( lua_State* L ); int lmodelsIsModelAnimationValid( lua_State* L ); diff --git a/include/shapes.h b/include/shapes.h index b997f95..1e5c27a 100644 --- a/include/shapes.h +++ b/include/shapes.h @@ -2,6 +2,8 @@ /* Basic shapes drawing functions. */ int lshapesSetShapesTexture( lua_State* L ); +int lshapesGetShapesTexture( lua_State* L ); +int lshapesGetShapesTextureRectangle( lua_State* L ); int lshapesDrawPixel( lua_State* L ); int lshapesDrawLine( lua_State* L ); int lshapesDrawLineBezier( lua_State* L ); @@ -53,6 +55,7 @@ int lshapesGetSplinePointBezierCubic( lua_State* L ); int lshapesCheckCollisionRecs( lua_State* L ); int lshapesCheckCollisionCircles( lua_State* L ); int lshapesCheckCollisionCircleRec( lua_State* L ); +int lshapesCheckCollisionCircleLine( lua_State* L ); int lshapesCheckCollisionPointRec( lua_State* L ); int lshapesCheckCollisionPointCircle( lua_State* L ); int lshapesCheckCollisionPointTriangle( lua_State* L ); diff --git a/include/state.h b/include/state.h index 5fc3015..8dbe4e5 100644 --- a/include/state.h +++ b/include/state.h @@ -19,6 +19,7 @@ typedef struct { Font guiFont; Material defaultMaterial; Texture defaultTexture; + Texture shapesTexture; int* RLGLcurrentShaderLocs; /* Events. */ #ifdef PLATFORM_DESKTOP diff --git a/include/text.h b/include/text.h index f95b813..dd8b9c6 100644 --- a/include/text.h +++ b/include/text.h @@ -63,3 +63,5 @@ int ltextTextInsert( lua_State* L ); int ltextTextSplit( lua_State* L ); int ltextTextFindIndex( lua_State* L ); int ltextTextToPascal( lua_State* L ); +int ltextTextToSnake( lua_State* L ); +int ltextTextToCamel( lua_State* L ); diff --git a/include/textures.h b/include/textures.h index 272c569..9f71ba0 100644 --- a/include/textures.h +++ b/include/textures.h @@ -4,6 +4,7 @@ int ltexturesLoadImage( lua_State* L ); int ltexturesLoadImageRaw( lua_State* L ); int ltexturesLoadImageAnim( lua_State* L ); +int ltexturesLoadImageAnimFromMemory( lua_State* L ); int ltexturesLoadImageFromMemory( lua_State* L ); int ltexturesLoadImageFromData( lua_State* L ); int ltexturesLoadImageFromTexture( lua_State* L ); @@ -26,6 +27,7 @@ int ltexturesGenImageText( lua_State* L ); /* Image manipulation functions. */ int ltexturesImageCopy( lua_State* L ); int ltexturesImageFromImage( lua_State* L ); +int ltexturesImageFromChannel( lua_State* L ); int ltexturesImageText( lua_State* L ); int ltexturesImageTextEx( lua_State* L ); int ltexturesImageFormat( lua_State* L ); @@ -36,6 +38,7 @@ int ltexturesImageAlphaClear( lua_State* L ); int ltexturesImageAlphaMask( lua_State* L ); int ltexturesImageAlphaPremultiply( lua_State* L ); int ltexturesImageBlurGaussian( lua_State* L ); +int ltexturesImageKernelConvolution( lua_State* L ); int ltexturesImageResize( lua_State* L ); int ltexturesImageResizeNN( lua_State* L ); int ltexturesImageResizeCanvas( lua_State* L ); @@ -65,10 +68,16 @@ int ltexturesGetImageFormat( lua_State* L ); int ltexturesImageClearBackground( lua_State* L ); int ltexturesImageDrawPixel( lua_State* L ); int ltexturesImageDrawLine( lua_State* L ); +int ltexturesImageDrawLineEx( lua_State* L ); int ltexturesImageDrawCircle( lua_State* L ); int ltexturesImageDrawCircleLines( lua_State* L ); int ltexturesImageDrawRectangle( lua_State* L ); int ltexturesImageDrawRectangleLines( lua_State* L ); +int ltexturesImageDrawTriangle( lua_State* L ); +int ltexturesImageDrawTriangleEx( lua_State* L ); +int ltexturesImageDrawTriangleLines( lua_State* L ); +int ltexturesImageDrawTriangleFan( lua_State* L ); +int ltexturesImageDrawTriangleStrip( lua_State* L ); int ltexturesImageDraw( lua_State* L ); int ltexturesImageDrawText( lua_State* L ); int ltexturesImageDrawTextEx( lua_State* L ); @@ -106,6 +115,7 @@ int ltexturesGetRenderTextureId( lua_State* L ); int ltexturesGetRenderTextureTexture( lua_State* L ); int ltexturesGetRenderTextureDepthTexture( lua_State* L ); /* Color/pixel related functions. */ +int ltexturesColorIsEqual( lua_State* L ); int ltexturesFade( lua_State* L ); int ltexturesColorToInt( lua_State* L ); int ltexturesColorNormalize( lua_State* L ); @@ -117,5 +127,6 @@ int ltexturesColorBrightness( lua_State* L ); int ltexturesColorContrast( lua_State* L ); int ltexturesColorAlpha( lua_State* L ); int ltexturesColorAlphaBlend( lua_State* L ); +int ltexturesColorLerp( lua_State* L ); int ltexturesGetColor( lua_State* L ); int ltexturesGetPixelDataSize( lua_State* L ); |
