summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/PedModelInfo.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-24 17:14:16 +0100
committeraap <aap@papnet.eu>2021-01-24 17:14:16 +0100
commita202e6734991060d921e22aff0358862530e47a4 (patch)
tree2fe352f839dcdc64c6d00d79d9ece2fa8185ef60 /src/modelinfo/PedModelInfo.h
parentCClumpModelInfo (diff)
downloadre3-a202e6734991060d921e22aff0358862530e47a4.tar
re3-a202e6734991060d921e22aff0358862530e47a4.tar.gz
re3-a202e6734991060d921e22aff0358862530e47a4.tar.bz2
re3-a202e6734991060d921e22aff0358862530e47a4.tar.lz
re3-a202e6734991060d921e22aff0358862530e47a4.tar.xz
re3-a202e6734991060d921e22aff0358862530e47a4.tar.zst
re3-a202e6734991060d921e22aff0358862530e47a4.zip
Diffstat (limited to 'src/modelinfo/PedModelInfo.h')
-rw-r--r--src/modelinfo/PedModelInfo.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/modelinfo/PedModelInfo.h b/src/modelinfo/PedModelInfo.h
index 79bd7eaa..7baa2bd8 100644
--- a/src/modelinfo/PedModelInfo.h
+++ b/src/modelinfo/PedModelInfo.h
@@ -38,6 +38,8 @@ public:
CColModel *m_hitColModel;
int8 radio1, radio2;
+ static base::cRelocatableChunkClassInfo msClassInfo;
+ static CPedModelInfo msClassInstance;
static RwObjectNameIdAssocation m_pPedIds[PED_NODE_MAX];
CPedModelInfo(void) : CClumpModelInfo(MITYPE_PED) { m_hitColModel = nil; }
@@ -45,7 +47,13 @@ public:
void DeleteRwObject(void);
void SetClump(RpClump *);
- void CreateHitColModelSkinned(RpClump *clump);
+ virtual void LoadModel(void *model, const void *chunk);
+ virtual void Write(base::cRelocatableChunkWriter &writer);
+ virtual void *WriteModel(base::cRelocatableChunkWriter &writer);
+ virtual void RcWriteThis(base::cRelocatableChunkWriter &writer);
+ virtual void RcWriteEmpty(base::cRelocatableChunkWriter &writer);
+
+ bool CreateHitColModelSkinned(RpClump *clump);
CColModel *GetHitColModel(void) { return m_hitColModel; }
CColModel *AnimatePedColModelSkinned(RpClump *clump);
CColModel *AnimatePedColModelSkinnedWorld(RpClump *clump);