1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-23 07:21:19 +00:00

Add names to all typedef'd structs, unions, and enums (#2028)

* Add names to all typedef'd structs, unions, and enums

* wtf vs code

* Use a better regex
This commit is contained in:
cadmic 2024-08-12 00:07:48 -07:00 committed by GitHub
parent 672728455d
commit e6bc4bd8cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
426 changed files with 1417 additions and 1417 deletions

View file

@ -17,7 +17,7 @@ void MirRay_Draw(Actor* thisx, PlayState* play);
s32 MirRay_CheckInFrustum(Vec3f* vecA, Vec3f* vecB, f32 pointx, f32 pointy, f32 pointz, s16 radiusA, s16 radiusB);
// Locations of light beams in sMirRayData
typedef enum {
typedef enum MirRayBeamLocations {
/* 0 */ MIRRAY_SPIRIT_BOMBCHUIWAROOM_DOWNLIGHT,
/* 1 */ MIRRAY_SPIRIT_SUNBLOCKROOM_DOWNLIGHT,
/* 2 */ MIRRAY_SPIRIT_SINGLECOBRAROOM_DOWNLIGHT,

View file

@ -6,7 +6,7 @@
struct MirRay;
typedef struct {
typedef struct MirRayDataEntry {
/* 0x00 */ Vec3s sourcePoint;
/* 0x06 */ Vec3s poolPoint; // point at center of light pool on floor for windows and BigMirror, same as source point for Cobra Mirror
/* 0x0C */ s16 sourceEndRadius; // Radius of beam frustum at the source end
@ -19,7 +19,7 @@ typedef struct {
/* 0x1F */ u8 params;
} MirRayDataEntry; // size = 0x20
typedef struct {
typedef struct MirRayShieldReflection {
/* 0x00 */ Vec3f pos;
/* 0x0C */ MtxF mtx;
/* 0x4C */ CollisionPoly* reflectionPoly;