forked from teamnwah/openmw-tes3coop
[Client] Rename readDrawStates() into readAnimFlags()
This commit is contained in:
parent
bf17464074
commit
5c1d7f614a
5 changed files with 10 additions and 10 deletions
|
@ -88,7 +88,7 @@ void Cell::readPositions(ActorList& actorList)
|
|||
}
|
||||
}
|
||||
|
||||
void Cell::readDrawStates(ActorList& actorList)
|
||||
void Cell::readAnimFlags(ActorList& actorList)
|
||||
{
|
||||
initializeDedicatedActors(actorList);
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ namespace mwmp
|
|||
void updateDedicated(float dt);
|
||||
|
||||
void readPositions(ActorList& actorList);
|
||||
void readDrawStates(ActorList& actorList);
|
||||
void readAnimFlags(ActorList& actorList);
|
||||
|
||||
void initializeLocalActors();
|
||||
void initializeDedicatedActors(ActorList& actorList);
|
||||
|
|
|
@ -102,7 +102,7 @@ void CellController::readPositions(ActorList& actorList)
|
|||
}
|
||||
}
|
||||
|
||||
void CellController::readDrawStates(ActorList& actorList)
|
||||
void CellController::readAnimFlags(ActorList& actorList)
|
||||
{
|
||||
std::string mapIndex = actorList.cell.getDescription();
|
||||
|
||||
|
@ -111,7 +111,7 @@ void CellController::readDrawStates(ActorList& actorList)
|
|||
// If this now exists, send it the data
|
||||
if (cellsActive.count(mapIndex) > 0)
|
||||
{
|
||||
cellsActive[mapIndex]->readDrawStates(actorList);
|
||||
cellsActive[mapIndex]->readAnimFlags(actorList);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace mwmp
|
|||
void initializeLocalActors(const ESM::Cell& cell);
|
||||
|
||||
void readPositions(mwmp::ActorList& actorList);
|
||||
void readDrawStates(mwmp::ActorList& actorList);
|
||||
void readAnimFlags(mwmp::ActorList& actorList);
|
||||
|
||||
void setLocalActorRecord(std::string actorIndex, std::string cellIndex);
|
||||
void removeLocalActorRecord(std::string actorIndex);
|
||||
|
|
|
@ -873,14 +873,10 @@ void Networking::processActorPacket(RakNet::Packet *packet)
|
|||
}
|
||||
case ID_ACTOR_ANIM_FLAGS:
|
||||
{
|
||||
//Main::get().getCellController()->readDrawStates(actorList);
|
||||
//Main::get().getCellController()->readAnimFlags(actorList);
|
||||
|
||||
break;
|
||||
}
|
||||
case ID_ACTOR_TEST:
|
||||
{
|
||||
break;
|
||||
}
|
||||
case ID_ACTOR_ANIM_PLAY:
|
||||
{
|
||||
break;
|
||||
|
@ -905,6 +901,10 @@ void Networking::processActorPacket(RakNet::Packet *packet)
|
|||
{
|
||||
break;
|
||||
}
|
||||
case ID_ACTOR_TEST:
|
||||
{
|
||||
break;
|
||||
}
|
||||
default:
|
||||
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Unhandled ActorPacket with identifier %i has arrived", packet->data[0]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue