mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:47:43 +00:00
Working CScriptGunTurret
This commit is contained in:
@@ -7,13 +7,16 @@ namespace urde {
|
||||
class CScriptPickupGenerator : public CEntity {
|
||||
zeus::CVector3f x34_position;
|
||||
float x40_frequency;
|
||||
float x44_ = 0.f;
|
||||
void sub8015E220();
|
||||
float x44_delayTimer = 0.f;
|
||||
void ResetDelayTimer();
|
||||
void GetGeneratorIds(CStateManager& mgr, TUniqueId sender, std::vector<TUniqueId>& idsOut) const;
|
||||
float GetPickupTemplates(CStateManager& mgr, std::vector<std::pair<float, TEditorId>>& idsOut) const;
|
||||
void GeneratePickup(CStateManager& mgr, TEditorId templateId, TUniqueId generatorId) const;
|
||||
|
||||
public:
|
||||
CScriptPickupGenerator(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CVector3f&, float, bool);
|
||||
|
||||
void Accept(IVisitor& visitor);
|
||||
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
|
||||
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& stateMgr);
|
||||
};
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user