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