#include <TileAssembler.h>
bool VMAP::WorldModel_Raw::Read |
( |
const char * |
path | ) |
|
rf will be freed inside Read if the function had any errors.
519 FILE* rf = fopen(path,
"rb");
522 printf(
"ERROR: Can't open raw model file: %s\n", path);
528 int readOperation = 0;
543 for (
uint32 g = 0; g < groups && succeed; ++g)
uint32 RootWMOID
Definition: TileAssembler.h:87
std::vector< GroupModel_Raw > groupsArray
Definition: TileAssembler.h:88
#define CMP_OR_RETURN(V, S)
Definition: TileAssembler.cpp:424
bool Read(const char *path)
Definition: TileAssembler.cpp:517
#define READ_OR_RETURN(V, S)
Definition: TileAssembler.cpp:420
uint32_t uint32
Definition: Define.h:150
void printf(BasicWriter< Char > &w, BasicCStringRef< Char > format, ArgList args)
Definition: format.h:3083
const char RAW_VMAP_MAGIC[]
Definition: VMapDefinitions.h:29
uint32 VMAP::WorldModel_Raw::RootWMOID |
The documentation for this struct was generated from the following files: