mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
Initial CActorContraption and weapon imps
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "World/CDamageInfo.hpp"
|
||||
#include "RetroTypes.hpp"
|
||||
#include "CToken.hpp"
|
||||
#include "Weapon/CProjectileWeapon.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
@@ -14,13 +15,31 @@ class CGenDescription;
|
||||
class CWeaponDescription;
|
||||
class CGameProjectile : public CWeapon
|
||||
{
|
||||
//CProjectileWeapon x170_;
|
||||
TUniqueId x2c8_projectileLight;
|
||||
u32 x2cc_;
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
bool x2e4_24_ : 1;
|
||||
bool x2e4_25_ : 1;
|
||||
bool x2e4_26_ : 1;
|
||||
bool x2e4_27_ : 1;
|
||||
bool x2e4_28_ : 1;
|
||||
};
|
||||
};
|
||||
public:
|
||||
CGameProjectile(bool, const TToken<CWeaponDescription>&, const std::string&, EWeaponType, const zeus::CTransform&,
|
||||
EMaterialTypes, const CDamageInfo&, TUniqueId, TAreaId, TUniqueId, TUniqueId, u32, bool,
|
||||
const zeus::CVector3f&, const rstl::optional_object<TLockedToken<CGenDescription>>&, s16, bool);
|
||||
|
||||
virtual void Accept(IVisitor &visitor);
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager &);
|
||||
static EProjectileAttrib GetBeamAttribType(EWeaponType wType);
|
||||
void DeleteProjectileLight(CStateManager&);
|
||||
void CreateProjectileLight(const std::string&, const CLight&, CStateManager&);
|
||||
void Chase(float, CStateManager&);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user