This commit is contained in:
2025-03-01 09:15:08 +01:00
parent c7db6aeaa3
commit 4e525642a0
7 changed files with 124 additions and 19 deletions

View File

@@ -24,7 +24,7 @@
#include "notifier.h"
#include "global_inputs.h"
#include "global_events.h"
#include "surface.h"
//#include "surface.h"
// Constructor
Game::Game()
@@ -37,7 +37,7 @@ Game::Game()
cheevos_(Cheevos::get())
{
// Inicia algunas variables
test_surface_ = std::make_shared<Surface>(Screen::get()->getSurface(), "test.gif");
//test_surface_ = std::make_shared<Surface>(Screen::get()->getSurface(), "test.gif");
board_ = std::make_shared<ScoreboardData>();
board_->ini_clock = SDL_GetTicks();
#ifdef DEBUG
@@ -262,7 +262,7 @@ void Game::render()
{
// Prepara para dibujar el frame
screen_->start();
test_surface_->render(0, 0, 10, 10, 64, 64);
//test_surface_->render(0, 0, 10, 10, 64, 64);
// Dibuja los elementos del juego en orden
room_->renderMap();