22 #ifndef WORLD_ACTORS_QUICKAVATARMOVERPROCESS_H 23 #define WORLD_ACTORS_QUICKAVATARMOVERPROCESS_H 25 #include "ultima/ultima8/kernel/process.h" 35 ENABLE_RUNTIME_CLASSTYPE()
42 static bool isQuarterSpeed() {
45 static bool isClipping() {
48 static void setQuarterSpeed(
bool q) {
51 static void toggleClipping() {
52 _clipping = !_clipping;
55 bool hasMovementFlags(uint32 flags)
const {
56 return (_movementFlags & flags) != 0;
58 void setMovementFlag(uint32 mask) {
59 _movementFlags |= mask;
61 virtual void clearMovementFlag(uint32 mask) {
62 _movementFlags &= ~mask;
64 void resetMovementFlags() {
79 MOVE_ANY_DIRECTION = MOVE_LEFT | MOVE_RIGHT | MOVE_UP | MOVE_DOWN | MOVE_ASCEND | MOVE_DESCEND
83 uint32 _movementFlags;
85 static bool _clipping;
Definition: quick_avatar_mover_process.h:30
Definition: detection.h:27
void terminate() override
terminate the process. This wakes up all processes waiting for it.
void saveData(Common::WriteStream *ws) override
save Process data