From a28b7208180937f21cf9cfa8542d0490cd643daa Mon Sep 17 00:00:00 2001 From: Stephen Enders Date: Thu, 21 Jan 2021 22:18:07 -0500 Subject: Rearrange sprites --- helper.hpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'helper.hpp') diff --git a/helper.hpp b/helper.hpp index d0e86ce..3e7ffbb 100644 --- a/helper.hpp +++ b/helper.hpp @@ -16,16 +16,18 @@ static const float SPRITE_ROWS = 9.f; static const float SPRITE_COLS = 14.f; static const float SCR_W = SPRITE_SIZE / ZOOM * SPRITE_COLS / ZOOM; static const float SCR_H = SPRITE_SIZE / ZOOM * SPRITE_ROWS / ZOOM; -static const int P1_PIECE = 6; -static const int P2_PIECE = 5; +static const int P1_PIECE = 19; +static const int P2_PIECE = 18; static const int P1_BOARD_TILES[2] = { 0, 1 }; static const int P2_BOARD_TILES[2] = { 2, 3 }; static const int STAR_TILE = 4; -static const int BLANK_TILE = 9; -static const int DIE_0 = 8; -static const int DIE_1 = 7; -static const int NUMS_TILES[8] = { 10, 11, 12, 13, 14, 15, 16, 17 }; -static const int ROLL_TILES[2] = { 18, 19 }; +static const int BLANK_TILES[3] = { 5, 6, 7 }; +static const int P1_END = 22; +static const int P2_END = 23; +static const int DIE_0 = 17; +static const int DIE_1 = 16; +static const int NUMS_TILES[8] = { 8, 9, 10, 11, 12, 13, 14, 15 }; +static const int ROLL_TILES[2] = { 20, 21 }; static const char* TITLE = "Royal Game of Ur"; static const sf::Color GLOBAL_MASK(255, 0, 255, 255); -- cgit v1.2.3-54-g00ecf