AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
adt_MCVT Class Reference

#include "adt.h"

Public Member Functions

bool prepareLoadedData ()
 

Public Attributes

float height_map [(ADT_CELL_SIZE+1) *(ADT_CELL_SIZE+1)+ADT_CELL_SIZE *ADT_CELL_SIZE]
 
uint32 fcc
 
char fcc_txt [4]
 

Private Attributes

union {
   uint32   fcc
 
   char   fcc_txt [4]
 
}; 
 
uint32 size
 

Detailed Description

Member Function Documentation

◆ prepareLoadedData()

bool adt_MCVT::prepareLoadedData ( )
143{
144 if (fcc != MCVTMagic.fcc)
145 return false;
146
147 if (size != sizeof(adt_MCVT) - 8)
148 return false;
149
150 return true;
151}
u_map_fcc MCVTMagic
Definition: adt.cpp:30
Definition: adt.h:46
uint32 fcc
Definition: adt.h:49
uint32 size
Definition: adt.h:52
uint32 fcc
Definition: loadlib.h:29

References fcc, u_map_fcc::fcc, MCVTMagic, and size.

Member Data Documentation

◆ 

union { ... } adt_MCVT::@368

◆ fcc

uint32 adt_MCVT::fcc

Referenced by prepareLoadedData().

◆ fcc_txt

char adt_MCVT::fcc_txt[4]

◆ height_map

float adt_MCVT::height_map[(ADT_CELL_SIZE+1) *(ADT_CELL_SIZE+1)+ADT_CELL_SIZE *ADT_CELL_SIZE]

Referenced by ConvertADT().

◆ size

uint32 adt_MCVT::size
private

Referenced by prepareLoadedData().