summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/BaseModelInfo.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-24 15:06:55 +0100
committeraap <aap@papnet.eu>2021-01-24 15:28:26 +0100
commit1bee2caf5caabc3e4166bacb44978b17153bb98c (patch)
tree157b03ea0e626768514acca72f6d100d3535c1b2 /src/modelinfo/BaseModelInfo.h
parentCTimeModelInfo and CWeaponModelInfo (diff)
downloadre3-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/BaseModelInfo.h')
-rw-r--r--src/modelinfo/BaseModelInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modelinfo/BaseModelInfo.h b/src/modelinfo/BaseModelInfo.h
index 218a9346..c9ea13bb 100644
--- a/src/modelinfo/BaseModelInfo.h
+++ b/src/modelinfo/BaseModelInfo.h
@@ -57,15 +57,15 @@ public:
virtual void ConvertAnimFileIndex(void) {}
virtual int GetAnimFileIndex(void) { return -1; }
- virtual void LoadModel(void *model, const void *chunk) {}; // = 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);
// 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;
+ virtual void RcWriteThis(base::cRelocatableChunkWriter &writer) = 0;
+ virtual void RcWriteEmpty(base::cRelocatableChunkWriter &writer) = 0;
// one day it becomes virtual
uint8 GetModelType() const { return m_type; }