refactoring, new game(s) in progress

This commit is contained in:
2026-04-09 12:47:09 -04:00
parent f7b00847ee
commit a529d5cdce
57 changed files with 2743 additions and 759 deletions

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);
}