PETA QUE NI EL PEPE KARTS

This commit is contained in:
2025-02-21 22:00:33 +01:00
parent 7a0bc5c9ae
commit f6098a479b
22 changed files with 386 additions and 392 deletions

View File

@@ -14,9 +14,9 @@ class Asset; // lines 11-11
// Constructor
Logo::Logo(Resource *resource, options_t *options, section_t *section)
: resource_(resource),
screen_(Screen::get()),
: screen_(Screen::get()),
renderer_(Screen::get()->getRenderer()),
resource_(resource),
asset_(Asset::get()),
input_(Input::get()),
options_(options),
@@ -24,8 +24,8 @@ Logo::Logo(Resource *resource, options_t *options, section_t *section)
{
// Reserva memoria para los punteros
event_handler_ = new SDL_Event();
jailgames_texture_ = resource->getTexture("jailgames.png");
since_1998_texture_ = resource->getTexture("since_1998.png");
jailgames_texture_ = resource_->getTexture("jailgames.png");
since_1998_texture_ = resource_->getTexture("since_1998.png");
since_1998_sprite_ = new Sprite((256 - since_1998_texture_->getWidth()) / 2, 83 + jailgames_texture_->getHeight() + 5, since_1998_texture_->getWidth(), since_1998_texture_->getHeight(), since_1998_texture_, renderer_);
since_1998_sprite_->setSpriteClip(0, 0, since_1998_texture_->getWidth(), since_1998_texture_->getHeight());
since_1998_texture_->setColor(0, 0, 0);