diff options
| author | Ibot02 <jtp.jtp@gmx.de> | 2021-01-15 22:46:43 +0100 |
|---|---|---|
| committer | Ibot02 <jtp.jtp@gmx.de> | 2021-01-15 22:46:43 +0100 |
| commit | a14614a1a3f2a4f172ab669af06c0a6b49477549 (patch) | |
| tree | 6e96063804c570d8e89e40b0be65e72adccd129a /include/script.h | |
| parent | 63038b4c6bf6de73e489b4395ae0a67a0f92a3b3 (diff) | |
executeScriptCommandSet: Split stuff into headers.
Diffstat (limited to 'include/script.h')
| -rw-r--r-- | include/script.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/script.h b/include/script.h new file mode 100644 index 00000000..73d860e1 --- /dev/null +++ b/include/script.h @@ -0,0 +1,33 @@ +#ifndef SCRIPT_H +#define SCRIPT_H + +#include "global.h" + +typedef struct { + u16 * unk_00; + u32 unk_04; + u32 unk_08; + u8 unk_0C[0x4];//unused + u16 unk_10; + u16 unk_12; + u32 unk_14; + u8 unk_18; + u8 unk_19; + u8 unk_1A; + u8 unk_1B;//unused + union SplitWord unk_1C; + union SplitWord unk_20; +} ScriptExecutionContext; + +extern void ExecuteScriptCommandSet(Entity*, ScriptExecutionContext*); + +extern u32 GetNextScriptCommandHalfword(u16*); +extern u32 GetNextScriptCommandWord(u16*); +extern u32 GetNextScriptCommandWordAfterCommandMetadata(u16*); +extern u32 GetNextScriptCommandHalfwordAfterCommandMetadata(u16*); + +extern void StartPlayerScript(u32); + +extern void sub_0807DEDC(Entity*, ScriptExecutionContext*, u32, u32); + +#endif |
