2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRSPECIALFUNCTION
|
|
|
|
|
#define _SLDRSPECIALFUNCTION
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrPlayerItem.hpp"
|
|
|
|
|
#include "rstl/string.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrSpecialFunction {
|
|
|
|
|
SLdrSpecialFunction();
|
|
|
|
|
~SLdrSpecialFunction();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrEditorProperties editorProperties;
|
2023-08-10 15:25:59 +03:00
|
|
|
int function;
|
2023-08-11 22:35:54 +03:00
|
|
|
rstl::string stringParm;
|
|
|
|
|
float valueParm;
|
|
|
|
|
float valueParm2;
|
|
|
|
|
float valueParm3;
|
|
|
|
|
float valueParm4;
|
|
|
|
|
int intParm1;
|
|
|
|
|
int intParm2;
|
|
|
|
|
SLdrPlayerItem inventoryItemParm;
|
2023-08-09 23:45:58 +03:00
|
|
|
int sound1;
|
|
|
|
|
int sound2;
|
|
|
|
|
int sound3;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrSpecialFunction(SLdrSpecialFunction&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRSPECIALFUNCTION
|