mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
First skybox and HUD rendering
This commit is contained in:
38
Runtime/World/CScriptVisorGoo.hpp
Normal file
38
Runtime/World/CScriptVisorGoo.hpp
Normal file
@@ -0,0 +1,38 @@
|
||||
#ifndef URDE_CSCRIPTVISORGOO_HPP
|
||||
#define URDE_CSCRIPTVISORGOO_HPP
|
||||
|
||||
#include "CActor.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
class CScriptVisorGoo : public CActor
|
||||
{
|
||||
TToken<CGenDescription> xe8_particleDesc;
|
||||
TToken<CElectricDescription> xf0_electricDesc;
|
||||
u16 xf8_sfx;
|
||||
CAssetId xfc_particleId;
|
||||
CAssetId x100_electricId;
|
||||
float x104_minDist;
|
||||
float x108_maxDist;
|
||||
float x10c_nearProb;
|
||||
float x110_farProb;
|
||||
zeus::CColor x114_color;
|
||||
bool x118_24_angleTest : 1;
|
||||
public:
|
||||
CScriptVisorGoo(TUniqueId uid, const std::string& name, const CEntityInfo& info, const zeus::CTransform& xf,
|
||||
CAssetId particle, CAssetId electric, float minDist, float maxDist, float nearProb, float farProb,
|
||||
const zeus::CColor& color, int sfx, bool forceShow, bool active);
|
||||
|
||||
void Accept(IVisitor& visitor);
|
||||
void Think(float, CStateManager& stateMgr);
|
||||
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
|
||||
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const;
|
||||
void Render(const CStateManager&) const;
|
||||
rstl::optional_object<zeus::CAABox> GetTouchBounds() const;
|
||||
void Touch(CActor&, CStateManager&);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // URDE_CSCRIPTVISORGOO_HPP
|
||||
Reference in New Issue
Block a user