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

CGuiModel imps

This commit is contained in:
Jack Andersen
2016-03-16 16:18:01 -10:00
parent b4514fc6a6
commit 79d90f46d3
16 changed files with 190 additions and 39 deletions

View File

@@ -12,9 +12,16 @@ class CGuiModel : public CGuiWidget
{
TLockedToken<CModel> xf8_model;
TResId x108_modelId;
u32 x10c_lightMode;
u32 x10c_lightMask;
public:
CGuiModel(const CGuiWidgetParms& parms, TResId modelId, u32 lightMode, bool flag);
CGuiModel(const CGuiWidgetParms& parms, TResId modelId, u32 lightMask, bool flag);
FourCC GetWidgetTypeID() const {return FOURCC('MODL');}
std::vector<TResId> GetModelAssets() const;
bool GetIsFinishedLoadingWidgetSpecific() const;
void Touch() const;
void Draw(const CGuiWidgetDrawParms& parms) const;
static CGuiModel* Create(CGuiFrame* frame, CInputStream& in, bool);
};