refactor(Tools): restyle tools with astyle (#3465)

This commit is contained in:
Kargatum
2020-10-06 16:31:28 +07:00
committed by GitHub
parent be09e03756
commit b00a86f6ab
51 changed files with 1004 additions and 936 deletions

View File

@@ -13,8 +13,10 @@
//**************************************************************************************
#define WDT_MAP_SIZE 64
class wdt_MWMO{
union{
class wdt_MWMO
{
union
{
uint32 fcc;
char fcc_txt[4];
};
@@ -23,8 +25,10 @@ public:
bool prepareLoadedData();
};
class wdt_MPHD{
union{
class wdt_MPHD
{
union
{
uint32 fcc;
char fcc_txt[4];
};
@@ -42,15 +46,18 @@ public:
bool prepareLoadedData();
};
class wdt_MAIN{
union{
class wdt_MAIN
{
union
{
uint32 fcc;
char fcc_txt[4];
};
public:
uint32 size;
struct adtData{
struct adtData
{
uint32 exist;
uint32 data1;
} adt_list[64][64];
@@ -58,7 +65,8 @@ public:
bool prepareLoadedData();
};
class WDT_file : public FileLoader{
class WDT_file : public FileLoader
{
public:
bool prepareLoadedData();
@@ -66,9 +74,9 @@ public:
~WDT_file();
void free();
wdt_MPHD *mphd;
wdt_MAIN *main;
wdt_MWMO *wmo;
wdt_MPHD* mphd;
wdt_MAIN* main;
wdt_MWMO* wmo;
};
#endif