diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/audio.h | 2 | ||||
| -rw-r--r-- | include/lights.h | 2 | ||||
| -rw-r--r-- | include/lua_core.h | 4 | ||||
| -rw-r--r-- | include/state.h | 16 |
4 files changed, 4 insertions, 20 deletions
diff --git a/include/audio.h b/include/audio.h index 07f6181..756f16f 100644 --- a/include/audio.h +++ b/include/audio.h @@ -6,8 +6,6 @@ int laudioSetMasterVolume( lua_State *L ); int laudioLoadSound( lua_State *L ); int laudioLoadWave( lua_State *L ); int laudioLoadSoundFromWave( lua_State *L ); -int laudioUnloadSound( lua_State *L ); -int laudioUnloadWave( lua_State *L ); int laudioExportWave( lua_State *L ); int laudioExportWaveAsCode( lua_State *L ); /* Wave/Sound management. */ diff --git a/include/lights.h b/include/lights.h index 1268d86..f6c0f5f 100644 --- a/include/lights.h +++ b/include/lights.h @@ -1,7 +1,5 @@ #pragma once -/* Validators. */ -bool validLight( size_t id ); /* Basics. */ int llightsCreateLight( lua_State *L ); int llightsUpdateLightValues( lua_State *L ); diff --git a/include/lua_core.h b/include/lua_core.h index c90464e..2996b54 100644 --- a/include/lua_core.h +++ b/include/lua_core.h @@ -75,6 +75,10 @@ void uluaPushCamera2D( lua_State *L, Camera2D camera ); void uluaPushCamera3D( lua_State *L, Camera3D camera ); void uluaPushShader( lua_State *L, Shader shader ); void uluaPushFont( lua_State *L, Font font ); +void uluaPushWave( lua_State *L, Wave wave ); +void uluaPushSound( lua_State *L, Sound sound ); +void uluaPushMusic( lua_State *L, Music music ); +void uluaPushLight( lua_State *L, Light light ); int uluaGetTableLen( lua_State *L ); int uluaGetTableLenIndex( lua_State *L, int index ); diff --git a/include/state.h b/include/state.h index bf86d00..37a6d8c 100644 --- a/include/state.h +++ b/include/state.h @@ -15,18 +15,6 @@ typedef struct { Vector2 resolution; int logLevelInvalid; /* Resources. */ - /* Sounds. */ - Wave **waves; - size_t waveCount; - size_t waveAlloc; - /* Sounds. */ - Sound **sounds; - size_t soundCount; - size_t soundAlloc; - /* Music. */ - Music **musics; - size_t musicCount; - size_t musicAlloc; /* Meshes. */ Mesh **meshes; size_t meshCount; @@ -43,10 +31,6 @@ typedef struct { ModelAnimations **animations; size_t animationCount; size_t animationAlloc; - /* Lights. */ - Light **lights; - size_t lightCount; - size_t lightAlloc; /* Raylib GLFW input callback events. */ /* Window events. */ GLFWwindowsizefun raylibWindowSizeCallback; |
