blob: d8effa80374110f6fe3f44b2b1ef7cc82313011e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
pub const TILE_SCALE: f32 = 3.5;
pub const TILE_SIZE: f32 = 16.0;
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 = 4;
pub const TILESHEET_EXPLOSION2: u32 = 5;
pub const TILESHEET_EXPLOSION3: u32 = 6;
pub const TILESHEET_EXPLOSION4: u32 = 7;
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_COSMONAUT2: u32 = 12;
pub const TILESHEET_VISOR3: u32 = 13;
pub const TILESHEET_VISOR4: u32 = 14;
pub const TILESHEET_NONE2: u32 = 15;
pub const TILESHEET_STAR1: u32 = 16;
pub const TILESHEET_STAR2: u32 = 17;
pub const TILESHEET_STAR3: u32 = 18;
pub const TILESHEET_NONE3: u32 = 19;
|