SPEC-7531 Change Code/CryEngine to Code/Legacy (#1634)

* git mv Code\CryEngine Code\Legacy
* redirecting CMakeLists.txt
* fixing uic warning
* Some more CryEngine mentions
* validation scripts

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-06-29 13:51:24 -07:00
committed by GitHub
parent f570925c0d
commit 9f0bbf3b74
384 changed files with 25 additions and 31 deletions
+45
View File
@@ -0,0 +1,45 @@
/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "CrySystem_precompiled.h"
#include "CmdLineArg.h"
CCmdLineArg::CCmdLineArg(const char* name, const char* value, ECmdLineArgType type)
{
m_name = name;
m_value = value;
m_type = type;
}
CCmdLineArg::~CCmdLineArg()
{
}
const char* CCmdLineArg::GetName() const
{
return m_name.c_str();
}
const char* CCmdLineArg::GetValue() const
{
return m_value.c_str();
}
const ECmdLineArgType CCmdLineArg::GetType() const
{
return m_type;
}
const float CCmdLineArg::GetFValue() const
{
return (float)atof(m_value.c_str());
}
const int CCmdLineArg::GetIValue() const
{
return atoi(m_value.c_str());
}