mirror of
https://github.com/PrimeDecomp/echoes.git
synced 2026-03-31 14:23:06 -07:00
40 lines
1.0 KiB
C++
40 lines
1.0 KiB
C++
#ifndef _CSCRIPTAREAPROPERTIES
|
|
#define _CSCRIPTAREAPROPERTIES
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
#include "Kyoto/TToken.hpp"
|
|
#include "Kyoto/Graphics/CColor.hpp"
|
|
|
|
#include "rstl/optional_object.hpp"
|
|
|
|
|
|
class CModel;
|
|
class CScriptAreaProperties : public CEntity {
|
|
private:
|
|
bool m_hasSkybox : 1;
|
|
bool m_isDarkWorld : 1;
|
|
int m_environmentEffects;
|
|
float m_density;
|
|
float m_normalLightning;
|
|
CAssetId m_skyBoxAssetId;
|
|
int m_phazonDamage;
|
|
rstl::optional_object< TLockedToken<CModel> > skyBoxModel;
|
|
int x4c;
|
|
float x50;
|
|
float x54;
|
|
CColor m_color;
|
|
|
|
public:
|
|
CScriptAreaProperties(TUniqueId, const CEntityInfo&, float, float,
|
|
uint hasSkyBox, bool isDarkWorld, uint, CAssetId skyBoxAssetId, int, int, float, float, const CColor&);
|
|
CEntity* TypesMatch(int typeId) const override;
|
|
~CScriptAreaProperties() override;
|
|
|
|
void AcceptScriptMsg(CStateManager& mgr, const CScriptMsg&) override;
|
|
};
|
|
CHECK_SIZEOF(CScriptAreaProperties, 0x5c)
|
|
|
|
#endif // _CSCRIPTAREAPROPERTIES
|