diff options
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; |