mojo_client/src/shared/ADTFile.h
False.Genesis d50ea1c7a2 * implemented basic ADT file loading. first step to usable map data! :D
* MapTile class still excluded from build.
2007-05-18 22:31:34 +00:00

31 lines
640 B
C++

#ifndef ADTFILE_H
#define ADTFILE_H
#define CHUNKS_PER_TILE 256
#include "ADTFileStructs.h"
class ADTFile
{
public:
bool Load(std::string);
bool LoadMem(ByteBuffer&);
bool Loaded(void) { return m_loaded; }
MapChunk _chunks[CHUNKS_PER_TILE]; // 16x16
std::vector<std::string> _textures;
std::vector<std::string> _wmos;
std::vector<std::string> _models;
std::vector<MDDF_chunk> _doodadsp;
std::vector<MODF_chunk> _wmosp;
std::vector<MCSE_chunk> _soundemm;
MHDR_chunk mhdr;
MCIN_chunk mcin[CHUNKS_PER_TILE];
uint32 _version;
bool m_loaded;
};
#endif