diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2020-03-26 21:30:58 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2020-03-26 21:30:58 -0400 |
commit | 71c003dcdbe5253ca79881adea3d0ce3c3597541 (patch) | |
tree | 1d18ec6a076277ce0a8c7b01c8d8472cbb023df9 /include/fieldmap.h | |
parent | 012f8ed12f2425a13602ec2cb3cb379d756b8bbd (diff) |
through LoadSaveblockMapHeader
Diffstat (limited to 'include/fieldmap.h')
-rw-r--r-- | include/fieldmap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h index cc4a0f7ed..1bdfa8086 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -24,7 +24,7 @@ void GetCameraCoords(u16*, u16*); bool8 MapGridIsImpassableAt(s32, s32); s32 GetMapBorderIdAt(s32, s32); bool32 CanCameraMoveInDirection(s32); -u32 GetBehaviorByMetatileIdAndMapLayout(struct MapLayout *mapLayout, u16 metatile, u8 attr); +u32 GetBehaviorByMetatileIdAndMapLayout(const struct MapLayout *mapLayout, u16 metatile, u8 attr); const struct MapHeader * mapconnection_get_mapheader(struct MapConnection * connection); struct MapConnection * GetMapConnectionAtPos(s16 x, s16 y); void sub_8059948(u8 a0, u8 a1); @@ -34,5 +34,7 @@ u32 GetMetatileAttributeFromRawMetatileBehavior(u32 original, u8 bit); u32 MapGridGetMetatileAttributeAt(s16 x, s16 y, u8 attr); void MapGridSetMetatileImpassabilityAt(s32 x, s32 y, bool32 arg2); bool8 CameraMove(s32 x, s32 y); +void copy_map_tileset1_tileset2_to_vram(struct MapLayout const *mapLayout); +void apply_map_tileset1_tileset2_palette(struct MapLayout const *mapLayout); #endif //GUARD_FIELDMAP_H |