mirror of
https://github.com/zeldaret/oot
synced 2026-06-20 16:21:16 -04:00
Cleanup extracted colliders 2: ARRAY_COUNT (#2643)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_bg_bdan_switch.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "one_point_cutscene.h"
|
||||
#include "printf.h"
|
||||
@@ -89,7 +90,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_bg_bombwall.h"
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "printf.h"
|
||||
#include "sfx.h"
|
||||
@@ -73,7 +74,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
3,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_bg_haka_sgami.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "sfx.h"
|
||||
#include "z_lib.h"
|
||||
@@ -102,7 +103,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
4,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_bg_haka_trap.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "rand.h"
|
||||
#include "sfx.h"
|
||||
@@ -106,7 +107,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_bg_hidan_dalm.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "sfx.h"
|
||||
#include "sys_matrix.h"
|
||||
@@ -95,7 +96,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
4,
|
||||
ARRAY_COUNT(sTrisElementInit),
|
||||
sTrisElementInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_bg_hidan_hrock.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "rumble.h"
|
||||
#include "sfx.h"
|
||||
@@ -71,7 +72,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -76,7 +77,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
6,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
6,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -63,7 +64,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "printf.h"
|
||||
#include "sfx.h"
|
||||
@@ -60,7 +61,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "z_bg_jya_goroiwa.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "sfx.h"
|
||||
#include "z_lib.h"
|
||||
@@ -65,7 +66,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_bg_menkuri_eye.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -60,7 +61,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ static ColliderTrisInit sTrisInitFloor = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInitFloor),
|
||||
sTrisElementsInitFloor,
|
||||
};
|
||||
|
||||
@@ -105,7 +105,7 @@ static ColliderTrisInit sTrisInitRutoWall = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sTrisElementsInitRutoWall),
|
||||
sTrisElementsInitRutoWall,
|
||||
};
|
||||
|
||||
@@ -143,7 +143,7 @@ static ColliderTrisInit sTrisInitUnusedWall = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInitWall),
|
||||
sTrisElementsInitWall,
|
||||
};
|
||||
|
||||
@@ -156,7 +156,7 @@ static ColliderTrisInit sTrisInitStingerWall = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInitWall),
|
||||
sTrisElementsInitWall,
|
||||
};
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_bg_po_event.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -89,7 +90,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_bg_spot06_objects.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -93,7 +94,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
3,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_bg_ydan_maruta.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "one_point_cutscene.h"
|
||||
#include "sfx.h"
|
||||
@@ -73,7 +74,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_bg_ydan_sp.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -85,7 +86,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "array_count.h"
|
||||
#include "collision_check.h"
|
||||
|
||||
static u8 D_808C7000[] = {
|
||||
@@ -231,7 +232,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
19,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -221,6 +221,6 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
19,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
@@ -111,6 +111,6 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
9,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
@@ -247,7 +247,7 @@ static ColliderJntSphInit sColliderJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
13,
|
||||
ARRAY_COUNT(sColliderJntSphElementsInit),
|
||||
sColliderJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
19,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "array_count.h"
|
||||
#include "collision_check.h"
|
||||
|
||||
static ColliderJntSphElementInit sJntSphElementsInitHand[] = {
|
||||
@@ -133,7 +134,7 @@ static ColliderJntSphInit sJntSphInitHand = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
11,
|
||||
ARRAY_COUNT(sJntSphElementsInitHand),
|
||||
sJntSphElementsInitHand,
|
||||
};
|
||||
|
||||
@@ -270,7 +271,7 @@ static ColliderJntSphInit sJntSphInitHead = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
11,
|
||||
ARRAY_COUNT(sJntSphElementsInitHead),
|
||||
sJntSphElementsInitHead,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_door_killer.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "printf.h"
|
||||
@@ -96,7 +97,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "z_en_ba.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -85,7 +86,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_bb.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "attributes.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
@@ -248,7 +249,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_bom.h"
|
||||
#include "overlays/effects/ovl_Effect_Ss_Dead_Sound/z_eff_ss_dead_sound.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -85,7 +86,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_bombf.h"
|
||||
#include "overlays/effects/ovl_Effect_Ss_Dead_Sound/z_eff_ss_dead_sound.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "regs.h"
|
||||
@@ -89,7 +90,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "z_en_bubble.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "sfx.h"
|
||||
@@ -70,7 +71,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/actors/ovl_En_Elf/z_en_elf.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -62,7 +63,7 @@ static ColliderJntSphInit sColliderJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "z_en_crow.h"
|
||||
|
||||
#include "array_count.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
#include "rand.h"
|
||||
@@ -66,7 +67,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
7,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_dh.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "attributes.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
@@ -113,7 +114,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/actors/ovl_En_Dh/z_en_dh.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -151,7 +152,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
5,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "overlays/actors/ovl_En_Bombf/z_en_bombf.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -141,7 +142,7 @@ static ColliderJntSphInit sBodyJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
6,
|
||||
ARRAY_COUNT(sBodyElementsInit),
|
||||
sBodyElementsInit,
|
||||
};
|
||||
|
||||
@@ -190,7 +191,7 @@ static ColliderTrisInit sHardTrisInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
3,
|
||||
ARRAY_COUNT(sHardElementsInit),
|
||||
sHardElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "libc64/math64.h"
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "segmented_address.h"
|
||||
@@ -206,7 +207,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
12,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/actors/ovl_Obj_Syokudai/z_obj_syokudai.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -85,7 +86,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_fish.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -73,7 +74,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "libc64/math64.h"
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "segmented_address.h"
|
||||
@@ -74,7 +75,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_geldb.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -153,7 +154,7 @@ static ColliderTrisInit sBlockTrisInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sBlockTrisElementsInit),
|
||||
sBlockTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "ichain.h"
|
||||
#include "printf.h"
|
||||
#include "quake.h"
|
||||
@@ -93,7 +94,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_honotrap.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -110,7 +111,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1 | OC2_UNK1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_horse_ganon.h"
|
||||
|
||||
#include "libc64/math64.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -97,7 +98,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1 | OC2_UNK1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1 | OC2_UNK1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1 | OC2_UNK1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ static ColliderTrisInit sTrisInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sTrisElementsInit),
|
||||
sTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/actors/ovl_Obj_Makekinsuta/z_obj_makekinsuta.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -93,7 +94,7 @@ static ColliderJntSphInit sColliderJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sColliderElementsInit),
|
||||
sColliderElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_mb.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -160,7 +161,7 @@ static ColliderTrisInit sFrontShieldingTrisInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_TRIS,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sFrontShieldingTrisElementsInit),
|
||||
sFrontShieldingTrisElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "z_en_ny.h"
|
||||
|
||||
#include "libc64/math64.h"
|
||||
#include "array_count.h"
|
||||
#include "attributes.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
@@ -74,7 +75,7 @@ static ColliderJntSphInit sColliderJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "overlays/effects/ovl_Effect_Ss_Hahen/z_eff_ss_hahen.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -113,7 +114,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_poh.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -113,7 +114,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/actors/ovl_En_Encount1/z_en_encount1.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -89,7 +90,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
2,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "libc64/math64.h"
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "attributes.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
@@ -71,7 +72,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "overlays/effects/ovl_Effect_Ss_Dead_Sound/z_eff_ss_dead_sound.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -125,7 +126,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_en_tp.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -91,7 +92,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "overlays/actors/ovl_En_Kanban/z_en_kanban.h"
|
||||
#include "assets/objects/object_fish/object_fish.h"
|
||||
#include "libc64/math64.h"
|
||||
#include "array_count.h"
|
||||
#include "attributes.h"
|
||||
#include "controller.h"
|
||||
#include "gfx.h"
|
||||
@@ -368,7 +369,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_1,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
12,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "z_mir_ray.h"
|
||||
|
||||
#include "libu64/debug.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -102,7 +103,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_NONE,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -66,7 +67,7 @@ static ColliderJntSphInit sJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sJntSphElementsInit),
|
||||
sJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include "overlays/actors/ovl_Obj_Oshihiki/z_obj_oshihiki.h"
|
||||
|
||||
#include "libc64/qrand.h"
|
||||
#include "array_count.h"
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "ichain.h"
|
||||
@@ -84,7 +85,7 @@ static ColliderJntSphInit sColliderJntSphInit = {
|
||||
OC2_TYPE_2,
|
||||
COLSHAPE_JNTSPH,
|
||||
},
|
||||
1,
|
||||
ARRAY_COUNT(sColliderJntSphElementsInit),
|
||||
sColliderJntSphElementsInit,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user