summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/WeaponModelInfo.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-26 00:25:47 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-26 00:25:47 +0100
commit46e63da4d8e6b4c50a663e98d150bd83e0eefb83 (patch)
treee7a03e5010280216424260da796151cc8c235e15 /src/modelinfo/WeaponModelInfo.h
parentgarage stuff (diff)
parentMerge pull request #992 from ForeverL95/ForeverL95-patch-1 (diff)
downloadre3-46e63da4d8e6b4c50a663e98d150bd83e0eefb83.tar
re3-46e63da4d8e6b4c50a663e98d150bd83e0eefb83.tar.gz
re3-46e63da4d8e6b4c50a663e98d150bd83e0eefb83.tar.bz2
re3-46e63da4d8e6b4c50a663e98d150bd83e0eefb83.tar.lz
re3-46e63da4d8e6b4c50a663e98d150bd83e0eefb83.tar.xz
re3-46e63da4d8e6b4c50a663e98d150bd83e0eefb83.tar.zst
re3-46e63da4d8e6b4c50a663e98d150bd83e0eefb83.zip
Diffstat (limited to 'src/modelinfo/WeaponModelInfo.h')
-rw-r--r--src/modelinfo/WeaponModelInfo.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/modelinfo/WeaponModelInfo.h b/src/modelinfo/WeaponModelInfo.h
index 548bf8a6..8dc9baf1 100644
--- a/src/modelinfo/WeaponModelInfo.h
+++ b/src/modelinfo/WeaponModelInfo.h
@@ -9,13 +9,21 @@ class CWeaponModelInfo : public CSimpleModelInfo
int32 m_animFileIndex;
char *m_animFileName;
};
+
+ static base::cRelocatableChunkClassInfo msClassInfo;
+ static CWeaponModelInfo msClassInstance;
+
public:
CWeaponModelInfo(void) : CSimpleModelInfo(MITYPE_WEAPON) { m_animFileIndex = -1; }
virtual void SetAnimFile(const char *file);
virtual void ConvertAnimFileIndex(void);
virtual int GetAnimFileIndex(void) { return m_animFileIndex; }
- virtual void SetAtomic(int n, RpAtomic *atomic);
+
+ virtual void RcWriteThis(base::cRelocatableChunkWriter &writer);
+ virtual void RcWriteEmpty(base::cRelocatableChunkWriter &writer);
+
+ //virtual void SetAtomic(int n, RpAtomic *atomic);
void Init(void);
void SetWeaponInfo(int32 weaponId);