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-12-19 18:27:58 +00:00
|
|
|
|
2016-04-23 18:04:49 +00:00
|
|
|
public:
|
|
|
|
CScriptAreaAttributes(TUniqueId uid, const CEntityInfo& info, bool showSkybox, EEnvFxType fxType,
|
2016-12-19 18:27:58 +00:00
|
|
|
float envFxDensity, float thermalHeat, float xrayFogDistance, float worldLightingLevel,
|
|
|
|
ResId skybox, EPhazonType phazonType);
|
2016-04-23 18:04:49 +00:00
|
|
|
|
2016-10-02 03:06:20 +00:00
|
|
|
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__
|