mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-18 07:27:44 +00:00
23 lines
539 B
C++
23 lines
539 B
C++
#pragma once
|
|
|
|
#include "SimpleModelInfo.h"
|
|
|
|
class CWeaponModelInfo : public CSimpleModelInfo
|
|
{
|
|
union {
|
|
int32 m_animFileIndex;
|
|
char *m_animFileName;
|
|
};
|
|
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);
|
|
|
|
void Init(void);
|
|
void SetWeaponInfo(int32 weaponId);
|
|
int32 GetWeaponInfo(void);
|
|
};
|