migrant a SDL3

This commit is contained in:
2025-03-27 08:14:37 +01:00
parent a9c869baf6
commit d2286905dc
83 changed files with 570 additions and 541 deletions

View File

@@ -247,8 +247,8 @@ bool GameLogo::hasFinished() const
// Calcula el desplazamiento vertical inicial
int GameLogo::getInitialVerticalDesp()
{
auto desp_up = y_;
auto desp_down = param.game.height - y_;
const float OFFSET_UP = y_;
const float OFFSET_DOWN = param.game.height - y_;
return std::max(desp_up, desp_down);
return std::max(OFFSET_UP, OFFSET_DOWN);
}