1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor

This commit is contained in:
Sfan5 2013-07-06 10:32:58 +02:00
parent 18d7bc7fa1
commit 307c57dcc4
5 changed files with 28 additions and 87 deletions

View file

@ -321,7 +321,7 @@ private:
void parseTabHeader(parserData* data,std::string element);
void parseBox(parserData* data,std::string element);
irr::video::SColor getColor(std::string color,bool& valid_color);
bool parseColor(std::string color, irr::video::SColor& outcolor);
};
class FormspecFormSource: public IFormSource