From bfdaef7850b6ac17bb88f1b314236fb5014aac8e Mon Sep 17 00:00:00 2001 From: tom barrett Date: Fri, 5 Jul 2019 08:59:22 -0500 Subject: now a cells struct whichs layers own, which takes from tileset tiles --- src/constants.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/constants.rs') diff --git a/src/constants.rs b/src/constants.rs index 8767bb0..a1dd0eb 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -7,7 +7,7 @@ pub const ENTITY_SPEED: f32 = 2.5; pub const WANDER_DISTANCE: f32 = 150.0; pub const GOAL_DISTANCE: f32 = 6.0; -pub const FLIP_HORIZONTAL_FLAG: usize = 0x8000_0000; -pub const FLIP_VERTICAL_FLAG: usize = 0x4000_0000; -pub const FLIP_DIAGONAL_FLAG: usize = 0x2000_0000; -pub const ALL_FLIP_FLAGS: usize = FLIP_DIAGONAL_FLAG | FLIP_HORIZONTAL_FLAG | FLIP_VERTICAL_FLAG; +pub const FLIP_H: usize = 0x8000_0000; +pub const FLIP_V: usize = 0x4000_0000; +pub const FLIP_D: usize = 0x2000_0000; +pub const FLIP_A: usize = FLIP_D | FLIP_H | FLIP_V; -- cgit v1.2.3