diff options
Diffstat (limited to 'src/constants.rs')
-rw-r--r-- | src/constants.rs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/constants.rs b/src/constants.rs index c33e30b..d8effa8 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -1,11 +1,8 @@ -pub const TILE_SCALE: f32 = 3.0; +pub const TILE_SCALE: f32 = 3.5; pub const TILE_SIZE: f32 = 16.0; -pub const TILE_WIDTH: f32 = 16.0; -pub const BORDER_SIZE: f32 = 3.0; -pub const SHIFT_X: f32 = 50.0; -pub const SHIFT_Y: f32 = 50.0; -pub const COLUMNS: usize = 8; -pub const ROWS: usize = 8; +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; |