afegit vsync toggle
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "../../core/rendering/sdl_manager.hpp"
|
||||
#include "../../core/types.hpp"
|
||||
#include "../effects/debris_manager.hpp"
|
||||
#include "core/defaults.hpp"
|
||||
|
||||
class EscenaLogo {
|
||||
public:
|
||||
@@ -64,8 +65,8 @@ class EscenaLogo {
|
||||
|
||||
// Constants d'animació seqüencial
|
||||
static constexpr float THRESHOLD_LETRA = 0.6f; // Umbral per activar següent lletra (0.0-1.0)
|
||||
static constexpr float ORIGEN_ZOOM_X = 640.0f / 2.0f; // Punt inicial X del zoom (320)
|
||||
static constexpr float ORIGEN_ZOOM_Y = 480.0f * 0.4f; // Punt inicial Y del zoom (240)
|
||||
static constexpr float ORIGEN_ZOOM_X = Defaults::Game::WIDTH * 0.5f; // Punt inicial X del zoom
|
||||
static constexpr float ORIGEN_ZOOM_Y = Defaults::Game::HEIGHT * 0.4f; // Punt inicial Y del zoom
|
||||
|
||||
// Mètodes privats
|
||||
void inicialitzar_lletres();
|
||||
|
||||
Reference in New Issue
Block a user