mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
Apply style fix pt4
This commit is contained in:
parent
d93dbd95fe
commit
4727d8846f
87 changed files with 710 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue