1
0

migrat a SDL3

arreglos estetics i d'estil
This commit is contained in:
2025-03-24 22:54:14 +01:00
parent 7abbaee706
commit 0c89cd5138
9 changed files with 663 additions and 614 deletions
+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include <SDL3/SDL.h>
constexpr int SPRITE_WIDTH = 29;
constexpr int SPRITE_HEIGHT = 64;
constexpr int WINDOW_WIDTH = 160;
constexpr int WINDOW_HEIGHT = 160;
constexpr int WINDOW_ZOOM = 4;
constexpr int SPRITE_POS_X = (WINDOW_WIDTH - SPRITE_WIDTH) / 2;
constexpr int SPRITE_POS_Y = (WINDOW_HEIGHT - SPRITE_HEIGHT) / 2;
constexpr int NUM_PALETTES = 2;
constexpr int NUM_FRAMES = 4;
constexpr Uint64 ANIMATION_SPEED = 200;