diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-19 21:00:24 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-09-19 21:00:24 -0400 |
commit | 5fc2c964fb002d79a192937afc623555a411980c (patch) | |
tree | 3217724f4142ff88e1ae10d8375183612396e0bf /include/rom4.h | |
parent | abe72dca47f73231e45f778e6ceafe2e3b7f4158 (diff) | |
parent | f94074b6027d1efe067fd972127eb7730cbef2e0 (diff) |
Merge branch 'master' into sub_81700F8
Diffstat (limited to 'include/rom4.h')
-rw-r--r-- | include/rom4.h | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/include/rom4.h b/include/rom4.h index 3164c81ea..a1c4281e9 100644 --- a/include/rom4.h +++ b/include/rom4.h @@ -1,15 +1,32 @@ -// -// Created by scott on 9/15/2017. -// #ifndef GUARD_ROM4_H #define GUARD_ROM4_H -// Exported type declarations +struct UnkPlayerStruct +{ + u8 player_field_0; + u8 player_field_1; +}; -// Exported RAM declarations +struct LinkPlayerMapObject +{ + u8 active; + u8 linkPlayerId; + u8 mapObjId; + u8 mode; +}; -// Exported ROM declarations +struct UCoords32 +{ + u32 x, y; +}; + + +extern struct LinkPlayerMapObject gLinkPlayerMapObjects[4]; + +void strange_npc_table_clear(void); +const struct MapHeader *get_mapheader_by_bank_and_number(u8, u8); +void FieldObjectMoveDestCoords(struct MapObject *, u32, s16 *, s16 *); void sub_8086230(void); #endif //GUARD_ROM4_H |