Fix GameScriptColor's D3DCOLOR operator and __tostring, and add a converting constructor.

This commit is contained in:
hispidence 2021-08-29 17:05:06 +01:00
parent d946f4c118
commit e834d38522
2 changed files with 16 additions and 3 deletions

View file

@ -19,6 +19,7 @@ public:
GameScriptColor(byte r, byte g, byte b, byte a);
GameScriptColor(Vector3 const &);
GameScriptColor(Vector4 const &);
GameScriptColor(D3DCOLOR);
operator Vector3() const;
operator Vector4() const;