forked from teamnwah/openmw-tes3coop
[General] Clean up BaseEvent and BaseStructs
This commit is contained in:
parent
7662297334
commit
7700b82952
3 changed files with 0 additions and 29 deletions
|
@ -38,11 +38,6 @@ namespace mwmp
|
|||
|
||||
ESM::Position position;
|
||||
|
||||
int drawState;
|
||||
|
||||
float headPitch;
|
||||
float headYaw;
|
||||
|
||||
int doorState;
|
||||
int lockLevel;
|
||||
float scale;
|
||||
|
@ -59,15 +54,6 @@ namespace mwmp
|
|||
std::string varName;
|
||||
|
||||
ContainerChanges containerChanges;
|
||||
|
||||
Animation animation;
|
||||
bool hasAnimation;
|
||||
|
||||
AnimStates animStates;
|
||||
bool hasAnimStates;
|
||||
|
||||
Movement movement;
|
||||
bool hasMovement;
|
||||
};
|
||||
|
||||
struct ObjectChanges
|
||||
|
|
|
@ -18,13 +18,6 @@ namespace mwmp
|
|||
int jumpstate;
|
||||
bool forcestateupdate;
|
||||
};
|
||||
|
||||
struct Movement
|
||||
{
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
};
|
||||
}
|
||||
|
||||
#endif //OPENMW_BASESTRUCTS_HPP
|
||||
|
|
|
@ -45,7 +45,6 @@ void PacketActorTest::Packet(RakNet::BitStream *bs, bool send)
|
|||
|
||||
RW(actor.hasAnimation, send);
|
||||
RW(actor.hasAnimStates, send);
|
||||
RW(actor.hasMovement, send);
|
||||
|
||||
if (actor.hasAnimation)
|
||||
{
|
||||
|
@ -63,13 +62,6 @@ void PacketActorTest::Packet(RakNet::BitStream *bs, bool send)
|
|||
RW(actor.animStates.forcestateupdate, send);
|
||||
}
|
||||
|
||||
if (actor.hasMovement)
|
||||
{
|
||||
RW(actor.movement.x, send);
|
||||
RW(actor.movement.y, send);
|
||||
RW(actor.movement.y, send);
|
||||
}
|
||||
|
||||
if (!send)
|
||||
{
|
||||
actorList->baseActors.push_back(actor);
|
||||
|
|
Loading…
Reference in a new issue