1
0
mirror of https://github.com/td512/re3.git synced 2026-01-29 07:20:53 +00:00

more CAutomobile

This commit is contained in:
aap
2019-07-08 21:37:47 +02:00
parent edf5ac2626
commit 2ae112fdf6
18 changed files with 475 additions and 34 deletions

View File

@@ -7,6 +7,7 @@
#include "Object.h"
WRAPPER void CObject::ObjectDamage(float amount) { EAXJMP(0x4BB240); }
WRAPPER void CObject::DeleteAllTempObjectInArea(CVector, float) { EAXJMP(0x4BBED0); }
int16 &CObject::nNoTempObjects = *(int16*)0x95CCA2;
@@ -85,7 +86,13 @@ CObject::RemoveLighting(bool reset)
WorldReplaceScorchedLightsWithNormal(Scene.world);
}
WRAPPER void CObject::DeleteAllTempObjectInArea(CVector, float) { EAXJMP(0x4BBED0); }
void
CObject::RefModelInfo(int32 modelId)
{
m_nRefModelIndex = modelId;
CModelInfo::GetModelInfo(modelId)->AddRef();
}
class CObject_ : public CObject
{