diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2022-04-19 21:37:58 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2022-04-19 21:37:58 +0200 |
commit | f38ef5a22222e368bf2bfa1c1c652d48e5493369 (patch) | |
tree | 4b5bd2401a696e45031b18198157c7c00d566c16 /2020-overdrive/src/consts.rs | |
parent | 4e2436703a90c2ca45dcb0d2584968a0340220d7 (diff) | |
parent | f8a0e0f7f2f9cd5fb69899b5d7037bc969df4339 (diff) |
Diffstat (limited to '2020-overdrive/src/consts.rs')
-rw-r--r-- | 2020-overdrive/src/consts.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2020-overdrive/src/consts.rs b/2020-overdrive/src/consts.rs new file mode 100644 index 0000000..8010eba --- /dev/null +++ b/2020-overdrive/src/consts.rs @@ -0,0 +1,14 @@ +pub const SPEED_0: u16 = 0; +pub const SPEED_1: u16 = 3; +pub const SPEED_2: u16 = 6; +pub const SPEED_3: u16 = 8; +pub const SPEED_4: u16 = 9; +pub const SPEED_BOOST: u16 = 15; + +pub const BOOST_DURATION: u8 = 5; + +pub const MIN_Y: u8 = 1; +pub const HEIGHT: u8 = 4; +pub const MAX_Y: u8 = MIN_Y + HEIGHT; + +pub const WIDTH: u16 = 1500; |