2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRACTOR
|
|
|
|
|
#define _SLDRACTOR
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrActorParameters.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrAnimationParameters.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrDamageInfo.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrDamageVulnerability.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEchoParameters.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrHealthInfo.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrActor {
|
|
|
|
|
SLdrActor();
|
|
|
|
|
~SLdrActor();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrEditorProperties editorProperties;
|
|
|
|
|
CVector3f collisionBox;
|
|
|
|
|
CVector3f collisionOffset;
|
2023-08-09 23:45:58 +03:00
|
|
|
float mass;
|
|
|
|
|
float gravity;
|
|
|
|
|
SLdrHealthInfo health;
|
|
|
|
|
SLdrDamageVulnerability vulnerability;
|
|
|
|
|
CAssetId model;
|
2023-08-11 22:35:54 +03:00
|
|
|
CAssetId collisionModel;
|
|
|
|
|
SLdrAnimationParameters animationInformation;
|
|
|
|
|
SLdrActorParameters actorInformation;
|
|
|
|
|
SLdrEchoParameters echoInformation;
|
|
|
|
|
bool isLoop;
|
2023-08-09 23:45:58 +03:00
|
|
|
bool immovable;
|
2023-08-11 22:35:54 +03:00
|
|
|
bool isSolid;
|
|
|
|
|
bool isCameraThrough;
|
|
|
|
|
bool isScanThrough;
|
|
|
|
|
int renderTextureSet;
|
|
|
|
|
bool drawsShadow;
|
|
|
|
|
bool scaleAnimation;
|
|
|
|
|
bool aiShootThrough;
|
|
|
|
|
float randomAnimationOffset;
|
2023-08-09 23:45:58 +03:00
|
|
|
CAssetId projectile;
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrDamageInfo projectileDamage;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrActor(SLdrActor&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRACTOR
|