Revision 2, 428 bytes
(checked in by yumileroy, 17 years ago)
|
[svn] * Proper SVN structure
Original author: Neo2003
Date: 2008-10-02 16:23:55-05:00
|
Line | |
---|
1 | #ifndef WDTFILE_H |
---|
2 | #define WDTFILE_H |
---|
3 | |
---|
4 | #define __STORMLIB_SELF__ |
---|
5 | |
---|
6 | #include "mpq.h" |
---|
7 | #include "adtfile.h" |
---|
8 | #include "wmo.h" |
---|
9 | #include <string> |
---|
10 | #include "stdlib.h" |
---|
11 | |
---|
12 | class WDTFile |
---|
13 | { |
---|
14 | public: |
---|
15 | WDTFile(char* file_name, char* file_name1); |
---|
16 | ~WDTFile(void); |
---|
17 | bool init(char *map_id); |
---|
18 | |
---|
19 | string* gWmoInstansName; |
---|
20 | int gnWMO, nMaps; |
---|
21 | |
---|
22 | ADTFile* GetMap(int x, int z); |
---|
23 | |
---|
24 | private: |
---|
25 | MPQFile WDT; |
---|
26 | bool maps[64][64]; |
---|
27 | string filename; |
---|
28 | }; |
---|
29 | |
---|
30 | #endif |
---|