summaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 344c55b..a383d89 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,5 +1,7 @@
use crate::geometry::Vec2d;
+pub mod lava;
+
pub const MAP_SIZE: usize = 33;
pub const MAP_ROW_SIZE: [MapRow; MAP_SIZE] = [
MapRow {
@@ -138,6 +140,8 @@ pub const MAP_ROW_SIZE: [MapRow; MAP_SIZE] = [
pub const MAP_BITSIZE: usize = 897;
pub const MAP_U64S: usize = 15;
+// TODO: Constant for lava map
+
pub struct MapRow {
pub start_bit: usize,
pub x_offset: usize,
@@ -184,6 +188,6 @@ pub const COLLISION_DAMAGE: i32 = 20;
pub const LAVA_DAMAGE: i32 = 3;
-pub const LAVA_ROUND_START: u16 = 100;
-pub const LAVA_ROUND_END: u16 = 350;
-pub const MAX_ROUNDS: u16 = 400;
+pub const LAVA_ROUND_START: usize = 100;
+pub const LAVA_ROUND_END: usize = 350;
+pub const MAX_ROUNDS: usize = 400;