#pragma once #include "LuaVM.h" #include "SDL2/include/SDL_mixer.h" #include class Chunk { public: std::shared_ptr chunk; Chunk(Mix_Chunk* c); static int setVolume(lua_State* L); static int close(lua_State* L); static int create(lua_State* L); }; class Music { public: std::shared_ptr music; Music(Mix_Music* m); static int close(lua_State* L); static int create(lua_State* L); };