migrat a SDL3
arreglos estetics i d'estil
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user