mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Fixed: #890 Ryzom Client Build Fix - _Bool is a keyword in C99 (patch provided by rti)
This commit is contained in:
parent
52fc5c2387
commit
7688180fae
2 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@ void CInterfaceOptionValue::init(const std::string &str)
|
|||
fromString(str, _Int);
|
||||
fromString(str, _Float);
|
||||
_Color= CInterfaceElement::convertColor (str.c_str());
|
||||
_Bool= CInterfaceElement::convertBool(str.c_str());
|
||||
_Boolean= CInterfaceElement::convertBool(str.c_str());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -37,14 +37,14 @@ public:
|
|||
_Color= NLMISC::CRGBA::White;
|
||||
_Int= 0;
|
||||
_Float= 0;
|
||||
_Bool= false;
|
||||
_Boolean= false;
|
||||
}
|
||||
|
||||
const std::string &getValStr () const {return _Str;}
|
||||
sint32 getValSInt32() const {return _Int;}
|
||||
float getValFloat () const {return _Float;}
|
||||
NLMISC::CRGBA getValColor () const {return _Color;}
|
||||
bool getValBool () const {return _Bool;}
|
||||
bool getValBool () const {return _Boolean;}
|
||||
|
||||
void init(const std::string &str);
|
||||
|
||||
|
@ -57,7 +57,7 @@ private:
|
|||
NLMISC::CRGBA _Color;
|
||||
sint32 _Int;
|
||||
float _Float;
|
||||
bool _Bool;
|
||||
bool _Boolean;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue