Rename EMotionFX class members to follow the m_ naming convention

Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
Chris Burel
2021-08-09 14:09:45 -07:00
parent 9afbd07a88
commit 1837d05169
649 changed files with 20161 additions and 21889 deletions
@@ -18,13 +18,13 @@
namespace MCore
{
// The folder path used to keep a backup in SaveToFileSecured.
StaticString FileSystem::mSecureSavePath;
StaticString FileSystem::s_secureSavePath;
// Save to file secured by a backup file.
bool FileSystem::SaveToFileSecured(const char* filename, const AZStd::function<bool()>& saveFunction, CommandManager* commandManager)
{
// If the secure save path is not set, simply call the save function.
if (mSecureSavePath.empty())
if (s_secureSavePath.empty())
{
return saveFunction();
}
@@ -45,12 +45,12 @@ namespace MCore
// Find a unique backup filename.
AZ::u32 backupFileIndex = 0;
AZStd::string backupFileIndexString;
AZStd::string backupFilename = mSecureSavePath.c_str() + baseFilename + '.' + extension;
AZStd::string backupFilename = s_secureSavePath.c_str() + baseFilename + '.' + extension;
while (fileIo->Exists(backupFilename.c_str()))
{
AZStd::to_string(backupFileIndexString, ++backupFileIndex);
backupFilename = mSecureSavePath.c_str() + baseFilename + backupFileIndexString + '.' + extension;
backupFilename = s_secureSavePath.c_str() + baseFilename + backupFileIndexString + '.' + extension;
}
// Copy the file to the backup filename.