forked from jaildesigner-jailgames/jaildoctors_dilemma
fix: errors de renombrat de variables
This commit is contained in:
@@ -15,18 +15,18 @@ constexpr const char* VERSION = "1.10";
|
||||
constexpr Uint32 GAME_SPEED = 15;
|
||||
|
||||
// Tamaño de bloque
|
||||
constexpr int BLOCK = 8;
|
||||
constexpr int HALF_BLOCK = 4;
|
||||
constexpr int TILE_SIZE = 8;
|
||||
constexpr int HALF_TILE = TILE_SIZE / 2;
|
||||
|
||||
// Tamaño de la pantalla virtual
|
||||
constexpr int GAMECANVAS_WIDTH = 256;
|
||||
constexpr int GAMECANVAS_HEIGHT = 192;
|
||||
|
||||
// Zona de juego
|
||||
constexpr int PLAY_AREA_TOP = (0 * BLOCK);
|
||||
constexpr int PLAY_AREA_BOTTOM = (16 * BLOCK);
|
||||
constexpr int PLAY_AREA_LEFT = (0 * BLOCK);
|
||||
constexpr int PLAY_AREA_RIGHT = (32 * BLOCK);
|
||||
constexpr int PLAY_AREA_TOP = (0 * TILE_SIZE);
|
||||
constexpr int PLAY_AREA_BOTTOM = (16 * TILE_SIZE);
|
||||
constexpr int PLAY_AREA_LEFT = (0 * TILE_SIZE);
|
||||
constexpr int PLAY_AREA_RIGHT = (32 * TILE_SIZE);
|
||||
constexpr int PLAY_AREA_WIDTH = PLAY_AREA_RIGHT - PLAY_AREA_LEFT;
|
||||
constexpr int PLAY_AREA_HEIGHT = PLAY_AREA_BOTTOM - PLAY_AREA_TOP;
|
||||
constexpr int PLAY_AREA_CENTER_X = PLAY_AREA_LEFT + (PLAY_AREA_WIDTH / 2);
|
||||
|
||||
Reference in New Issue
Block a user