diff options
| author | Indrajith K L | 2025-11-03 19:24:01 +0530 |
|---|---|---|
| committer | GitHub | 2025-11-03 19:24:01 +0530 |
| commit | 02d6be119fa130121a04799e81aff203472b6233 (patch) | |
| tree | db72095f2edac8344264ca22bda0b252f267040a /include | |
| parent | 929076b5766e0b9c5d8bfec3967a71e15a078bc9 (diff) | |
| parent | e51adde3efcd731d80f8ad8025d70db60554cadb (diff) | |
| download | reilua-enhanced-02d6be119fa130121a04799e81aff203472b6233.tar.gz reilua-enhanced-02d6be119fa130121a04799e81aff203472b6233.tar.bz2 reilua-enhanced-02d6be119fa130121a04799e81aff203472b6233.zip | |
Merge pull request #1 from cooljith91112/embedded-assets-support
Added asset embedding support + docs cleanup
Diffstat (limited to 'include')
| -rw-r--r-- | include/core.h | 3 | ||||
| -rw-r--r-- | include/lua_core.h | 2 | ||||
| -rw-r--r-- | include/splash.h | 6 | ||||
| -rw-r--r-- | include/state.h | 3 |
4 files changed, 13 insertions, 1 deletions
diff --git a/include/core.h b/include/core.h index ab115ae..d608d0a 100644 --- a/include/core.h +++ b/include/core.h @@ -140,6 +140,9 @@ int lcoreGetDirectoryPath( lua_State* L ); int lcoreGetPrevDirectoryPath( lua_State* L ); int lcoreGetWorkingDirectory( lua_State* L ); int lcoreGetApplicationDirectory( lua_State* L ); +int lcoreBeginAssetLoading( lua_State* L ); +int lcoreUpdateAssetLoading( lua_State* L ); +int lcoreEndAssetLoading( lua_State* L ); int lcoreMakeDirectory( lua_State* L ); int lcoreChangeDirectory( lua_State* L ); int lcoreIsPathFile( lua_State* L ); diff --git a/include/lua_core.h b/include/lua_core.h index 8204b49..acbae3f 100644 --- a/include/lua_core.h +++ b/include/lua_core.h @@ -50,7 +50,7 @@ void assingGlobalFunction( const char* name, int ( *functionPtr )( lua_State* ) bool luaInit( int argn, const char** argc ); int luaTraceback( lua_State* L ); -void luaCallMain(); +bool luaCallMain(); void luaCallInit(); void luaCallUpdate(); void luaCallDraw(); diff --git a/include/splash.h b/include/splash.h new file mode 100644 index 0000000..da5e762 --- /dev/null +++ b/include/splash.h @@ -0,0 +1,6 @@ +#pragma once + +void splashInit(); +bool splashUpdate( float delta ); +void splashDraw(); +void splashCleanup(); diff --git a/include/state.h b/include/state.h index 24679c6..3e7836d 100644 --- a/include/state.h +++ b/include/state.h @@ -7,7 +7,10 @@ typedef struct { char* basePath; bool run; + bool hasWindow; bool gcUnload; + bool customFontLoaded; + Vector2 resolution; int lineSpacing; /* We need to store copy here since raylib has it in static. */ Vector2 mouseOffset; Vector2 mouseScale; |
