mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
29 lines
446 B
C++
29 lines
446 B
C++
#ifndef WDTFILE_H
|
|
#define WDTFILE_H
|
|
|
|
#include "mpq_libmpq04.h"
|
|
#include "wmo.h"
|
|
#include <string>
|
|
#include "stdlib.h"
|
|
|
|
class ADTFile;
|
|
|
|
class WDTFile
|
|
{
|
|
public:
|
|
WDTFile(char* file_name, char* file_name1);
|
|
~WDTFile(void);
|
|
bool init(char *map_id, unsigned int mapID);
|
|
|
|
string* gWmoInstansName;
|
|
int gnWMO, nMaps;
|
|
|
|
ADTFile* GetMap(int x, int z);
|
|
|
|
private:
|
|
MPQFile WDT;
|
|
bool maps[64][64];
|
|
string filename;
|
|
};
|
|
|
|
#endif
|