diff options
author | sceptillion <33798691+sceptillion@users.noreply.github.com> | 2017-12-17 13:22:46 -0800 |
---|---|---|
committer | sceptillion <33798691+sceptillion@users.noreply.github.com> | 2017-12-17 13:22:46 -0800 |
commit | b849ce93dbafac8e4961b531ab40585c0fdd103a (patch) | |
tree | 1cfd5cf3b7223a8e91dd0a0d4e6e112bd3458d8b /include/fieldmap.h | |
parent | 3ddda066d91cbbd377584acacaea62a9deba8873 (diff) |
decompile main
Diffstat (limited to 'include/fieldmap.h')
-rw-r--r-- | include/fieldmap.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h new file mode 100644 index 000000000..06cb7cc77 --- /dev/null +++ b/include/fieldmap.h @@ -0,0 +1,19 @@ +#ifndef GUARD_FIELDMAP_H +#define GUARD_FIELDMAP_H + +extern struct MapCoords { + int width; + int height; +} gUnknown_03005DC0; + +u32 MapGridGetMetatileIdAt(int, int); +u32 MapGridGetMetatileBehaviorAt(int, int); +void MapGridSetMetatileIdAt(int, int, u16); +void MapGridSetMetatileEntryAt(int, int, u16); +void GetCameraCoords(u16*, u16*); +bool8 MapGridIsImpassableAt(s16, s16); +s32 GetMapBorderIdAt(s16, s16); +bool32 CanCameraMoveInDirection(u8); +u16 GetBehaviorByMetatileId(u16 metatileId); + +#endif //GUARD_FIELDMAP_H |