diff options
| author | notyourav <65437533+notyourav@users.noreply.github.com> | 2021-12-19 17:57:56 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-19 17:57:56 -0800 |
| commit | ce2a41c7af64ddcba92b1f338f7f555d80edb8f9 (patch) | |
| tree | a2ebfd343cefda1d08a70fd2a5baa06275df65b9 /include | |
| parent | f0a7a8fa515084f604ca47c84fae68ad9d0fc26d (diff) | |
| parent | 555fa4369543992ef0c1340041a5c6762d790af7 (diff) | |
Merge pull request #214 from octorock/code_080A7C00
Decompile code_080A7C00
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.h | 2 | ||||
| -rw-r--r-- | include/structures.h | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/include/functions.h b/include/functions.h index b9cff99a..25a9243f 100644 --- a/include/functions.h +++ b/include/functions.h @@ -29,7 +29,7 @@ extern Entity* CreateDeathFx(Entity*, u32, u32); extern void UpdateAnimationVariableFrames(Entity*, u32); extern u8* GetSpriteSubEntryOffsetDataPointer(u32, u32); extern bool32 LoadFixedGFX(Entity*, u32); -extern Entity* CreateItemEntity(u32, u32, u32); +extern void CreateItemEntity(u32, u32, u32); extern u32 ProcessMovement(Entity*); extern void MenuFadeIn(u32, u32); extern void LoadResourceAsync(const void*, u32, u32); diff --git a/include/structures.h b/include/structures.h index 2073f1b0..82b39a5c 100644 --- a/include/structures.h +++ b/include/structures.h @@ -157,4 +157,30 @@ typedef struct { void* unk8; } WStruct; +typedef struct { + u8 type; + u8 unk_0x1; + u8 unk_0x2; + u8 unk_0x3; + u16 tilePos; + u16 unk_0x6; +} TileEntityData; + +typedef enum { + NONE, + ROOM_VISIT_MARKER, + SMALL_CHEST, + BIG_CHEST, + BOMBABLE_WALL, + SIGN, + TILE_ENTITY_6, + MUSIC_SETTER, + TILE_ENTITY_8, + DARKNESS, + DESTRUCTIBLE_TILE, + GRASS_DROP_CHANGER, + TILE_ENTITY_C, + TILE_ENTITY_D +} TileEntityType; + #endif |
