diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2021-04-10 12:28:16 +0200 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2021-04-10 12:28:16 +0200 |
commit | 6f2cf244f8d92068963207205125f2167768ff53 (patch) | |
tree | d279fdb6859726d4362f0ce33e6a30ca37c30267 /src/constants.rs | |
parent | 284ad7d9193bafbe44993bada105a92899650af1 (diff) |
setup for new tileset
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/src/constants.rs b/src/constants.rs index d8effa8..7eed139 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -4,27 +4,32 @@ pub const WINDOW_HEIGHT: f32 = 600.0; pub const WINDOW_WIDTH: f32 = 800.0; pub const GRID_SIZE: usize = 8; -pub const TILESHEET_GREEN: u32 = 0; -pub const TILESHEET_YELLOW: u32 = 1; -pub const TILESHEET_BLUE: u32 = 2; -pub const TILESHEET_RED: u32 = 3; +pub const TILESHEET_EXPLOSION1: u32 = 0; +pub const TILESHEET_EXPLOSION2: u32 = 1; +pub const TILESHEET_EXPLOSION3: u32 = 2; +pub const TILESHEET_EXPLOSION4: u32 = 3; +pub const TILESHEET_EXPLOSION5: u32 = 4; -pub const TILESHEET_EXPLOSION1: u32 = 4; -pub const TILESHEET_EXPLOSION2: u32 = 5; -pub const TILESHEET_EXPLOSION3: u32 = 6; -pub const TILESHEET_EXPLOSION4: u32 = 7; +pub const TILESHEET_GREEN: u32 = 5; +pub const TILESHEET_YELLOW: u32 = 6; +pub const TILESHEET_BLUE: u32 = 7; +pub const TILESHEET_RED: u32 = 8; +pub const TILESHEET_PURPLE: u32 = 9; -pub const TILESHEET_COSMONAUT1: u32 = 8; -pub const TILESHEET_VISOR1: u32 = 9; -pub const TILESHEET_VISOR2: u32 = 10; -pub const TILESHEET_NONE1: u32 = 11; +pub const TILESHEET_STAR1: u32 = 10; +pub const TILESHEET_STAR2: u32 = 11; +pub const TILESHEET_STAR3: u32 = 12; +pub const TILESHEET_NONE1: u32 = 13; +pub const TILESHEET_NONE2: u32 = 14; -pub const TILESHEET_COSMONAUT2: u32 = 12; -pub const TILESHEET_VISOR3: u32 = 13; -pub const TILESHEET_VISOR4: u32 = 14; -pub const TILESHEET_NONE2: u32 = 15; +pub const TILESHEET_COSMONAUT1: u32 = 15; +pub const TILESHEET_VISOR1: u32 = 16; +pub const TILESHEET_VISOR2: u32 = 17; +pub const TILESHEET_NONE3: u32 = 18; +pub const TILESHEET_NONE4: u32 = 19; -pub const TILESHEET_STAR1: u32 = 16; -pub const TILESHEET_STAR2: u32 = 17; -pub const TILESHEET_STAR3: u32 = 18; -pub const TILESHEET_NONE3: u32 = 19; +pub const TILESHEET_COSMONAUT2: u32 = 20; +pub const TILESHEET_VISOR3: u32 = 21; +pub const TILESHEET_VISOR4: u32 = 22; +pub const TILESHEET_NONE6: u32 = 23; +pub const TILESHEET_NONE7: u32 = 24; |