2023-08-25 18:25:02 +03:00
|
|
|
#ifndef _SCRIPTLOADERREL
|
|
|
|
|
#define _SCRIPTLOADERREL
|
|
|
|
|
|
|
|
|
|
#include "MetroidPrime/ScriptLoader.hpp"
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CTransform4f.hpp"
|
|
|
|
|
#include "MetroidPrime/TGameTypes.hpp"
|
|
|
|
|
|
|
|
|
|
class CVector3f;
|
|
|
|
|
class CDamageInfo;
|
|
|
|
|
class CFinalInput;
|
|
|
|
|
|
2023-09-18 22:29:51 -04:00
|
|
|
struct SGuiWidget_FuncPtrs {
|
2023-08-25 18:25:02 +03:00
|
|
|
FScriptLoader guiWidget;
|
|
|
|
|
FScriptLoader guiScreen;
|
|
|
|
|
FScriptLoader guiSlider;
|
|
|
|
|
FScriptLoader guiMenu;
|
|
|
|
|
FScriptLoader guiPlayerJoinManager;
|
|
|
|
|
};
|
2023-09-18 22:29:51 -04:00
|
|
|
void SetSGuiWidget_FuncPtrs(SGuiWidget_FuncPtrs*);
|
2023-08-25 18:25:02 +03:00
|
|
|
|
2023-09-18 22:29:51 -04:00
|
|
|
struct SSafeZone_FuncPtrs {
|
2023-08-25 18:25:02 +03:00
|
|
|
FScriptLoader safeZone;
|
|
|
|
|
FScriptLoader safeZoneCrystal;
|
|
|
|
|
void (CEntity::*method)(CStateManager& mgr);
|
|
|
|
|
};
|
2023-09-18 22:29:51 -04:00
|
|
|
void SetSSafeZone_FuncPtrs(SSafeZone_FuncPtrs*);
|
2023-08-25 18:25:02 +03:00
|
|
|
|
2023-09-18 22:29:51 -04:00
|
|
|
struct SFishCloud_FuncPtrs {
|
2023-08-25 18:25:02 +03:00
|
|
|
FScriptLoader fishCloud;
|
|
|
|
|
FScriptLoader fishCloudModifier;
|
|
|
|
|
};
|
2023-09-18 22:29:51 -04:00
|
|
|
void SetSFishCloud_FuncPtrs(SFishCloud_FuncPtrs*);
|
2023-08-25 18:25:02 +03:00
|
|
|
|
2023-09-18 22:29:51 -04:00
|
|
|
struct SSnakeWeedSwarm_FuncPtrs {
|
2023-08-25 18:25:02 +03:00
|
|
|
FScriptLoader swarm;
|
|
|
|
|
void (CEntity::*method)(const CVector3f&, const CDamageInfo&, CStateManager&);
|
|
|
|
|
};
|
2023-09-18 22:29:51 -04:00
|
|
|
void SetSSnakeWeedSwarm_FuncPtrs(SSnakeWeedSwarm_FuncPtrs*);
|
2023-08-25 18:25:02 +03:00
|
|
|
|
2023-09-18 22:29:51 -04:00
|
|
|
struct SPlayerActor_FuncPtrs {
|
2023-08-25 18:25:02 +03:00
|
|
|
FScriptLoader loader;
|
|
|
|
|
void (CEntity::*method)(CStateManager& mgr);
|
|
|
|
|
};
|
2023-09-18 22:29:51 -04:00
|
|
|
void SetSPlayerActor_FuncPtrs(SPlayerActor_FuncPtrs*);
|
2023-08-25 18:25:02 +03:00
|
|
|
|
2023-09-18 22:29:51 -04:00
|
|
|
struct SPlayerTurret_FuncPtrs {
|
2023-08-25 18:25:02 +03:00
|
|
|
FScriptLoader loader;
|
|
|
|
|
CTransform4f (CEntity::*GetTransform1)(CStateManager&);
|
|
|
|
|
CTransform4f (CEntity::*GetTransform2)(CStateManager&);
|
|
|
|
|
void (CEntity::*SendSomeMsg)(CStateManager&);
|
|
|
|
|
void (CEntity::*CheckInput)(float, CFinalInput&, CStateManager&);
|
|
|
|
|
TUniqueId (CEntity::*GetSomeId)();
|
|
|
|
|
};
|
2023-09-18 22:29:51 -04:00
|
|
|
void SetSPlayerTurret_FuncPtrs(SPlayerTurret_FuncPtrs*);
|
|
|
|
|
|
|
|
|
|
struct SScriptForgottenObject_FuncPtrs {
|
|
|
|
|
FScriptLoader loader;
|
|
|
|
|
};
|
|
|
|
|
void SetSScriptForgottenObject_FuncPtrs(SScriptForgottenObject_FuncPtrs*);
|
2023-08-25 18:25:02 +03:00
|
|
|
|
2025-01-12 15:45:04 +02:00
|
|
|
void SetLoader_CannonBall(FScriptLoader* loader);
|
|
|
|
|
|
2025-01-14 03:13:17 +02:00
|
|
|
struct STweaks_FuncPtrs {
|
|
|
|
|
void (*Loader)(CInputStream&);
|
|
|
|
|
void (*CreateGlobals)();
|
|
|
|
|
void (*FreeTweaks)();
|
|
|
|
|
};
|
|
|
|
|
void SetTweaks_FuncPtrs(STweaks_FuncPtrs*);
|
|
|
|
|
|
2023-08-25 18:25:02 +03:00
|
|
|
#endif // _SCRIPTLOADERREL
|