[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
This commit is contained in:
1 parent
9006e4e8dc
commit
af05915b9e
431 files changed
+3131
-3131
No files matched your search
@@ -202,7 +202,7 @@ namespace VMAP
|
||||
iTilesX * iTilesY;
|
||||
}
|
||||
|
||||
bool WmoLiquid::writeToFile(FILE *wf)
|
||||
bool WmoLiquid::writeToFile(FILE* wf)
|
||||
{
|
||||
bool result = true;
|
||||
if (result && fwrite(&iTilesX, sizeof(uint32), 1, wf) != 1) result = false;
|
||||
@@ -216,10 +216,10 @@ namespace VMAP
|
||||
return result;
|
||||
}
|
||||
|
||||
bool WmoLiquid::readFromFile(FILE *rf, WmoLiquid *&out)
|
||||
bool WmoLiquid::readFromFile(FILE* rf, WmoLiquid* &out)
|
||||
{
|
||||
bool result = true;
|
||||
WmoLiquid *liquid = new WmoLiquid();
|
||||
WmoLiquid* liquid = new WmoLiquid();
|
||||
if (result && fread(&liquid->iTilesX, sizeof(uint32), 1, rf) != 1) result = false;
|
||||
if (result && fread(&liquid->iTilesY, sizeof(uint32), 1, rf) != 1) result = false;
|
||||
if (result && fread(&liquid->iCorner, sizeof(Vector3), 1, rf) != 1) result = false;
|
||||
@@ -254,7 +254,7 @@ namespace VMAP
|
||||
meshTree.build(triangles, bFunc);
|
||||
}
|
||||
|
||||
bool GroupModel::writeToFile(FILE *wf)
|
||||
bool GroupModel::writeToFile(FILE* wf)
|
||||
{
|
||||
bool result = true;
|
||||
uint32 chunkSize, count;
|
||||
@@ -300,7 +300,7 @@ namespace VMAP
|
||||
return result;
|
||||
}
|
||||
|
||||
bool GroupModel::readFromFile(FILE *rf)
|
||||
bool GroupModel::readFromFile(FILE* rf)
|
||||
{
|
||||
char chunk[8];
|
||||
bool result = true;
|
||||
@@ -501,7 +501,7 @@ namespace VMAP
|
||||
|
||||
bool WorldModel::writeFile(const std::string &filename)
|
||||
{
|
||||
FILE *wf = fopen(filename.c_str(), "wb");
|
||||
FILE* wf = fopen(filename.c_str(), "wb");
|
||||
if (!wf)
|
||||
return false;
|
||||
|
||||
@@ -535,7 +535,7 @@ namespace VMAP
|
||||
|
||||
bool WorldModel::readFile(const std::string &filename)
|
||||
{
|
||||
FILE *rf = fopen(filename.c_str(), "rb");
|
||||
FILE* rf = fopen(filename.c_str(), "rb");
|
||||
if (!rf)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user