2017-04-05 09:52:27 +00:00
|
|
|
#ifndef OPENMW_BASEACTOR_HPP
|
|
|
|
#define OPENMW_BASEACTOR_HPP
|
|
|
|
|
|
|
|
#include <components/esm/loadcell.hpp>
|
2017-04-08 05:59:21 +00:00
|
|
|
#include <components/openmw-mp/Base/BaseStructs.hpp>
|
2017-04-05 09:52:27 +00:00
|
|
|
|
|
|
|
namespace mwmp
|
|
|
|
{
|
|
|
|
class BaseActor
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
BaseActor()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
char drawState;
|
|
|
|
bool isFlying;
|
|
|
|
|
|
|
|
ESM::Position position;
|
|
|
|
ESM::Cell cell;
|
2017-04-06 12:11:51 +00:00
|
|
|
|
|
|
|
float headPitch;
|
|
|
|
float headYaw;
|
2017-04-08 05:59:21 +00:00
|
|
|
|
|
|
|
Animation animation;
|
|
|
|
bool hasAnimation;
|
|
|
|
|
|
|
|
AnimStates animStates;
|
|
|
|
bool hasAnimStates;
|
|
|
|
|
|
|
|
Movement movement;
|
|
|
|
bool hasMovement;
|
2017-04-05 09:52:27 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //OPENMW_BASEACTOR_HPP
|