1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 16:45:33 +00:00

[Client] Replace LocalActor arg with BaseActor in ActorList functions

This commit is contained in:
David Cernat 2018-07-12 20:15:04 +03:00
parent bdf2f03c4f
commit 0fd8f7660b
2 changed files with 27 additions and 33 deletions

View file

@ -44,54 +44,49 @@ void ActorList::addActor(BaseActor baseActor)
baseActors.push_back(baseActor); baseActors.push_back(baseActor);
} }
void ActorList::addActor(LocalActor localActor) void ActorList::addPositionActor(BaseActor baseActor)
{ {
baseActors.push_back(localActor); positionActors.push_back(baseActor);
} }
void ActorList::addPositionActor(LocalActor localActor) void ActorList::addAnimFlagsActor(BaseActor baseActor)
{ {
positionActors.push_back(localActor); animFlagsActors.push_back(baseActor);
} }
void ActorList::addAnimFlagsActor(LocalActor localActor) void ActorList::addAnimPlayActor(BaseActor baseActor)
{ {
animFlagsActors.push_back(localActor); animPlayActors.push_back(baseActor);
} }
void ActorList::addAnimPlayActor(LocalActor localActor) void ActorList::addSpeechActor(BaseActor baseActor)
{ {
animPlayActors.push_back(localActor); speechActors.push_back(baseActor);
} }
void ActorList::addSpeechActor(LocalActor localActor) void ActorList::addStatsDynamicActor(BaseActor baseActor)
{ {
speechActors.push_back(localActor); statsDynamicActors.push_back(baseActor);
} }
void ActorList::addStatsDynamicActor(LocalActor localActor) void ActorList::addDeathActor(BaseActor baseActor)
{ {
statsDynamicActors.push_back(localActor); deathActors.push_back(baseActor);
} }
void ActorList::addDeathActor(LocalActor localActor) void ActorList::addEquipmentActor(BaseActor baseActor)
{ {
deathActors.push_back(localActor); equipmentActors.push_back(baseActor);
} }
void ActorList::addEquipmentActor(LocalActor localActor) void ActorList::addAttackActor(BaseActor baseActor)
{ {
equipmentActors.push_back(localActor); attackActors.push_back(baseActor);
} }
void ActorList::addAttackActor(LocalActor localActor) void ActorList::addCellChangeActor(BaseActor baseActor)
{ {
attackActors.push_back(localActor); cellChangeActors.push_back(baseActor);
}
void ActorList::addCellChangeActor(LocalActor localActor)
{
cellChangeActors.push_back(localActor);
} }
void ActorList::sendPositionActors() void ActorList::sendPositionActors()

View file

@ -19,17 +19,16 @@ namespace mwmp
void reset(); void reset();
void addActor(BaseActor baseActor); void addActor(BaseActor baseActor);
void addActor(LocalActor localActor);
void addPositionActor(LocalActor localActor); void addPositionActor(BaseActor baseActor);
void addAnimFlagsActor(LocalActor localActor); void addAnimFlagsActor(BaseActor baseActor);
void addAnimPlayActor(LocalActor localActor); void addAnimPlayActor(BaseActor baseActor);
void addSpeechActor(LocalActor localActor); void addSpeechActor(BaseActor baseActor);
void addStatsDynamicActor(LocalActor localActor); void addStatsDynamicActor(BaseActor baseActor);
void addDeathActor(LocalActor localActor); void addDeathActor(BaseActor baseActor);
void addEquipmentActor(LocalActor localActor); void addEquipmentActor(BaseActor baseActor);
void addAttackActor(LocalActor localActor); void addAttackActor(BaseActor baseActor);
void addCellChangeActor(LocalActor localActor); void addCellChangeActor(BaseActor baseActor);
void sendPositionActors(); void sendPositionActors();
void sendAnimFlagsActors(); void sendAnimFlagsActors();