2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:07:42 +00:00

Much CModel work

This commit is contained in:
Jack Andersen
2016-03-30 16:44:43 -10:00
parent 0f22256d35
commit b373493cf3
17 changed files with 313 additions and 127 deletions

View File

@@ -28,7 +28,7 @@ bool CGuiModel::GetIsFinishedLoadingWidgetSpecific() const
{
if (!xf8_model)
return true;
CModel* model = xf8_model.GetObj();
const CModel* model = xf8_model.GetObj();
if (!model)
return false;
model->Touch(0);
@@ -37,7 +37,7 @@ bool CGuiModel::GetIsFinishedLoadingWidgetSpecific() const
void CGuiModel::Touch() const
{
CModel* model = xf8_model.GetObj();
const CModel* model = xf8_model.GetObj();
if (model)
model->Touch(0);
}
@@ -49,7 +49,7 @@ void CGuiModel::Draw(const CGuiWidgetDrawParms& parms) const
return;
if (!GetIsFinishedLoading())
return;
CModel* model = xf8_model.GetObj();
const CModel* model = xf8_model.GetObj();
if (!model)
return;