Refactoring, fixes.

This commit is contained in:
J-D-K
2025-08-06 19:35:23 -04:00
parent 211f55fdaf
commit 884f1a36f9
97 changed files with 3070 additions and 2186 deletions

View File

@@ -12,8 +12,8 @@ namespace
} // namespace
BaseTask::BaseTask()
: BaseState{false}
, m_popUnableExit{strings::get_by_name(strings::names::GENERAL_POPS, 0)}
: BaseState(false)
, m_popUnableExit(strings::get_by_name(strings::names::GENERAL_POPS, 0))
{
m_frameTimer.start(TICKS_GLYPH_TRIGGER);
}
@@ -38,7 +38,5 @@ void BaseTask::update()
void BaseTask::render_loading_glyph()
{
const char *currentFrame = sm_glyphArray[m_currentFrame].data();
sdl::text::render(NULL, 56, 673, 32, sdl::text::NO_TEXT_WRAP, m_colorMod, currentFrame);
sdl::text::render(sdl::Texture::Null, 56, 673, 32, sdl::text::NO_WRAP, m_colorMod, sm_glyphArray[m_currentFrame]);
}