Core: Updated GameTables to 7.2.0

Tools/Extractors: Updated to 7.2.0
Tools/ConnectionPatcher: Updated patterns to 7.2.0

Supported version is now 7.2.0.23911
This commit is contained in:
Shauren
2017-04-17 00:03:44 +02:00
parent 7e8583ee81
commit 0b9548a1cc
20 changed files with 231 additions and 116 deletions
+3 -4
View File
@@ -133,17 +133,16 @@ public:
}
// Dump camera locations
std::unordered_map<uint32, FlyByCameraCollection>::const_iterator itr = sFlyByCameraStore.find(cineSeq->Camera[0]);
if (itr != sFlyByCameraStore.end())
if (std::vector<FlyByCamera> const* flyByCameras = GetFlyByCameras(cineSeq->Camera[0]))
{
handler->PSendSysMessage("Waypoints for sequence %u, camera %u", id, cineSeq->Camera[0]);
uint32 count = 1;
for (FlyByCamera cam : itr->second)
for (FlyByCamera const& cam : *flyByCameras)
{
handler->PSendSysMessage("%02u - %7ums [%f, %f, %f] Facing %f (%f degrees)", count, cam.timeStamp, cam.locations.x, cam.locations.y, cam.locations.z, cam.locations.w, cam.locations.w * (180 / M_PI));
count++;
}
handler->PSendSysMessage("%u waypoints dumped", itr->second.size());
handler->PSendSysMessage(SZFMTD " waypoints dumped", flyByCameras->size());
}
handler->GetSession()->GetPlayer()->SendCinematicStart(id);