refactoring, new game(s) in progress
This commit is contained in:
1 parent
f7b00847ee
commit
a529d5cdce
57 files changed
+2743
-759
No files matched your search
@@ -153,7 +153,7 @@ namespace game::resource
|
||||
internal.reset();
|
||||
}
|
||||
|
||||
void Audio::play(bool isLoop)
|
||||
void Audio::play(bool isLoop) const
|
||||
{
|
||||
if (!internal) return;
|
||||
|
||||
@@ -186,7 +186,7 @@ namespace game::resource
|
||||
if (options) SDL_DestroyProperties(options);
|
||||
}
|
||||
|
||||
void Audio::stop()
|
||||
void Audio::stop() const
|
||||
{
|
||||
if (track) MIX_StopTrack(track, 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user