diff options
author | Stephen Enders <smenders@gmail.com> | 2021-01-21 22:18:07 -0500 |
---|---|---|
committer | Stephen Enders <smenders@gmail.com> | 2021-01-21 22:18:07 -0500 |
commit | a28b7208180937f21cf9cfa8542d0490cd643daa (patch) | |
tree | ce80adb2d59c83dc0703711ab6a7567ce4c6a1de /helper.hpp | |
parent | 47b8018228f8d461a1487182ad176bfd41e55e9c (diff) |
Rearrange sprites
Diffstat (limited to 'helper.hpp')
-rw-r--r-- | helper.hpp | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -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); |