refactoring, new game(s) in progress

This commit is contained in:
shweet committed 2026-04-09 12:47:09 -04:00
1 parent f7b00847ee
commit a529d5cdce
57 files changed
+2743 -759

No files matched your search

+2 -2
View File
@@ -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);
}