TrinityCore
|
#include "M2Stores.h"
#include "Containers.h"
#include "DB2Stores.h"
#include "Log.h"
#include "M2Structure.h"
#include "Timer.h"
#include <boost/filesystem/path.hpp>
#include <G3D/Vector4.h>
#include <fstream>
Go to the source code of this file.
Typedefs | |
typedef std::vector< FlyByCamera > | FlyByCameraCollection |
Functions | |
G3D::Vector3 | translateLocation (G3D::Vector4 const *dbcLocation, G3D::Vector3 const *basePosition, G3D::Vector3 const *splineVector) |
bool | readCamera (M2Camera const *cam, uint32 buffSize, M2Header const *header, CinematicCameraEntry const *dbcentry) |
TC_GAME_API void | LoadM2Cameras (std::string const &dataPath) |
std::vector< FlyByCamera > const * | GetFlyByCameras (uint32 cinematicCameraId) |
Variables | |
std::unordered_map< uint32, FlyByCameraCollection > | sFlyByCameraStore |
typedef std::vector<FlyByCamera> FlyByCameraCollection |
Definition at line 28 of file M2Stores.cpp.
std::vector< FlyByCamera > const * GetFlyByCameras | ( | uint32 | cinematicCameraId | ) |
Definition at line 267 of file M2Stores.cpp.
TC_GAME_API void LoadM2Cameras | ( | std::string const & | dataPath | ) |
Definition at line 174 of file M2Stores.cpp.
bool readCamera | ( | M2Camera const * | cam, |
uint32 | buffSize, | ||
M2Header const * | header, | ||
CinematicCameraEntry const * | dbcentry | ||
) |
Definition at line 51 of file M2Stores.cpp.
G3D::Vector3 translateLocation | ( | G3D::Vector4 const * | dbcLocation, |
G3D::Vector3 const * | basePosition, | ||
G3D::Vector3 const * | splineVector | ||
) |
std::unordered_map<uint32, FlyByCameraCollection> sFlyByCameraStore |
Definition at line 29 of file M2Stores.cpp.