diff options
| author | jussi | 2022-06-12 23:20:10 +0300 |
|---|---|---|
| committer | jussi | 2022-06-12 23:20:10 +0300 |
| commit | 4cb361733ef4bce0e803501b750acdd81404778f (patch) | |
| tree | b3e84392a64621dcc08614fac4fb9580189aea0a /include | |
| parent | 9dd3fa10cee52913cb0093b2fe7a0faa31e1c17a (diff) | |
| download | reilua-enhanced-4cb361733ef4bce0e803501b750acdd81404778f.tar.gz reilua-enhanced-4cb361733ef4bce0e803501b750acdd81404778f.tar.bz2 reilua-enhanced-4cb361733ef4bce0e803501b750acdd81404778f.zip | |
Rest of shapes draw functions.
Diffstat (limited to 'include')
| -rw-r--r-- | include/core.h | 3 | ||||
| -rw-r--r-- | include/shapes.h | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/include/core.h b/include/core.h index 7f1be5e..29b2953 100644 --- a/include/core.h +++ b/include/core.h @@ -35,6 +35,7 @@ int lcoreSetClipboardText( lua_State *L ); int lcoreGetClipboardText( lua_State *L ); /* Timing. */ int lcoreSetTargetFPS( lua_State *L ); +int lcoreGetFPS( lua_State *L ); int lcoreGetFrameTime( lua_State *L ); int lcoreGetTime( lua_State *L ); /* Misc. */ @@ -117,7 +118,7 @@ int lcoreGetCamera3DUp( lua_State *L ); int lcoreGetCamera3DFovy( lua_State *L ); int lcoreGetCamera3DProjection( lua_State *L ); int lcoreUpdateCamera3D( lua_State *L ); -int lcoreSetCamera3DMode( lua_State *L ); +int lcoreSetCameraMode( lua_State *L ); int lcoreSetCameraPanControl( lua_State *L ); int lcoreSetCameraAltControl( lua_State *L ); int lcoreSetCameraSmoothZoomControl( lua_State *L ); diff --git a/include/shapes.h b/include/shapes.h index 423a43f..1550054 100644 --- a/include/shapes.h +++ b/include/shapes.h @@ -1,14 +1,38 @@ #pragma once /* Drawing. */ +int lshapesSetShapesTexture( lua_State *L ); int lshapesDrawPixel( lua_State *L ); int lshapesDrawLine( lua_State *L ); +int lshapesDrawLineBezier( lua_State *L ); +int lshapesDrawLineBezierQuad( lua_State *L ); +int lshapesDrawLineBezierCubic( lua_State *L ); +int lshapesDrawLineStrip( lua_State *L ); int lshapesDrawCircle( lua_State *L ); +int lshapesDrawCircleSector( lua_State *L ); +int lshapesDrawCircleSectorLines( lua_State *L ); +int lshapesDrawCircleGradient( lua_State *L ); int lshapesDrawCircleLines( lua_State *L ); +int lshapesDrawEllipse( lua_State *L ); +int lshapesDrawEllipseLines( lua_State *L ); +int lshapesDrawRing( lua_State *L ); +int lshapesDrawRingLines( lua_State *L ); int lshapesDrawRectangle( lua_State *L ); int lshapesDrawRectanglePro( lua_State *L ); +int lshapesDrawRectangleGradientV( lua_State *L ); +int lshapesDrawRectangleGradientH( lua_State *L ); +int lshapesDrawRectangleGradientEx( lua_State *L ); +int lshapesDrawRectangleLines( lua_State *L ); +int lshapesDrawRectangleLinesEx( lua_State *L ); +int lshapesDrawRectangleRounded( lua_State *L ); +int lshapesDrawRectangleRoundedLines( lua_State *L ); int lshapesDrawTriangle( lua_State *L ); int lshapesDrawTriangleLines( lua_State *L ); +int lshapesDrawTriangleFan( lua_State *L ); +int lshapesDrawTriangleStrip( lua_State *L ); +int lshapesDrawPoly( lua_State *L ); +int lshapesDrawPolyLines( lua_State *L ); +int lshapesDrawPolyLinesEx( lua_State *L ); /* Collision. */ int lshapesCheckCollisionRecs( lua_State *L ); int lshapesCheckCollisionCircles( lua_State *L ); |
