2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRAREAATTRIBUTES
|
|
|
|
|
#define _SLDRAREAATTRIBUTES
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrAreaAttributes {
|
2023-08-23 14:20:57 +03:00
|
|
|
SLdrAreaAttributes()
|
|
|
|
|
: editorProperties()
|
|
|
|
|
, needSky(false)
|
|
|
|
|
, darkWorld(false)
|
|
|
|
|
, environmentEffects(0)
|
|
|
|
|
, environmentGroupSound(-1)
|
|
|
|
|
, density(1.0f)
|
|
|
|
|
, normalLighting(1.0f)
|
|
|
|
|
, overrideSky(kInvalidAssetId)
|
|
|
|
|
, phazonDamage(0) {
|
|
|
|
|
editorProperties.unknown = 3;
|
|
|
|
|
}
|
2023-08-09 23:45:58 +03:00
|
|
|
|
2023-08-23 14:20:57 +03:00
|
|
|
~SLdrAreaAttributes();
|
|
|
|
|
|
|
|
|
|
SLdrEditorProperties editorProperties;
|
|
|
|
|
bool needSky;
|
|
|
|
|
bool darkWorld;
|
|
|
|
|
int environmentEffects;
|
|
|
|
|
int environmentGroupSound;
|
|
|
|
|
float density;
|
|
|
|
|
float normalLighting;
|
|
|
|
|
CAssetId overrideSky;
|
|
|
|
|
int phazonDamage;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrAreaAttributes(SLdrAreaAttributes&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRAREAATTRIBUTES
|