metaforce/Runtime/World/CScriptAreaAttributes.hpp

37 lines
1.1 KiB
C++
Raw Normal View History

2016-04-23 18:04:49 +00:00
#ifndef __URDE_CSCRIPTAREAATTRIBUTES_HPP__
#define __URDE_CSCRIPTAREAATTRIBUTES_HPP__
#include "CEntity.hpp"
#include "CEnvFxManager.hpp"
namespace urde
{
class CScriptAreaAttributes : public CEntity
{
bool x34_24_showSkybox : 1;
EEnvFxType x38_envFx;
float x3c_envFxDensity;
float x40_thermalHeat;
float x44_xrayFogDistance;
float x48_worldLightingLevel;
ResId x4c_skybox;
EPhazonType x50_phazon;
2016-04-23 18:04:49 +00:00
public:
CScriptAreaAttributes(TUniqueId uid, const CEntityInfo& info, bool showSkybox, EEnvFxType fxType,
float envFxDensity, float thermalHeat, float xrayFogDistance, float worldLightingLevel,
ResId skybox, EPhazonType phazonType);
2016-04-23 18:04:49 +00:00
2017-01-15 03:07:01 +00:00
void Accept(IVisitor& visitor);
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
bool GetNeedsSky() const;
bool GetNeedsEnvFx() const;
float GetEnvFxDensity() const;
float GetThermalHeat() const;
float GetWorldLightingLevel() const;
2016-04-23 18:04:49 +00:00
};
}
#endif // __URDE_CSCRIPTAREAATTRIBUTES_HPP__