diff options
| author | jussi | 2023-11-20 21:04:53 +0200 |
|---|---|---|
| committer | jussi | 2023-11-20 21:04:53 +0200 |
| commit | 05eaafb79e6fa1bebff157e94563334d7ead700b (patch) | |
| tree | 574ae0af685967df067efe11058dc50478558333 /include/core.h | |
| parent | 7765a23a2c90e6d02f6278eed1b1b9b9375bc941 (diff) | |
| download | reilua-enhanced-05eaafb79e6fa1bebff157e94563334d7ead700b.tar.gz reilua-enhanced-05eaafb79e6fa1bebff157e94563334d7ead700b.tar.bz2 reilua-enhanced-05eaafb79e6fa1bebff157e94563334d7ead700b.zip | |
Initial changes for Raylib 5.0 and some missing functions.
Diffstat (limited to 'include/core.h')
| -rw-r--r-- | include/core.h | 42 |
1 files changed, 28 insertions, 14 deletions
diff --git a/include/core.h b/include/core.h index 4b61d5f..3d8d3c0 100644 --- a/include/core.h +++ b/include/core.h @@ -4,36 +4,44 @@ void unloadBuffer( Buffer *buffer ); /* Window-related functions. */ +int lcoreCloseWindow( lua_State *L ); int lcoreIsWindowReady( lua_State *L ); int lcoreIsWindowFullscreen( lua_State *L ); int lcoreIsWindowHidden( lua_State *L ); int lcoreIsWindowMinimized( lua_State *L ); int lcoreIsWindowMaximized( lua_State *L ); int lcoreIsWindowFocused( lua_State *L ); -int lcoreSetWindowMonitor( lua_State *L ); -int lcoreSetWindowPosition( lua_State *L ); -int lcoreSetWindowSize( lua_State *L ); -int lcoreSetWindowOpacity( lua_State *L ); -int lcoreGetWindowHandle( lua_State *L ); -int lcoreSetWindowMinSize( lua_State *L ); -int lcoreGetMonitorPosition( lua_State *L ); -int lcoreGetMonitorSize( lua_State *L ); -int lcoreGetWindowPosition( lua_State *L ); -int lcoreGetScreenSize( lua_State *L ); -int lcoreSetWindowState( lua_State *L ); +int lcoreIsWindowResized( lua_State *L ); int lcoreIsWindowState( lua_State *L ); +int lcoreSetWindowState( lua_State *L ); int lcoreClearWindowState( lua_State *L ); -int lcoreIsWindowResized( lua_State *L ); +int lcoreToggleFullscreen( lua_State *L ); +int lcoreToggleBorderlessWindowed( lua_State *L ); +int lcoreMaximizeWindow( lua_State *L ); +int lcoreMinimizeWindow( lua_State *L ); +int lcoreRestoreWindow( lua_State *L ); int lcoreSetWindowIcon( lua_State *L ); int lcoreSetWindowIcons( lua_State *L ); int lcoreSetWindowTitle( lua_State *L ); +int lcoreSetWindowPosition( lua_State *L ); +int lcoreSetWindowMonitor( lua_State *L ); +int lcoreSetWindowMinSize( lua_State *L ); +int lcoreSetWindowMaxSize( lua_State *L ); +int lcoreSetWindowSize( lua_State *L ); +int lcoreSetWindowOpacity( lua_State *L ); +int lcoreSetWindowFocused( lua_State *L ); +int lcoreGetWindowHandle( lua_State *L ); +int lcoreGetScreenSize( lua_State *L ); +int lcoreGetRenderSize( lua_State *L ); int lcoreGetMonitorCount( lua_State *L ); int lcoreGetCurrentMonitor( lua_State *L ); +int lcoreGetMonitorPosition( lua_State *L ); +int lcoreGetMonitorSize( lua_State *L ); int lcoreGetMonitorPhysicalSize( lua_State *L ); int lcoreGetMonitorRefreshRate( lua_State *L ); +int lcoreGetWindowPosition( lua_State *L ); int lcoreGetWindowScaleDPI( lua_State *L ); int lcoreGetMonitorName( lua_State *L ); -int lcoreCloseWindow( lua_State *L ); int lcoreSetClipboardText( lua_State *L ); int lcoreGetClipboardText( lua_State *L ); /* Cursor-related functions. */ @@ -85,6 +93,10 @@ int lcoreSetTargetFPS( lua_State *L ); int lcoreGetFPS( lua_State *L ); int lcoreGetFrameTime( lua_State *L ); int lcoreGetTime( lua_State *L ); +/* Random values generation functions. */ +int lcoreSetRandomSeed( lua_State *L ); +int lcoreGetRandomValue( lua_State *L ); +int lcoreLoadRandomSequence( lua_State *L ); /* Misc. functions */ int lcoreTakeScreenshot( lua_State *L ); int lcoreSetConfigFlags( lua_State *L ); @@ -107,6 +119,7 @@ int lcoreGetFileNameWithoutExt( lua_State *L ); 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 lcoreChangeDirectory( lua_State *L ); @@ -131,12 +144,13 @@ int lcoreGetKeyName( lua_State *L ); int lcoreGetKeyScancode( lua_State *L ); /* Input-related functions: gamepads. */ int lcoreIsGamepadAvailable( lua_State *L ); +int lcoreGetGamepadName( lua_State *L ); int lcoreIsGamepadButtonPressed( lua_State *L ); int lcoreIsGamepadButtonDown( lua_State *L ); int lcoreIsGamepadButtonReleased( lua_State *L ); int lcoreGetGamepadAxisCount( lua_State *L ); int lcoreGetGamepadAxisMovement( lua_State *L ); -int lcoreGetGamepadName( lua_State *L ); +int lcoreSetGamepadMappings( lua_State *L ); /* Input-related functions: mouse. */ int lcoreIsMouseButtonPressed( lua_State *L ); int lcoreIsMouseButtonDown( lua_State *L ); |
