WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
DB2Reader.cpp File Reference
#include "DB2Reader.h"
#include "Logger.h"
#include "Game.h"
#include <algorithm>
#include <cstring>
#include <sstream>
Include dependency graph for DB2Reader.cpp:

Go to the source code of this file.

Macros

#define WDC_READ_DEBUG   1
 

Functions

static int versionFromMagic (uint32_t magic)
 

Variables

static constexpr uint32_t MAGIC_WDC2 = 0x32434457
 
static constexpr uint32_t MAGIC_CLS1 = 0x434C5331
 
static constexpr uint32_t MAGIC_WDC3 = 0x33434457
 
static constexpr uint32_t MAGIC_WDC4 = 0x34434457
 
static constexpr uint32_t MAGIC_WDC5 = 0x35434457
 

Macro Definition Documentation

◆ WDC_READ_DEBUG

#define WDC_READ_DEBUG   1

Definition at line 9 of file DB2Reader.cpp.

Function Documentation

◆ versionFromMagic()

static int versionFromMagic ( uint32_t  magic)
static

Definition at line 19 of file DB2Reader.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ MAGIC_CLS1

constexpr uint32_t MAGIC_CLS1 = 0x434C5331
staticconstexpr

Definition at line 13 of file DB2Reader.cpp.

◆ MAGIC_WDC2

constexpr uint32_t MAGIC_WDC2 = 0x32434457
staticconstexpr

Definition at line 12 of file DB2Reader.cpp.

◆ MAGIC_WDC3

constexpr uint32_t MAGIC_WDC3 = 0x33434457
staticconstexpr

Definition at line 14 of file DB2Reader.cpp.

◆ MAGIC_WDC4

constexpr uint32_t MAGIC_WDC4 = 0x34434457
staticconstexpr

Definition at line 15 of file DB2Reader.cpp.

◆ MAGIC_WDC5

constexpr uint32_t MAGIC_WDC5 = 0x35434457
staticconstexpr

Definition at line 16 of file DB2Reader.cpp.