Apply style fix pt4

This commit is contained in:
Antz 2020-01-14 10:26:15 +00:00
parent d93dbd95fe
commit 4727d8846f
87 changed files with 710 additions and 0 deletions

View file

@ -124,7 +124,9 @@ int getBuildNumber()
/// jump over as much of the file as possible, before we start searching for the base #
for (int i = 0; i < 3300; i++)
{
fread(jumpBytesBuffer, sizeof(jumpBytesBuffer), 1, pFile);
}
/// Search for the build #
while (!bBuildFound && fread(byteSearchBuffer, 1, 1, pFile))

View file

@ -64,7 +64,9 @@ void fixnamen(char* name, size_t len)
}
//extension in lowercase
for (size_t i = len - 3; i < len; i++)
{
name[i] |= 0x20;
}
}
void fixname2(char* name, size_t len)

View file

@ -109,7 +109,9 @@ void ExtractGameobjectModels()
{
printf("Warning: Some models could not be extracted, see below\n");
for (StringSet::const_iterator itr = failedPaths.begin(); itr != failedPaths.end(); ++itr)
{
printf("Could not find file of model %s\n", itr->c_str());
}
printf("A few of these warnings are expected to happen, so be not alarmed!\n");
}