mirror of
https://github.com/zeldaret/tmc
synced 2026-08-13 12:19:19 -04:00
object6A ok
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#ifndef CREATEOBJECT_H
|
||||
#define CREATEOBJECT_H
|
||||
|
||||
#include "entity.h"
|
||||
|
||||
// maybe a dedicated (create)Effect.h/c
|
||||
void CreateDust(Entity* parent);
|
||||
void CreateDustSmall(Entity* parent);
|
||||
|
||||
#endif // CREATEOBJECT_H
|
||||
@@ -21,6 +21,9 @@ extern void sub_0808C650(Entity*, u32);
|
||||
extern u32 sub_0808C67C(void);
|
||||
extern void sub_0808C688(void);
|
||||
|
||||
void CreateDust(Entity* parent);
|
||||
void CreateDustSmall(Entity* parent);
|
||||
|
||||
typedef enum {
|
||||
GROUND_ITEM,
|
||||
DEATH_FX,
|
||||
|
||||
@@ -19,6 +19,15 @@ typedef struct ScriptExecutionContext {
|
||||
union SplitWord y;
|
||||
} ScriptExecutionContext;
|
||||
|
||||
typedef struct {
|
||||
u32 unk_00;
|
||||
u16 commandIndex;
|
||||
u8 commandSize;
|
||||
u8 flags;
|
||||
u8 unk_08;
|
||||
} struct_02033280;
|
||||
extern struct_02033280 gActiveScriptInfo;
|
||||
|
||||
void ExecuteScript(Entity* entity, ScriptExecutionContext* context);
|
||||
|
||||
extern u32 GetNextScriptCommandHalfword(u16*);
|
||||
|
||||
@@ -94,15 +94,6 @@ typedef struct {
|
||||
} struct_02024490;
|
||||
extern struct_02024490 gGFXSlots;
|
||||
|
||||
typedef struct {
|
||||
u32 unk_00;
|
||||
u16 commandIndex;
|
||||
u8 commandSize;
|
||||
u8 flags;
|
||||
u8 unk_08;
|
||||
} struct_02033280;
|
||||
extern struct_02033280 gActiveScriptInfo;
|
||||
|
||||
typedef struct {
|
||||
u16 unk_00;
|
||||
u8 unk_02[0xE];
|
||||
|
||||
Reference in New Issue
Block a user