Resolved some more comments

This commit is contained in:
wincent
2023-11-20 20:26:52 +01:00
parent 17a62d95e0
commit 3a60fffe1d
12 changed files with 28 additions and 31 deletions

View File

@@ -83,4 +83,4 @@ private:
};
}
}

View File

@@ -102,4 +102,4 @@ private:
std::unordered_map<size_t, Piece> m_Pieces;
};
}
}

View File

@@ -7,15 +7,19 @@
#include "ChatPackets.h"
#include "EntityManager.h"
#include "EntityInfo.h"
#include "ServerPreconditions.hpp"
#include "ServerPreconditions.h"
#include "MovementAIComponent.h"
#include "BaseCombatAIComponent.h"
using namespace Cinema::Recording;
std::unordered_map<LWOOBJID, Recorder*> m_Recorders = {};
namespace {
std::unordered_map<int32_t, std::string> m_EffectAnimations = {};
std::unordered_map<LWOOBJID, Recorder*> m_Recorders = {};
std::unordered_map<int32_t, std::string> m_EffectAnimations = {};
}
Recorder::Recorder() {
this->m_StartTime = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch());
@@ -23,8 +27,7 @@ Recorder::Recorder() {
this->m_LastRecordTime = this->m_StartTime;
}
Recorder::~Recorder() {
}
Recorder::~Recorder() = default;
void Recorder::AddRecord(Record* record)
{
@@ -522,8 +525,6 @@ void Cinema::Recording::Recorder::RegisterEffectForActor(LWOOBJID actorID, const
m_EffectAnimations.emplace(effectId, animationName);
result.finalize();
recorder->AddRecord(new AnimationRecord(animationName));
}
}

View File

@@ -398,4 +398,4 @@ public:
};
}
}

View File

@@ -4,7 +4,7 @@
#include <tinyxml2.h>
#include "ServerPreconditions.hpp"
#include "ServerPreconditions.h"
#include "EntityManager.h"
#include "EntityInfo.h"
#include "MissionComponent.h"

View File

@@ -117,4 +117,4 @@ private:
static std::unordered_map<std::string, Scene> m_Scenes;
};
} // namespace Cinema
} // namespace Cinema