mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 06:23:52 +00:00
[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);
|
initializeDedicatedActors(actorList);
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ namespace mwmp
|
||||||
void updateDedicated(float dt);
|
void updateDedicated(float dt);
|
||||||
|
|
||||||
void readPositions(ActorList& actorList);
|
void readPositions(ActorList& actorList);
|
||||||
void readDrawStates(ActorList& actorList);
|
void readAnimFlags(ActorList& actorList);
|
||||||
|
|
||||||
void initializeLocalActors();
|
void initializeLocalActors();
|
||||||
void initializeDedicatedActors(ActorList& actorList);
|
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();
|
std::string mapIndex = actorList.cell.getDescription();
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ void CellController::readDrawStates(ActorList& actorList)
|
||||||
// If this now exists, send it the data
|
// If this now exists, send it the data
|
||||||
if (cellsActive.count(mapIndex) > 0)
|
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 initializeLocalActors(const ESM::Cell& cell);
|
||||||
|
|
||||||
void readPositions(mwmp::ActorList& actorList);
|
void readPositions(mwmp::ActorList& actorList);
|
||||||
void readDrawStates(mwmp::ActorList& actorList);
|
void readAnimFlags(mwmp::ActorList& actorList);
|
||||||
|
|
||||||
void setLocalActorRecord(std::string actorIndex, std::string cellIndex);
|
void setLocalActorRecord(std::string actorIndex, std::string cellIndex);
|
||||||
void removeLocalActorRecord(std::string actorIndex);
|
void removeLocalActorRecord(std::string actorIndex);
|
||||||
|
|
|
@ -873,14 +873,10 @@ void Networking::processActorPacket(RakNet::Packet *packet)
|
||||||
}
|
}
|
||||||
case ID_ACTOR_ANIM_FLAGS:
|
case ID_ACTOR_ANIM_FLAGS:
|
||||||
{
|
{
|
||||||
//Main::get().getCellController()->readDrawStates(actorList);
|
//Main::get().getCellController()->readAnimFlags(actorList);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ID_ACTOR_TEST:
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case ID_ACTOR_ANIM_PLAY:
|
case ID_ACTOR_ANIM_PLAY:
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
|
@ -905,6 +901,10 @@ void Networking::processActorPacket(RakNet::Packet *packet)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case ID_ACTOR_TEST:
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Unhandled ActorPacket with identifier %i has arrived", packet->data[0]);
|
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Unhandled ActorPacket with identifier %i has arrived", packet->data[0]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue