diff options
author | aap <aap@papnet.eu> | 2021-01-24 13:40:33 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-24 13:47:33 +0100 |
commit | 8cbae5d62afa975a51ce7ec9be3018b473d81011 (patch) | |
tree | 0f7b165687fe4305528a0410f816dfde093676ae /src/modelinfo/BaseModelInfo.h | |
parent | c1a7ded1e4660e49d150b73b909c26ecb21bca54 (diff) |
CSimpleModelInfo
Diffstat (limited to 'src/modelinfo/BaseModelInfo.h')
-rw-r--r-- | src/modelinfo/BaseModelInfo.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modelinfo/BaseModelInfo.h b/src/modelinfo/BaseModelInfo.h index 496fdeaf..218a9346 100644 --- a/src/modelinfo/BaseModelInfo.h +++ b/src/modelinfo/BaseModelInfo.h @@ -57,10 +57,13 @@ public: virtual void ConvertAnimFileIndex(void) {} virtual int GetAnimFileIndex(void) { return -1; } - virtual void LoadModel(void *,void const*) {}; // = 0; + virtual void LoadModel(void *model, const void *chunk) {}; // = 0; virtual void DeleteChunk(void); + // this writes the modelinfo struct, possibly including actual RW models virtual void Write(base::cRelocatableChunkWriter &writer); - virtual void WriteModel(base::cRelocatableChunkWriter &writer) {} // = 0; + // this writes the RW models + virtual void *WriteModel(base::cRelocatableChunkWriter &writer) { return nil; } // = 0; // this is not in the vtable for some reason??? + // these allocate the space for a modelinfo struct and patch the vtable pointer virtual void RcWriteThis(base::cRelocatableChunkWriter &writer) {} // = 0; virtual void RcWriteEmpty(base::cRelocatableChunkWriter &writer) {} // = 0; |