}
int getCrouch();
- bool wasStop();
- bool isStop();
+ bool wasStop()
+ {
+ return animation_bits[currentanimation] & ab_stop;
+ }
+ bool isStop()
+ {
+ return animation_bits[targetanimation] & ab_stop;
+ }
int getStop();
bool wasSneak();
return animation_bits[targetanimation] & ab_run;
}
int getRun();
-
- bool wasLanding();
- bool isLanding();
+
+ bool wasLanding()
+ {
+ return animation_bits[currentanimation] & ab_land;
+ }
+ bool isLanding()
+ {
+ return animation_bits[targetanimation] & ab_land;
+ }
int getLanding();
-
- bool wasLandhard();
- bool isLandhard();
+
+ bool wasLandhard()
+ {
+ return animation_bits[currentanimation] & ab_landhard;
+ }
+ bool isLandhard()
+ {
+ return animation_bits[targetanimation] & ab_landhard;
+ }
int getLandhard();
-
- bool isFlip();
- bool wasFlip();
-
+
+ bool wasFlip()
+ {
+ return animation_bits[currentanimation] & ab_flip;
+ }
+ bool isFlip()
+ {
+ return animation_bits[targetanimation] & ab_flip;;
+ }
+
bool jumpclimb;
bool isWallJump();