2023-08-23 14:20:57 +03:00
|
|
|
#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&);
|
2024-01-22 11:55:44 +02:00
|
|
|
CEntity* TypesMatch(int typeId) const override;
|
2023-08-23 14:20:57 +03:00
|
|
|
~CScriptAreaProperties() override;
|
|
|
|
|
|
2024-01-22 11:55:44 +02:00
|
|
|
void AcceptScriptMsg(CStateManager& mgr, const CScriptMsg&) override;
|
2023-08-23 14:20:57 +03:00
|
|
|
};
|
|
|
|
|
CHECK_SIZEOF(CScriptAreaProperties, 0x5c)
|
|
|
|
|
|
|
|
|
|
#endif // _CSCRIPTAREAPROPERTIES
|