diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2024-07-28 16:53:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-28 13:53:28 -0700 |
| commit | cd087d85113291740357f9e7caaef916575a2775 (patch) | |
| tree | 509ddb8333644a32d737b9101ceae0187ed466e6 /include/z64snap.h | |
| parent | 43cac345667dee5568434c1cd54f432322dde1a1 (diff) | |
Introduce a bunch of small new headers (#1649)
* regs.h
* gfxalloc.h
* z64inventory.h
* gfx.h
* graph.h
* z64olib.h
* z64elf_message.h
* fix missing include
* Include z64inventory.h on z64save.h
* fix bss
* Move PosRot to z64math.h
* So dumb
* Update src/overlays/actors/ovl_En_Kusa/z_en_kusa.c
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* review
* Remove graph.h
* bss
---------
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Diffstat (limited to 'include/z64snap.h')
| -rw-r--r-- | include/z64snap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/z64snap.h b/include/z64snap.h index 8bec78c3d..c645e8cb7 100644 --- a/include/z64snap.h +++ b/include/z64snap.h @@ -4,6 +4,8 @@ #include "PR/ultratypes.h" #include "z64actor.h" +struct PlayState; + typedef s32 (*PictoValidationFunc)(struct PlayState*, Actor*); typedef struct { @@ -42,11 +44,11 @@ typedef enum { #define PICTO_VALID_TOPLEFT_X ((SCREEN_WIDTH - PICTO_VALID_WIDTH) / 2) #define PICTO_VALID_TOPLEFT_Y ((SCREEN_HEIGHT - PICTO_VALID_HEIGHT) / 2) -s32 Snap_RecordPictographedActors(PlayState* play); +s32 Snap_RecordPictographedActors(struct PlayState* play); void Snap_SetFlag(s32 flag); void Snap_UnsetFlag(s32 flag); u32 Snap_CheckFlag(s32 flag); s16 Snap_AbsS(s16 val); -s32 Snap_ValidatePictograph(PlayState* play, Actor* actor, s32 flag, Vec3f* pos, Vec3s* rot, f32 distanceMin, f32 distanceMax, s16 angleRange); +s32 Snap_ValidatePictograph(struct PlayState* play, Actor* actor, s32 flag, Vec3f* pos, Vec3s* rot, f32 distanceMin, f32 distanceMax, s16 angleRange); #endif |
