mirror of https://github.com/PrimeDecomp/prime.git
Fix building for host compiler
This commit is contained in:
parent
f02833c84e
commit
3417e5c576
|
@ -7,8 +7,8 @@ class CGuiCompoundWidget : public CGuiWidget {
|
|||
public:
|
||||
FourCC GetWidgetTypeID() const override { return -1; }
|
||||
|
||||
void OnVisibleChange() override;
|
||||
void OnActiveChange() override;
|
||||
void OnVisible() override;
|
||||
void OnActivate() override;
|
||||
virtual CGuiWidget* GetWorkerWidget(int id) const;
|
||||
private:
|
||||
};
|
||||
|
|
|
@ -11,7 +11,7 @@ public:
|
|||
CGuiWidget* GetSelectedWidget();
|
||||
const CGuiWidget* GetSelectedWidget() const;
|
||||
bool AddWorkerWidget(CGuiWidget* worker) override;
|
||||
void OnActiveChange() override;
|
||||
void OnActivate() override;
|
||||
|
||||
private:
|
||||
uint xb8_workerCount;
|
||||
|
|
|
@ -14,10 +14,10 @@ public:
|
|||
bool flag);
|
||||
|
||||
const TLockedToken< CModel >& GetModel() const { return xb8_model; }
|
||||
bool GetIsFinishedLoadingWidgetSpecific() override;
|
||||
void Touch() override;
|
||||
void Draw(const CGuiWidgetDrawParms& parms) override;
|
||||
bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
||||
bool GetIsFinishedLoadingWidgetSpecific() const override;
|
||||
void Touch() const override;
|
||||
void Draw(const CGuiWidgetDrawParms& parms) const override;
|
||||
// bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
||||
|
||||
private:
|
||||
TLockedToken< CModel > xb8_model;
|
||||
|
|
|
@ -7,7 +7,7 @@ class CGuiPane : public CGuiWidget {
|
|||
public:
|
||||
CGuiPane(const CGuiWidgetParms& parms, const CVector2f& dim, const CVector3f& scaleCenter);
|
||||
|
||||
void Draw(const CGuiWidgetDrawParms& parms) override;
|
||||
void Draw(const CGuiWidgetDrawParms& parms) const override;
|
||||
virtual void ScaleDimensions(const CVector3f& scale);
|
||||
virtual void SetDimensions(const CVector2f& dim, bool initVBO);
|
||||
virtual CVector2f GetDimensions() const;
|
||||
|
|
|
@ -20,11 +20,11 @@ public:
|
|||
CGuiTextSupport& TextSupport() { return xd4_textSupport; }
|
||||
const CGuiTextSupport& GetTextSupport() const { return xd4_textSupport; }
|
||||
void Update(float dt) override;
|
||||
bool GetIsFinishedLoadingWidgetSpecific() override;
|
||||
bool GetIsFinishedLoadingWidgetSpecific() const override;
|
||||
void SetDimensions(const CVector2f& dim, bool initVBO) override;
|
||||
void ScaleDimensions(const CVector3f& scale) override;
|
||||
void Draw(const CGuiWidgetDrawParms& parms) override;
|
||||
bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
||||
void Draw(const CGuiWidgetDrawParms& parms) const override;
|
||||
// bool TestCursorHit(const CMatrix4f& vp, const CVector2f& point) const override;
|
||||
|
||||
private:
|
||||
CGuiTextSupport xd4_textSupport;
|
||||
|
|
|
@ -22,7 +22,7 @@ bool CAudioSys::mProLogic2 = true;
|
|||
|
||||
const rstl::string CAudioSys::mpDefaultInvalidString(rstl::string_l("NULL"));
|
||||
|
||||
void* DoMalloc(size_t len) { return new char[len]; }
|
||||
void* DoMalloc(u32 len) { return new char[len]; }
|
||||
|
||||
void DoFree(void* ptr) {
|
||||
if (!ptr) {
|
||||
|
|
Loading…
Reference in New Issue