1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-08 09:37:53 +00:00
OpenMW/apps/openmw/mwworld/movementdirection.hpp
elsid b4868c6094
Filter evade directions by supported animations
To avoid trying those which will not lead to any actor movement due to absent
animation.
2023-07-22 17:30:40 +02:00

18 lines
445 B
C++

#ifndef OPENMW_APPS_OPENMW_MWWORLD_MOVEMENTDIRECTION_H
#define OPENMW_APPS_OPENMW_MWWORLD_MOVEMENTDIRECTION_H
namespace MWWorld
{
using MovementDirectionFlags = unsigned char;
enum MovementDirectionFlag : MovementDirectionFlags
{
MovementDirectionFlag_Forward = 1 << 0,
MovementDirectionFlag_Back = 1 << 1,
MovementDirectionFlag_Left = 1 << 2,
MovementDirectionFlag_Right = 1 << 3,
};
}
#endif