diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/audio.h | 8 | ||||
| -rw-r--r-- | include/lights.h | 2 | ||||
| -rw-r--r-- | include/rgui.h | 5 | ||||
| -rw-r--r-- | include/shapes.h | 4 | ||||
| -rw-r--r-- | include/text.h | 6 | ||||
| -rw-r--r-- | include/textures.h | 34 |
6 files changed, 30 insertions, 29 deletions
diff --git a/include/audio.h b/include/audio.h index edc47ee..09b5bb3 100644 --- a/include/audio.h +++ b/include/audio.h @@ -1,8 +1,8 @@ #pragma once -/* Audio device management. */ +/* Audio device management functions. */ int laudioSetMasterVolume( lua_State *L ); -/* Wave/Sound Loading. */ +/* Wave/Sound loading/unloading functions. */ int laudioLoadSound( lua_State *L ); int laudioLoadWave( lua_State *L ); int laudioIsWaveReady( lua_State *L ); @@ -12,7 +12,7 @@ int laudioUnloadWave( lua_State *L ); int laudioUnloadSound( lua_State *L ); int laudioExportWave( lua_State *L ); int laudioExportWaveAsCode( lua_State *L ); -/* Wave/Sound management. */ +/* Wave/Sound management functions. */ int laudioPlaySound( lua_State *L ); int laudioStopSound( lua_State *L ); int laudioPauseSound( lua_State *L ); @@ -24,7 +24,7 @@ int laudioSetSoundPan( lua_State *L ); int laudioWaveFormat( lua_State *L ); int laudioWaveCopy( lua_State *L ); int laudioWaveCrop( lua_State *L ); -/* Music management. */ +/* Music management functions. */ int laudioLoadMusicStream( lua_State *L ); int laudioIsMusicReady( lua_State *L ); int laudioUnloadMusicStream( lua_State *L ); diff --git a/include/lights.h b/include/lights.h index f6c0f5f..24bbbb4 100644 --- a/include/lights.h +++ b/include/lights.h @@ -1,6 +1,6 @@ #pragma once -/* Basics. */ +/* Light management functions. */ int llightsCreateLight( lua_State *L ); int llightsUpdateLightValues( lua_State *L ); int llightsSetLightType( lua_State *L ); diff --git a/include/rgui.h b/include/rgui.h index 576c0c6..1406fcd 100644 --- a/include/rgui.h +++ b/include/rgui.h @@ -15,8 +15,6 @@ int lguiGuiGetFont( lua_State *L ); /* Style */ int lguiGuiSetStyle( lua_State *L ); int lguiGuiGetStyle( lua_State *L ); -int lguiGuiLoadStyle( lua_State *L ); -int lguiGuiLoadStyleDefault( lua_State *L ); /* Container. */ int lguiGuiWindowBox( lua_State *L ); int lguiGuiGroupBox( lua_State *L ); @@ -52,6 +50,9 @@ int lguiGuiColorPicker( lua_State *L ); int lguiGuiColorPanel( lua_State *L ); int lguiGuiColorBarAlpha( lua_State *L ); int lguiGuiColorBarHue( lua_State *L ); +/* Styles loading functions */ +int lguiGuiLoadStyle( lua_State *L ); +int lguiGuiLoadStyleDefault( lua_State *L ); /* Icons. */ int lguiGuiIconText( lua_State *L ); int lguiGuiDrawIcon( lua_State *L ); diff --git a/include/shapes.h b/include/shapes.h index 6618524..3fde097 100644 --- a/include/shapes.h +++ b/include/shapes.h @@ -1,6 +1,6 @@ #pragma once -/* Drawing. */ +/* Basic shapes drawing functions. */ int lshapesSetShapesTexture( lua_State *L ); int lshapesDrawPixel( lua_State *L ); int lshapesDrawLine( lua_State *L ); @@ -33,7 +33,7 @@ int lshapesDrawTriangleStrip( lua_State *L ); int lshapesDrawPoly( lua_State *L ); int lshapesDrawPolyLines( lua_State *L ); int lshapesDrawPolyLinesEx( lua_State *L ); -/* Collision. */ +/* Basic shapes collision detection functions. */ int lshapesCheckCollisionRecs( lua_State *L ); int lshapesCheckCollisionCircles( lua_State *L ); int lshapesCheckCollisionCircleRec( lua_State *L ); diff --git a/include/text.h b/include/text.h index ad5851d..a0b5c05 100644 --- a/include/text.h +++ b/include/text.h @@ -1,13 +1,13 @@ #pragma once -/* Loading. */ +/* Font loading/unloading functions. */ int ltextGetFontDefault( lua_State *L ); int ltextLoadFont( lua_State *L ); int ltextLoadFontEx( lua_State *L ); int ltextLoadFontFromImage( lua_State *L ); int ltextIsFontReady( lua_State *L ); int ltextUnloadFont( lua_State *L ); -/* Drawing. */ +/* Text drawing functions. */ int ltextDrawFPS( lua_State *L ); int ltextDrawText( lua_State *L ); int ltextDrawTextEx( lua_State *L ); @@ -16,7 +16,7 @@ int ltextDrawTextCodepoint( lua_State *L ); int ltextDrawTextCodepoints( lua_State *L ); int ltextDrawTextBoxed( lua_State *L ); int ltextDrawTextBoxedTinted( lua_State *L ); -/* Font info functions. */ +/* Text font info functions. */ int ltextMeasureText( lua_State *L ); int ltextGetGlyphIndex( lua_State *L ); int ltextGetGlyphInfo( lua_State *L ); diff --git a/include/textures.h b/include/textures.h index 237dc60..e755576 100644 --- a/include/textures.h +++ b/include/textures.h @@ -1,6 +1,6 @@ #pragma once -/* Image Loading. */ +/* Image loading functions. */ int ltexturesLoadImage( lua_State *L ); int ltexturesLoadImageFromTexture( lua_State *L ); int ltexturesLoadImageFromScreen( lua_State *L ); @@ -8,7 +8,7 @@ int ltextureIsImageReady( lua_State *L ); int ltextureUnloadImage( lua_State *L ); int ltexturesExportImage( lua_State *L ); int ltexturesExportImageAsCode( lua_State *L ); -/* Image Generation. */ +/* Image generation functions. */ int ltexturesGenImageColor( lua_State *L ); int ltexturesGenImageGradientV( lua_State *L ); int ltexturesGenImageGradientH( lua_State *L ); @@ -18,7 +18,7 @@ int ltexturesGenImageWhiteNoise( lua_State *L ); int ltexturesGenImagePerlinNoise( lua_State *L ); int ltexturesGenImageCellular( lua_State *L ); int ltexturesGenImageText( lua_State *L ); -/* Image Manipulation Functions. */ +/* Image manipulation functions. */ int ltexturesImageCopy( lua_State *L ); int ltexturesImageFromImage( lua_State *L ); int ltexturesImageText( lua_State *L ); @@ -49,7 +49,11 @@ int ltexturesLoadImageColors( lua_State *L ); int ltexturesLoadImagePalette( lua_State *L ); int ltexturesGetImageAlphaBorder( lua_State *L ); int ltexturesGetImageColor( lua_State *L ); -/* Image Drawing. */ +/* Image configuration functions. */ +int ltexturesGetImageSize( lua_State *L ); +int ltexturesGetImageMipmaps( lua_State *L ); +int ltexturesGetImageFormat( lua_State *L ); +/* Image drawing functions. */ int ltexturesImageClearBackground( lua_State *L ); int ltexturesImageDrawPixel( lua_State *L ); int ltexturesImageDrawLine( lua_State *L ); @@ -59,11 +63,7 @@ int ltexturesImageDrawRectangle( lua_State *L ); int ltexturesImageDrawRectangleLines( lua_State *L ); int ltexturesImageDraw( lua_State *L ); int ltexturesImageDrawTextEx( lua_State *L ); -/* Image Configuration. */ -int ltexturesGetImageSize( lua_State *L ); -int ltexturesGetImageMipmaps( lua_State *L ); -int ltexturesGetImageFormat( lua_State *L ); -/* Texture Loading. */ +/* Texture loading functions. */ int ltexturesLoadTexture( lua_State *L ); int ltexturesLoadTextureFromImage( lua_State *L ); int ltexturesLoadTextureCubemap( lua_State *L ); @@ -76,12 +76,7 @@ int ltexturesIsRenderTextureReady( lua_State *L ); int ltextureUnloadRenderTexture( lua_State *L ); int ltexturesUpdateTexture( lua_State *L ); int ltexturesUpdateTextureRec( lua_State *L ); -/* Texture Drawing. */ -int ltexturesDrawTexture( lua_State *L ); -int ltexturesDrawTextureRec( lua_State *L ); -int ltexturesDrawTexturePro( lua_State *L ); -int ltexturesDrawTextureNPatch( lua_State *L ); -/* Texture Configuration. */ +/* Texture configuration functions. */ int ltexturesGenTextureMipmaps( lua_State *L ); int ltexturesSetTextureFilter( lua_State *L ); int ltexturesSetTextureWrap( lua_State *L ); @@ -89,11 +84,16 @@ int ltexturesGetTextureId( lua_State *L ); int ltexturesGetTextureSize( lua_State *L ); int ltexturesGetTextureMipmaps( lua_State *L ); int ltexturesGetTextureFormat( lua_State *L ); -/* RenderTexture Configuration. */ +/* Texture drawing functions. */ +int ltexturesDrawTexture( lua_State *L ); +int ltexturesDrawTextureRec( lua_State *L ); +int ltexturesDrawTexturePro( lua_State *L ); +int ltexturesDrawTextureNPatch( lua_State *L ); +/* RenderTexture configuration functions. */ int ltexturesGetRenderTextureId( lua_State *L ); int ltexturesGetRenderTextureTexture( lua_State *L ); int ltexturesGetRenderTextureDepthTexture( lua_State *L ); -/* Color/pixel */ +/* Color/pixel related functions. */ int ltexturesFade( lua_State *L ); int ltexturesColorToInt( lua_State *L ); int ltexturesColorNormalize( lua_State *L ); |
