summaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2019-07-05 08:59:22 -0500
committertom barrett <spalf0@gmail.com>2019-07-05 08:59:22 -0500
commitbfdaef7850b6ac17bb88f1b314236fb5014aac8e (patch)
tree748ceca98138b5783655ec181ea905a25a690934 /src/constants.rs
parent6589e5e3df63d5abf85313c4d21097432257f453 (diff)
now a cells struct whichs layers own, which takes from tileset tiles
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs8
1 files changed, 4 insertions, 4 deletions
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;