TrinityCore
Loading...
Searching...
No Matches
wdt.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef WDT_H
19#define WDT_H
20#include "loadlib.h"
21
22//**************************************************************************************
23// WDT file class and structures
24//**************************************************************************************
25#define WDT_MAP_SIZE 64
26
27#pragma pack(push, 1)
28
47
49 union{
51 char fcc_txt[4];
52 };
53public:
55
60
61 bool prepareLoadedData();
62};
63
64class WDT_file : public FileLoader{
65public:
66 bool prepareLoadedData();
67
68 WDT_file();
69 ~WDT_file();
70 void free();
71
74};
75
76#pragma pack(pop)
77
78#endif
uint32_t uint32
Definition Define.h:133
Definition wdt.h:64
bool prepareLoadedData()
Definition wdt.cpp:57
wdt_MPHD * mphd
Definition wdt.h:72
~WDT_file()
Definition wdt.cpp:45
void free()
Definition wdt.cpp:50
wdt_MAIN * main
Definition wdt.h:73
WDT_file()
Definition wdt.cpp:39
Definition wdt.h:48
char fcc_txt[4]
Definition wdt.h:51
bool prepareLoadedData()
Definition wdt.cpp:32
uint32 size
Definition wdt.h:54
struct wdt_MAIN::adtData adt_list[64][64]
uint32 fcc
Definition wdt.h:50
Definition wdt.h:29
uint32 size
Definition wdt.h:35
uint32 data3
Definition wdt.h:39
uint32 data4
Definition wdt.h:40
uint32 data2
Definition wdt.h:38
uint32 data7
Definition wdt.h:43
uint32 data5
Definition wdt.h:41
uint32 data1
Definition wdt.h:37
uint32 fcc
Definition wdt.h:31
char fcc_txt[4]
Definition wdt.h:32
bool prepareLoadedData()
Definition wdt.cpp:25
uint32 data6
Definition wdt.h:42
uint32 data8
Definition wdt.h:44
uint32 data1
Definition wdt.h:58
uint32 exist
Definition wdt.h:57