2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:07:43 +00:00

Various widget constructor stubs and factories

This commit is contained in:
Jack Andersen
2016-03-11 18:58:56 -10:00
parent b952b80e22
commit d81c9698ff
27 changed files with 512 additions and 74 deletions

View File

@@ -3,6 +3,7 @@
#include "CDrawStringOptions.hpp"
#include "CToken.hpp"
#include "zeus/CColor.hpp"
namespace urde
{
@@ -12,14 +13,7 @@ class CSaveableState
{
CDrawStringOptions x0_drawStrOpts;
TToken<CRasterFont> x14_token;
struct VecElem
{
u8 a = 0;
u8 b = 0;
u8 c = 0;
u8 d = 0xff;
};
std::vector<VecElem> x20_;
std::vector<zeus::CColor> x20_;
std::vector<u8> x30_;
float x40_ = 1.f;
u32 x44_ = 0;
@@ -29,7 +23,7 @@ class CSaveableState
CSaveableState()
{
x20_.resize(3);
x20_.resize(3, zeus::CColor::skBlack);
x30_.resize(16);
}
};