mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 10:27:42 +00:00
New code style refactor
This commit is contained in:
@@ -4,26 +4,24 @@
|
||||
#include "CToken.hpp"
|
||||
#include "Graphics/CModel.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
class CSimplePool;
|
||||
|
||||
class CGuiModel : public CGuiWidget
|
||||
{
|
||||
TLockedToken<CModel> xb8_model;
|
||||
CAssetId xc8_modelId;
|
||||
u32 xcc_lightMask;
|
||||
class CGuiModel : public CGuiWidget {
|
||||
TLockedToken<CModel> xb8_model;
|
||||
CAssetId xc8_modelId;
|
||||
u32 xcc_lightMask;
|
||||
|
||||
public:
|
||||
CGuiModel(const CGuiWidgetParms& parms, CSimplePool* sp, CAssetId modelId, u32 lightMask, bool flag);
|
||||
FourCC GetWidgetTypeID() const { return FOURCC('MODL'); }
|
||||
CGuiModel(const CGuiWidgetParms& parms, CSimplePool* sp, CAssetId modelId, u32 lightMask, bool flag);
|
||||
FourCC GetWidgetTypeID() const { return FOURCC('MODL'); }
|
||||
|
||||
std::vector<CAssetId> GetModelAssets() const;
|
||||
bool GetIsFinishedLoadingWidgetSpecific() const;
|
||||
void Touch() const;
|
||||
void Draw(const CGuiWidgetDrawParms& parms) const;
|
||||
std::vector<CAssetId> GetModelAssets() const;
|
||||
bool GetIsFinishedLoadingWidgetSpecific() const;
|
||||
void Touch() const;
|
||||
void Draw(const CGuiWidgetDrawParms& parms) const;
|
||||
|
||||
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
|
||||
static std::shared_ptr<CGuiWidget> Create(CGuiFrame* frame, CInputStream& in, CSimplePool* sp);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user