More CCubeMaterial

Former-commit-id: 78022784ef
This commit is contained in:
2022-09-05 00:00:04 -04:00
parent 928d673a86
commit 5726400667
15 changed files with 318 additions and 27 deletions

View File

@@ -5,6 +5,8 @@
#include "Kyoto/Basics/CCast.hpp"
#include <dolphin/gx/GXStruct.h>
#ifdef __MWERKS__
#pragma cpp_extensions on
#endif
@@ -39,6 +41,7 @@ public:
u8 GetBlueu8() const { return mB; }
u8 GetAlphau8() const { return mA; }
u16 ToRGB5A3() const;
GXColor ToGX(u32);
static const CColor& Black();
static const CColor& White();
@@ -72,4 +75,8 @@ private:
static const CColor sOrangeColor;
};
#ifdef __MWERKS__
#pragma cpp_extensions off
#endif
#endif // __CCOLOR_HPP__