apegat de mala manera els shaders del CCAE i fets uns apanyets per a vore si compila

This commit is contained in:
2025-10-15 12:59:17 +02:00
parent e4a08d2ec7
commit e811cf0a1d
23 changed files with 1158 additions and 829 deletions

View File

@@ -16,8 +16,8 @@ Scoreboard::Scoreboard(std::shared_ptr<ScoreboardData> data)
: item_surface_(Resource::get()->getSurface("items.gif")),
data_(data),
clock_(ClockData()) {
const int SURFACE_WIDTH_ = options.game.width;
constexpr int SURFACE_HEIGHT_ = 6 * BLOCK;
const float SURFACE_WIDTH_ = options.game.width;
constexpr float SURFACE_HEIGHT_ = 6.0F * BLOCK;
// Reserva memoria para los objetos
auto player_texture = Resource::get()->getSurface(options.cheats.alternate_skin == Cheat::CheatState::ENABLED ? "player2.gif" : "player.gif");