diff options
author | aap <aap@papnet.eu> | 2021-01-24 15:06:55 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-24 15:28:26 +0100 |
commit | 1bee2caf5caabc3e4166bacb44978b17153bb98c (patch) | |
tree | 157b03ea0e626768514acca72f6d100d3535c1b2 /src/modelinfo/ClumpModelInfo.h | |
parent | CTimeModelInfo and CWeaponModelInfo (diff) | |
download | re3-1bee2caf5caabc3e4166bacb44978b17153bb98c.tar re3-1bee2caf5caabc3e4166bacb44978b17153bb98c.tar.gz re3-1bee2caf5caabc3e4166bacb44978b17153bb98c.tar.bz2 re3-1bee2caf5caabc3e4166bacb44978b17153bb98c.tar.lz re3-1bee2caf5caabc3e4166bacb44978b17153bb98c.tar.xz re3-1bee2caf5caabc3e4166bacb44978b17153bb98c.tar.zst re3-1bee2caf5caabc3e4166bacb44978b17153bb98c.zip |
Diffstat (limited to 'src/modelinfo/ClumpModelInfo.h')
-rw-r--r-- | src/modelinfo/ClumpModelInfo.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modelinfo/ClumpModelInfo.h b/src/modelinfo/ClumpModelInfo.h index 0113d340..b8507e5f 100644 --- a/src/modelinfo/ClumpModelInfo.h +++ b/src/modelinfo/ClumpModelInfo.h @@ -35,6 +35,9 @@ public: char *m_animFileName; }; + static base::cRelocatableChunkClassInfo msClassInfo; + static CClumpModelInfo msClassInstance; + CClumpModelInfo(void) : CBaseModelInfo(MITYPE_CLUMP) { m_animFileIndex = -1; } CClumpModelInfo(ModelInfoType id) : CBaseModelInfo(id) { m_animFileIndex = -1; } ~CClumpModelInfo() {} @@ -48,6 +51,12 @@ public: virtual void ConvertAnimFileIndex(void); virtual int GetAnimFileIndex(void) { return m_animFileIndex; } + 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); + static RpAtomic *SetAtomicRendererCB(RpAtomic *atomic, void *data); void SetFrameIds(RwObjectNameIdAssocation *assocs); static RwFrame *FindFrameFromNameCB(RwFrame *frame, void *data); |