2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRPLAYERACTOR
|
|
|
|
|
#define _SLDRPLAYERACTOR
|
|
|
|
|
|
|
|
|
|
#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/SLdrDamageVulnerability.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrHealthInfo.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrPlayerActor {
|
|
|
|
|
SLdrPlayerActor();
|
|
|
|
|
~SLdrPlayerActor();
|
|
|
|
|
|
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;
|
2023-08-11 22:35:54 +03:00
|
|
|
CAssetId noModel;
|
|
|
|
|
SLdrAnimationParameters animationInformation;
|
|
|
|
|
SLdrActorParameters actorInformation;
|
|
|
|
|
bool isLoop;
|
2023-08-09 23:45:58 +03:00
|
|
|
bool immovable;
|
2023-08-11 22:35:54 +03:00
|
|
|
bool isSolid;
|
|
|
|
|
int flagsPlayerActor;
|
|
|
|
|
int renderGunOverride;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrPlayerActor(SLdrPlayerActor&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRPLAYERACTOR
|