summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorscnorton <scnorton@biociphers.org>2017-05-22 19:31:47 -0400
committerscnorton <scnorton@biociphers.org>2017-05-24 16:14:50 -0400
commitb087d8a909925baf772aa0d631318fb17667067c (patch)
treeb10aadfcfe2a8444a2e624fec02619b706b1eae0 /include
parentabe5f5053624f876ea17c44370b203c0a4ace86b (diff)
IsCoordOutsideFieldObjectMovementRect and others
Diffstat (limited to 'include')
-rw-r--r--include/asm.inc.h8
-rw-r--r--include/field_map_obj.h1
-rw-r--r--include/fieldmap.h2
3 files changed, 9 insertions, 2 deletions
diff --git a/include/asm.inc.h b/include/asm.inc.h
index 3db79b128..8921d14cd 100644
--- a/include/asm.inc.h
+++ b/include/asm.inc.h
@@ -1,6 +1,14 @@
// src/rom3.o
void sub_800C35C(void);
+struct UnkStruct8060024 {
+ u8 outsideMovementRect:1;
+ u8 tileIsImpassable:1;
+ u8 elevationMismatch:1;
+ u8 pathBlockedByObject:1;
+ u8 pad_04:4;
+};
+
// asm/battle_2.o
void sub_800E7C4(void);
u8 b_first_side(u8, u8, u8);
diff --git a/include/field_map_obj.h b/include/field_map_obj.h
index 4f611aab2..c160f1c72 100644
--- a/include/field_map_obj.h
+++ b/include/field_map_obj.h
@@ -26,7 +26,6 @@ static u8 callback(struct MapObject *mapObject, struct Sprite *sprite)\
return 0;\
}
-bool8 CheckForCollisionBetweenFieldObjects(struct MapObject *mapObject, s16 x, s16 y);
void sub_805C058(struct MapObject *mapObject, s16 a, s16 b);
void FieldObjectSetDirection(struct MapObject *pObject, u8 unk_18);
diff --git a/include/fieldmap.h b/include/fieldmap.h
index 87f113122..530e15798 100644
--- a/include/fieldmap.h
+++ b/include/fieldmap.h
@@ -4,7 +4,7 @@
struct MapHeader *mapconnection_get_mapheader(struct MapConnection *connection);
int GetMapBorderIdAt(int x, int y);
-bool8 IsMetatileDirectionallyImpassable(struct MapObject *mapObject, s16 x, s16 y, u8 direction);
+extern bool8 IsMetatileDirectionallyImpassable(struct MapObject *mapObject, s16 x, s16 y, u8 direction);
int CanCameraMoveInDirection(int direction);
#endif