diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/field_ground_effect.h | 10 | ||||
| -rw-r--r-- | include/field_map_obj.h | 4 | ||||
| -rw-r--r-- | include/fieldmap.h | 4 | 
3 files changed, 18 insertions, 0 deletions
| diff --git a/include/field_ground_effect.h b/include/field_ground_effect.h new file mode 100644 index 000000000..590923041 --- /dev/null +++ b/include/field_ground_effect.h @@ -0,0 +1,10 @@ +// +// Created by Scott Norton on 5/22/17. +// + +#ifndef POKERUBY_FIELD_GROUND_EFFECT_H +#define POKERUBY_FIELD_GROUND_EFFECT_H + +bool8 IsZCoordMismatchAt(u8 z, s16 x, s16 y); + +#endif //POKERUBY_FIELD_GROUND_EFFECT_H diff --git a/include/field_map_obj.h b/include/field_map_obj.h index 00fda8358..4f611aab2 100644 --- a/include/field_map_obj.h +++ b/include/field_map_obj.h @@ -26,6 +26,8 @@ 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);  void MoveCoords(u8 direction, s16 *x, s16 *y); @@ -48,4 +50,6 @@ extern const u8 gUnknown_083753C8[2];  extern const u8 gUnknown_083753DC[5];  extern const u8 gUnknown_083753F4[5]; +extern const u8 gUnknown_0837567B[9]; +  #endif // GUARD_FIELD_MAP_OBJ_H diff --git a/include/fieldmap.h b/include/fieldmap.h index 936d27b4a..87f113122 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -1,6 +1,10 @@  #ifndef GUARD_FIELDMAP2_H  #define GUARD_FIELDMAP2_H +#include "field_map_obj.h"  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); +int CanCameraMoveInDirection(int direction);  #endif | 
