diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-05-29 17:52:57 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-05-29 17:52:57 -0500 |
commit | b921b268c1962eb139a73608437c1c7501ca5ae6 (patch) | |
tree | acd6ec7cb0ca648b8b7bc2e17f2f0f8646d16e30 /src/data/field_map_obj/callback_subroutine_pointers.h | |
parent | e9d1d07cfb458ece0ad4b9c3acc0240aa98455f2 (diff) |
Rename movement_type and movement_action func table filenames
Diffstat (limited to 'src/data/field_map_obj/callback_subroutine_pointers.h')
-rw-r--r-- | src/data/field_map_obj/callback_subroutine_pointers.h | 443 |
1 files changed, 0 insertions, 443 deletions
diff --git a/src/data/field_map_obj/callback_subroutine_pointers.h b/src/data/field_map_obj/callback_subroutine_pointers.h deleted file mode 100644 index 04bbb2479..000000000 --- a/src/data/field_map_obj/callback_subroutine_pointers.h +++ /dev/null @@ -1,443 +0,0 @@ -// - -// - -#ifndef POKERUBY_CALLBACK_SUBROUTINE_POINTERS_H -#define POKERUBY_CALLBACK_SUBROUTINE_POINTERS_H - - -u8 (*const gMovementTypeFuncs_WanderAround[])(struct MapObject *, struct Sprite *) = { - MovementType_WanderAround_Step0, - MovementType_WanderAround_Step1, - MovementType_WanderAround_Step2, - MovementType_WanderAround_Step3, - MovementType_WanderAround_Step4, - MovementType_WanderAround_Step5, - MovementType_WanderAround_Step6 -}; - -const u8 gStandardDirections[] = {DIR_SOUTH, DIR_NORTH, DIR_WEST, DIR_EAST}; - -u8 (*const gUnknown_08375244[])(s16, s16, s16, s16) = { - sub_805CAAC, - sub_805CADC, - sub_805CAEC, - sub_805CB00, - sub_805CB5C, - sub_805CBB8, - sub_805CC14, - sub_805CC70, - sub_805CCAC, - sub_805CCE8, - sub_805CD24 -}; - -u8 (*const gMovementTypeFuncs_LookAround[])(struct MapObject *, struct Sprite *) = { - MovementType_LookAround_Step0, - MovementType_LookAround_Step1, - MovementType_LookAround_Step2, - MovementType_LookAround_Step3, - MovementType_LookAround_Step4, -}; - -u8 (*const gMovementTypeFuncs_WanderUpAndDown[])(struct MapObject *, struct Sprite *) = { - MovementType_WanderUpAndDown_Step0, - MovementType_WanderUpAndDown_Step1, - MovementType_WanderUpAndDown_Step2, - MovementType_WanderUpAndDown_Step3, - MovementType_WanderUpAndDown_Step4, - MovementType_WanderUpAndDown_Step5, - MovementType_WanderUpAndDown_Step6, -}; - -const u8 gUpAndDownDirections[] = {DIR_SOUTH, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_WanderLeftAndRight[])(struct MapObject *, struct Sprite *) = { - MovementType_WanderLeftAndRight_Step0, - MovementType_WanderLeftAndRight_Step1, - MovementType_WanderLeftAndRight_Step2, - MovementType_WanderLeftAndRight_Step3, - MovementType_WanderLeftAndRight_Step4, - MovementType_WanderLeftAndRight_Step5, - MovementType_WanderLeftAndRight_Step6, -}; - -const u8 gLeftAndRightDirections[] = {DIR_WEST, DIR_EAST}; - -u8 (*const gMovementTypeFuncs_FaceDirection[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceDirection_Step0, - MovementType_FaceDirection_Step1, - MovementType_FaceDirection_Step2, -}; - -u8 (*const gMovementTypeFuncs_BerryTreeGrowth[])(struct MapObject *, struct Sprite *) = { - MovementType_BerryTreeGrowth_Step0, - MovementType_BerryTreeGrowth_Step1, - MovementType_BerryTreeGrowth_Step2, - MovementType_BerryTreeGrowth_Step3, - MovementType_BerryTreeGrowth_Step4, -}; - -u8 (*const gMovementTypeFuncs_FaceDownAndUp[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceDownAndUp_Step0, - MovementType_FaceDownAndUp_Step1, - MovementType_FaceDownAndUp_Step2, - MovementType_FaceDownAndUp_Step3, - MovementType_FaceDownAndUp_Step4, -}; - -u8 (*const gMovementTypeFuncs_FaceLeftAndRight[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceLeftAndRight_Step0, - MovementType_FaceLeftAndRight_Step1, - MovementType_FaceLeftAndRight_Step2, - MovementType_FaceLeftAndRight_Step3, - MovementType_FaceLeftAndRight_Step4, -}; - -u8 (*const gMovementTypeFuncs_FaceUpAndLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceUpAndLeft_Step0, - MovementType_FaceUpAndLeft_Step1, - MovementType_FaceUpAndLeft_Step2, - MovementType_FaceUpAndLeft_Step3, - MovementType_FaceUpAndLeft_Step4, -}; - -const u8 gUpAndLeftDirections[] = {DIR_NORTH, DIR_WEST}; - -u8 (*const gMovementTypeFuncs_FaceUpAndRight[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceUpAndRight_Step0, - MovementType_FaceUpAndRight_Step1, - MovementType_FaceUpAndRight_Step2, - MovementType_FaceUpAndRight_Step3, - MovementType_FaceUpAndRight_Step4, -}; - -const u8 gUpAndRightDirections[] = {DIR_NORTH, DIR_EAST}; - -u8 (*const gMovementTypeFuncs_FaceDownAndLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceDownAndLeft_Step0, - MovementType_FaceDownAndLeft_Step1, - MovementType_FaceDownAndLeft_Step2, - MovementType_FaceDownAndLeft_Step3, - MovementType_FaceDownAndLeft_Step4, -}; - -const u8 gDownAndLeftDirections[] = {DIR_SOUTH, DIR_WEST}; - -u8 (*const gMovementTypeFuncs_FaceDownAndRight[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceDownAndRight_Step0, - MovementType_FaceDownAndRight_Step1, - MovementType_FaceDownAndRight_Step2, - MovementType_FaceDownAndRight_Step3, - MovementType_FaceDownAndRight_Step4, -}; - -const u8 gDownAndRightDirections[] = {DIR_SOUTH, DIR_EAST}; - -u8 (*const gMovementTypeFuncs_FaceDownUpAndLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceDownUpAndLeft_Step0, - MovementType_FaceDownUpAndLeft_Step1, - MovementType_FaceDownUpAndLeft_Step2, - MovementType_FaceDownUpAndLeft_Step3, - MovementType_FaceDownUpAndLeft_Step4, -}; - -const u8 gDownUpAndLeftDirections[] = {DIR_NORTH, DIR_SOUTH, DIR_WEST, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_FaceDownUpAndRight[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceDownUpAndRight_Step0, - MovementType_FaceDownUpAndRight_Step1, - MovementType_FaceDownUpAndRight_Step2, - MovementType_FaceDownUpAndRight_Step3, - MovementType_FaceDownUpAndRight_Step4, -}; - -const u8 gDownUpAndRightDirections[] = {DIR_SOUTH, DIR_NORTH, DIR_EAST, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_FaceUpLeftAndRight[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceUpLeftAndRight_Step0, - MovementType_FaceUpLeftAndRight_Step1, - MovementType_FaceUpLeftAndRight_Step2, - MovementType_FaceUpLeftAndRight_Step3, - MovementType_FaceUpLeftAndRight_Step4, -}; - -const u8 gUpLeftAndRightDirections[] = {DIR_NORTH, DIR_WEST, DIR_EAST, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_FaceDownLeftAndRight[])(struct MapObject *, struct Sprite *) = { - MovementType_FaceDownLeftAndRight_Step0, - MovementType_FaceDownLeftAndRight_Step1, - MovementType_FaceDownLeftAndRight_Step2, - MovementType_FaceDownLeftAndRight_Step3, - MovementType_FaceDownLeftAndRight_Step4, -}; - -const u8 gDownLeftAndRightDirections[] = {DIR_WEST, DIR_EAST, DIR_SOUTH, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_RotateCounterclockwise[])(struct MapObject *, struct Sprite *) = { - MovementType_RotateCounterclockwise_Step0, - MovementType_RotateCounterclockwise_Step1, - MovementType_RotateCounterclockwise_Step2, - MovementType_RotateCounterclockwise_Step3, -}; - -const u8 gCounterclockwiseDirections[] = {DIR_SOUTH, DIR_EAST, DIR_WEST, DIR_SOUTH, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_RotateClockwise[])(struct MapObject *, struct Sprite *) = { - MovementType_RotateClockwise_Step0, - MovementType_RotateClockwise_Step1, - MovementType_RotateClockwise_Step2, - MovementType_RotateClockwise_Step3, -}; - -const u8 gClockwiseDirections[] = {DIR_SOUTH, DIR_WEST, DIR_EAST, DIR_NORTH, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_WalkBackAndForth[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkBackAndForth_Step0, - MovementType_WalkBackAndForth_Step1, - MovementType_WalkBackAndForth_Step2, - MovementType_WalkBackAndForth_Step3, -}; - -u8 (*const gMovementTypeFuncs_WalkSequenceUpRightLeftDown[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceUpRightLeftDown_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gUpRightLeftDownDirections[] = {DIR_NORTH, DIR_EAST, DIR_WEST, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceRightLeftDownUp[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceRightLeftDownUp_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gRightLeftDownUpDirections[] = {DIR_EAST, DIR_WEST, DIR_SOUTH, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceDownUpRightLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceDownUpRightLeft_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gDownUpRightLeftDirections[] = {DIR_SOUTH, DIR_NORTH, DIR_EAST, DIR_WEST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceLeftDownUpRight[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceLeftDownUpRight_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gLeftDownUpRightDirections[] = {DIR_WEST, DIR_SOUTH, DIR_NORTH, DIR_EAST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceUpLeftRightDown[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceUpLeftRightDown_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gUpLeftRightDownDirections[] = {DIR_NORTH, DIR_WEST, DIR_EAST, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceLeftRightDownUp[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceLeftRightDownUp_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gLeftRightDownUpDirections[] = {DIR_WEST, DIR_EAST, DIR_SOUTH, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceDownUpLeftRight[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceDownUpLeftRight_Step1, - MovementType_WalkSequence_Step2 -}; - -u8 (*const gMovementTypeFuncs_WalkSequenceRightDownUpLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceRightDownUpLeft_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gRightDownUpLeftDirections[] = {DIR_EAST, DIR_SOUTH, DIR_NORTH, DIR_WEST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceLeftUpDownRight[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceLeftUpDownRight_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gLeftUpDownRightDirections[] = {DIR_WEST, DIR_NORTH, DIR_SOUTH, DIR_EAST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceUpDownRightLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceUpDownRightLeft_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gUpDownRightLeftDirections[] = {DIR_NORTH, DIR_SOUTH, DIR_EAST, DIR_WEST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceRightLeftUpDown[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceRightLeftUpDown_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gRightLeftUpDownDirections[] = {DIR_EAST, DIR_WEST, DIR_NORTH, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceDownRightLeftUp[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceDownRightLeftUp_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gDownRightLeftUpDirections[] = {DIR_SOUTH, DIR_EAST, DIR_WEST, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceRightUpDownLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceRightUpDownLeft_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gRightUpDownLeftDirections[] = {DIR_EAST, DIR_NORTH, DIR_SOUTH, DIR_WEST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceUpDownLeftRight[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceUpDownLeftRight_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gUpDownLeftRightDirections[] = {DIR_NORTH, DIR_SOUTH, DIR_WEST, DIR_EAST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceLeftRightUpDown[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceLeftRightUpDown_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gLeftRightUpDownDirections[] = {DIR_WEST, DIR_EAST, DIR_NORTH, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceDownLeftRightUp[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceDownLeftRightUp_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gDownLeftRightUpDirections[] = {DIR_SOUTH, DIR_WEST, DIR_EAST, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceUpLeftDownRight[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceUpLeftDownRight_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gUpLeftDownRightDirections[] = {DIR_NORTH, DIR_WEST, DIR_SOUTH, DIR_EAST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceDownRightUpLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceDownRightUpLeft_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gDownRightUpLeftDirections[] = {DIR_SOUTH, DIR_EAST, DIR_NORTH, DIR_WEST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceLeftDownRightUp[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceLeftDownRightUp_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gLeftDownRightUpDirections[] = {DIR_WEST, DIR_SOUTH, DIR_EAST, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceRightUpLeftDown[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceRightUpLeftDown_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gRightUpLeftDownDirections[] = {DIR_EAST, DIR_NORTH, DIR_WEST, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceUpRightDownLeft[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceUpRightDownLeft_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gUpRightDownLeftDirections[] = {DIR_NORTH, DIR_EAST, DIR_SOUTH, DIR_WEST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceDownLeftUpRight[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceDownLeftUpRight_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gDownLeftUpRightDirections[] = {DIR_SOUTH, DIR_WEST, DIR_NORTH, DIR_EAST}; - -u8 (*const gMovementTypeFuncs_WalkSequenceLeftUpRightDown[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceLeftUpRightDown_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gLeftUpRightDownDirections[] = {DIR_WEST, DIR_NORTH, DIR_EAST, DIR_SOUTH}; - -u8 (*const gMovementTypeFuncs_WalkSequenceRightDownLeftUp[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkSequence_Step0, - MovementType_WalkSequenceRightDownLeftUp_Step1, - MovementType_WalkSequence_Step2 -}; - -const u8 gRightDownLeftUpDirections[] = {DIR_EAST, DIR_SOUTH, DIR_WEST, DIR_NORTH}; - -u8 (*const gMovementTypeFuncs_CopyPlayer[])(struct MapObject *, struct Sprite *) = { - MovementType_CopyPlayer_Step0, - MovementType_CopyPlayer_Step1, - MovementType_CopyPlayer_Step2 -}; - -u8 (*const gCopyPlayerMovementFuncs[])(struct MapObject *, struct Sprite *, u8, bool8(u8)) = { - CopyablePlayerMovement_None, - CopyablePlayerMovement_FaceDirection, - CopyablePlayerMovement_GoSpeed0, - CopyablePlayerMovement_GoSpeed1, - CopyablePlayerMovement_GoSpeed2, - CopyablePlayerMovement_Slide, - cph_IM_DIFFERENT, - CopyablePlayerMovement_GoSpeed4, - CopyablePlayerMovement_Jump, - CopyablePlayerMovement_None, - CopyablePlayerMovement_None -}; - -u8 (*const gMovementTypeFuncs_CopyPlayerInGrass[])(struct MapObject *, struct Sprite *) = { - MovementType_CopyPlayer_Step0, - MovementType_CopyPlayerInGrass_Step1, - MovementType_CopyPlayer_Step2 -}; - -u8 (*const gMovementTypeFuncs_Hidden[])(struct MapObject *, struct Sprite *) = { - MovementType_Hidden_Step0 -}; - -u8 (*const gMovementTypeFuncs_WalkInPlace[])(struct MapObject *, struct Sprite *) = { - MovementType_WalkInPlace_Step0, - MovementType_WalkInPlace_Step1 -}; - -u8 (*const gMovementTypeFuncs_JogInPlace[])(struct MapObject *, struct Sprite *) = { - MovementType_JogInPlace_Step0, - MovementType_WalkInPlace_Step1 -}; - -u8 (*const gMovementTypeFuncs_RunInPlace[])(struct MapObject *, struct Sprite *) = { - MovementType_RunInPlace_Step0, - MovementType_WalkInPlace_Step1 -}; - -u8 (*const gMovementTypeFuncs_Invisible[])(struct MapObject *, struct Sprite *) = { - MovementType_Invisible_Step0, - MovementType_Invisible_Step1, - MovementType_Invisible_Step2 -}; - -#endif //POKERUBY_CALLBACK_SUBROUTINE_POINTERS_H |