auto-search/replace
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -102,7 +102,7 @@ public:
|
||||
virtual bool LocalizeString_ch(const char* sString, AZStd::string& outLocalizedString, bool bEnglish = false) = 0;
|
||||
|
||||
// Summary:
|
||||
// Same as LocalizeString( const char* sString, string& outLocalizedString, bool bEnglish=false )
|
||||
// Same as LocalizeString( const char* sString, AZStd::string& outLocalizedString, bool bEnglish=false )
|
||||
// but at the moment this is faster.
|
||||
virtual bool LocalizeString_s(const AZStd::string& sString, AZStd::string& outLocalizedString, bool bEnglish = false) = 0;
|
||||
|
||||
|
||||
@@ -120,7 +120,7 @@ public:
|
||||
CUiAnimParamType()
|
||||
: m_type(eUiAnimParamType_Invalid) {}
|
||||
|
||||
CUiAnimParamType(const string& name)
|
||||
CUiAnimParamType(const AZStd::string& name)
|
||||
{
|
||||
*this = name;
|
||||
}
|
||||
@@ -136,17 +136,12 @@ public:
|
||||
m_type = (EUiAnimParamType)type;
|
||||
}
|
||||
|
||||
void operator =(const string& name)
|
||||
{
|
||||
m_type = eUiAnimParamType_ByString;
|
||||
m_name = name;
|
||||
}
|
||||
|
||||
void operator =(const AZStd::string& name)
|
||||
{
|
||||
m_type = eUiAnimParamType_ByString;
|
||||
m_name = name.c_str();
|
||||
}
|
||||
|
||||
// Convert to enum. This needs to be explicit,
|
||||
// otherwise operator== will be ambiguous
|
||||
EUiAnimParamType GetType() const { return m_type; }
|
||||
@@ -1301,7 +1296,7 @@ inline void SUiAnimContext::Serialize(IUiAnimationSystem* animationSystem, XmlNo
|
||||
{
|
||||
if (pSequence)
|
||||
{
|
||||
string fullname = pSequence->GetName();
|
||||
AZStd::string fullname = pSequence->GetName();
|
||||
xmlNode->setAttr("sequence", fullname.c_str());
|
||||
}
|
||||
xmlNode->setAttr("dt", dt);
|
||||
|
||||
@@ -59,10 +59,10 @@ public: // member functions
|
||||
virtual ~ISprite() {}
|
||||
|
||||
//! Get the pathname of this sprite
|
||||
virtual const string& GetPathname() const = 0;
|
||||
virtual const AZStd::string& GetPathname() const = 0;
|
||||
|
||||
//! Get the pathname of the texture of this sprite
|
||||
virtual const string& GetTexturePathname() const = 0;
|
||||
virtual const AZStd::string& GetTexturePathname() const = 0;
|
||||
|
||||
//! Get the borders of this sprite
|
||||
virtual Borders GetBorders() const = 0;
|
||||
@@ -77,7 +77,7 @@ public: // member functions
|
||||
virtual void Serialize(TSerialize ser) = 0;
|
||||
|
||||
//! Save this sprite data to disk
|
||||
virtual bool SaveToXml(const string& pathname) = 0;
|
||||
virtual bool SaveToXml(const AZStd::string& pathname) = 0;
|
||||
|
||||
//! Test if this sprite has any borders
|
||||
virtual bool AreBordersZeroWidth() const = 0;
|
||||
@@ -136,4 +136,3 @@ public: // member functions
|
||||
//! Returns true if this sprite is configured as a sprite-sheet, false otherwise
|
||||
virtual bool IsSpriteSheet() const = 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user