canvi de pc
This commit is contained in:
@@ -367,7 +367,7 @@ void Title::moveCheevosList(int direction)
|
||||
cheevos_texture_view_.y = bottom;
|
||||
}
|
||||
|
||||
cheevos_sprite_->setSpriteClip(cheevos_texture_view_);
|
||||
cheevos_sprite_->setClip(cheevos_texture_view_);
|
||||
}
|
||||
|
||||
// Rellena la textura de fondo con todos los gráficos
|
||||
@@ -445,7 +445,7 @@ void Title::createCheevosTexture()
|
||||
// Crea el sprite para el listado de logros
|
||||
cheevos_sprite_ = new Sprite((GAMECANVAS_WIDTH - cheevos_texture_->getWidth()) / 2, cheevosTexturePosY, cheevos_texture_->getWidth(), cheevos_texture_->getHeight(), cheevos_texture_, renderer_);
|
||||
cheevos_texture_view_ = {0, 0, cheevos_texture_->getWidth(), cheevosTextureViewHeight};
|
||||
cheevos_sprite_->setSpriteClip(cheevos_texture_view_);
|
||||
cheevos_sprite_->setClip(cheevos_texture_view_);
|
||||
}
|
||||
|
||||
// Oculta la lista de logros
|
||||
@@ -453,5 +453,5 @@ void Title::hideCheevosList()
|
||||
{
|
||||
show_cheevos_ = false;
|
||||
cheevos_texture_view_.y = 0;
|
||||
cheevos_sprite_->setSpriteClip(cheevos_texture_view_);
|
||||
cheevos_sprite_->setClip(cheevos_texture_view_);
|
||||
}
|
||||
Reference in New Issue
Block a user