2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _WEAPONCOMMON
|
|
|
|
#define _WEAPONCOMMON
|
2022-10-06 11:37:57 +00:00
|
|
|
#ifndef _WEAPONCOMMON_HPP
|
|
|
|
#define _WEAPONCOMMON_HPP
|
|
|
|
|
2022-10-06 23:44:37 +00:00
|
|
|
#include "rstl/vector.hpp"
|
|
|
|
|
|
|
|
class CToken;
|
|
|
|
class CSfxHandle;
|
|
|
|
|
2022-10-06 11:37:57 +00:00
|
|
|
namespace NWeaponTypes {
|
|
|
|
|
|
|
|
enum EGunAnimType {
|
|
|
|
kGAT_BasePosition,
|
|
|
|
kGAT_Shoot,
|
|
|
|
kGAT_ChargeUp,
|
|
|
|
kGAT_ChargeLoop,
|
|
|
|
kGAT_ChargeShoot,
|
|
|
|
kGAT_FromMissile,
|
|
|
|
kGAT_ToMissile,
|
|
|
|
kGAT_MissileShoot,
|
|
|
|
kGAT_MissileReload,
|
|
|
|
kGAT_FromBeam,
|
|
|
|
kGAT_ToBeam
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:37:23 +00:00
|
|
|
CSfxHandle play_sfx(ushort sfx, bool underwater, bool looped, short pan);
|
2022-10-09 05:13:17 +00:00
|
|
|
void get_token_vector(const CAnimData& animData, int begin, int end,
|
|
|
|
rstl::vector< CToken >& tokensOut, bool preLock);
|
2022-10-06 19:38:21 +00:00
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
} // namespace NWeaponTypes
|
2022-10-06 11:37:57 +00:00
|
|
|
|
|
|
|
#endif _WEAPONCOMMON_HPP
|
2022-10-09 05:13:17 +00:00
|
|
|
|
|
|
|
#endif // _WEAPONCOMMON
|