through LoadSaveblockMapHeader
This commit is contained in:
@@ -31,5 +31,6 @@ void SetCameraPanning(s16 x, s16 y);
|
||||
void UpdateCameraPanning(void);
|
||||
void InstallCameraPanAheadCallback(void);
|
||||
void DrawDoorMetatileAt(int x, int y, const u16 *data);
|
||||
void move_tilemap_camera_to_upper_left_corner(void);
|
||||
|
||||
#endif //GUARD_FIELD_CAMERA_H
|
||||
|
||||
+3
-1
@@ -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
|
||||
|
||||
@@ -185,10 +185,10 @@ struct MapConnections
|
||||
|
||||
struct MapHeader
|
||||
{
|
||||
/* 0x00 */ struct MapLayout *mapLayout;
|
||||
/* 0x04 */ struct MapEvents *events;
|
||||
/* 0x08 */ u8 *mapScripts;
|
||||
/* 0x0C */ struct MapConnections *connections;
|
||||
/* 0x00 */ const struct MapLayout *mapLayout;
|
||||
/* 0x04 */ const struct MapEvents *events;
|
||||
/* 0x08 */ const u8 *mapScripts;
|
||||
/* 0x0C */ const struct MapConnections *connections;
|
||||
/* 0x10 */ u16 music;
|
||||
/* 0x12 */ u16 mapLayoutId;
|
||||
/* 0x14 */ u8 regionMapSectionId;
|
||||
|
||||
+6
-6
@@ -58,8 +58,8 @@ extern struct UCoords32 gDirectionToVectors[];
|
||||
extern struct LinkPlayerObjectEvent gLinkPlayerObjectEvents[4];
|
||||
extern MainCallback gFieldCallback;
|
||||
|
||||
extern struct WarpData gUnknown_2031DB4;
|
||||
extern struct WarpData gUnknown_2031DBC;
|
||||
extern struct WarpData gLastUsedWarp;
|
||||
extern struct WarpData sWarpDestination;
|
||||
|
||||
extern u8 gUnknown_2031DE0;
|
||||
extern u8 gFieldLinkPlayerCount;
|
||||
@@ -68,7 +68,7 @@ extern u8 gLocalLinkPlayerId;
|
||||
void IncrementGameStat(u8 index);
|
||||
|
||||
void Overworld_SetMapObjTemplateCoords(u8, s16, s16);
|
||||
void Overworld_SetMapObjTemplateMovementType(u8, u8);
|
||||
void Overworld_SetObjEventTemplateMovementType(u8, u8);
|
||||
|
||||
void SetWarpDestination(s8 mapGroup, s8 mapNum, s8 warpId, s8 x, s8 y);
|
||||
|
||||
@@ -100,7 +100,7 @@ void Overworld_ChangeMusicTo(u16);
|
||||
bool32 IsUpdateLinkStateCBActive(void);
|
||||
|
||||
void ClearLinkPlayerObjectEvents(void);
|
||||
const struct MapHeader *Overworld_GetMapHeaderByGroupAndId(u16, u16);
|
||||
const struct MapHeader *const Overworld_GetMapHeaderByGroupAndId(u16, u16);
|
||||
void ObjectEventMoveDestCoords(struct ObjectEvent *, u32, s16 *, s16 *);
|
||||
void sub_8086230(void);
|
||||
void CB2_ReturnToField(void);
|
||||
@@ -159,7 +159,7 @@ bool32 sub_8058244(void);
|
||||
u8 GetCurrentMapType(void);
|
||||
|
||||
u8 GetLastUsedWarpMapType(void);
|
||||
const struct MapHeader *warp1_get_mapheader(void);
|
||||
const struct MapHeader *const GetDestinationWarpMapHeader(void);
|
||||
void TryFadeOutOldMapMusic(void);
|
||||
void CB2_ReturnToFieldCableClub(void);
|
||||
void ResetGameStats(void);
|
||||
@@ -172,7 +172,7 @@ bool32 sub_8058318(void);
|
||||
void CB2_ReturnToFieldWithOpenMenu(void);
|
||||
void CB2_WhiteOut(void);
|
||||
void c2_8056854(void);
|
||||
void sub_8054F38(u32 newKey);
|
||||
void ApplyNewEncryptionKeyToGameStats(u32 newKey);
|
||||
void sub_8055778(int);
|
||||
|
||||
void sub_8055738(u8 loc);
|
||||
|
||||
Reference in New Issue
Block a user