sm64pc/actors/thwomp/collision.inc.c

134 lines
3.2 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// Thwomp
// 0x0500B7D0 - 0x0500B92C
const s16 thwomp_seg5_collision_0500B7D0[] = {
COL_INIT(),
COL_VERTEX_INIT(0x14),
COL_VERTEX(-156, 3, 73),
COL_VERTEX(98, 3, 157),
COL_VERTEX(-97, 3, 157),
COL_VERTEX(157, 3, 73),
COL_VERTEX(106, 252, 157),
COL_VERTEX(-105, 252, 157),
COL_VERTEX(157, 252, 79),
COL_VERTEX(0, 302, 102),
COL_VERTEX(93, 330, 0),
COL_VERTEX(-156, 252, 79),
COL_VERTEX(-92, 330, 0),
COL_VERTEX(-156, 3, -72),
COL_VERTEX(-97, 3, -156),
COL_VERTEX(98, 3, -156),
COL_VERTEX(-105, 252, -156),
COL_VERTEX(106, 252, -156),
COL_VERTEX(-156, 252, -78),
COL_VERTEX(0, 302, -101),
COL_VERTEX(157, 3, -72),
COL_VERTEX(157, 252, -78),
COL_TRI_INIT(SURFACE_NO_CAM_COLLISION, 36),
COL_TRI(0, 1, 2),
COL_TRI(0, 3, 1),
COL_TRI(1, 4, 5),
COL_TRI(1, 5, 2),
COL_TRI(1, 3, 6),
COL_TRI(4, 1, 6),
COL_TRI(7, 4, 8),
COL_TRI(6, 8, 4),
COL_TRI(5, 4, 7),
COL_TRI(9, 5, 10),
COL_TRI(2, 5, 9),
COL_TRI(10, 5, 7),
COL_TRI(2, 9, 0),
COL_TRI(0, 11, 12),
COL_TRI(0, 12, 13),
COL_TRI(8, 10, 7),
COL_TRI(12, 14, 15),
COL_TRI(12, 15, 13),
COL_TRI(17, 14, 10),
COL_TRI(16, 10, 14),
COL_TRI(14, 12, 16),
COL_TRI(15, 14, 17),
COL_TRI(17, 8, 15),
COL_TRI(15, 8, 19),
COL_TRI(13, 15, 19),
COL_TRI(0, 13, 18),
COL_TRI(13, 19, 18),
COL_TRI(19, 8, 6),
COL_TRI(17, 10, 8),
COL_TRI(9, 10, 16),
COL_TRI(18, 19, 6),
COL_TRI(0, 9, 16),
COL_TRI(0, 18, 3),
COL_TRI(18, 6, 3),
COL_TRI(0, 16, 11),
COL_TRI(12, 11, 16),
COL_TRI_STOP(),
COL_END(),
};
// 0x0500B92C - 0x0500BA88
const s16 thwomp_seg5_collision_0500B92C[] = {
COL_INIT(),
COL_VERTEX_INIT(0x14),
COL_VERTEX(-156, 3, 73),
COL_VERTEX(98, 3, 157),
COL_VERTEX(-97, 3, 157),
COL_VERTEX(157, 3, 73),
COL_VERTEX(106, 252, 157),
COL_VERTEX(-105, 252, 157),
COL_VERTEX(157, 252, 79),
COL_VERTEX(0, 302, 102),
COL_VERTEX(93, 330, 0),
COL_VERTEX(-156, 252, 79),
COL_VERTEX(-92, 330, 0),
COL_VERTEX(-156, 3, -72),
COL_VERTEX(-97, 3, -156),
COL_VERTEX(98, 3, -156),
COL_VERTEX(-105, 252, -156),
COL_VERTEX(106, 252, -156),
COL_VERTEX(-156, 252, -78),
COL_VERTEX(0, 302, -101),
COL_VERTEX(157, 3, -72),
COL_VERTEX(157, 252, -78),
COL_TRI_INIT(SURFACE_NO_CAM_COLLISION, 36),
COL_TRI(0, 1, 2),
COL_TRI(0, 3, 1),
COL_TRI(1, 4, 5),
COL_TRI(1, 5, 2),
COL_TRI(1, 3, 6),
COL_TRI(4, 1, 6),
COL_TRI(7, 4, 8),
COL_TRI(6, 8, 4),
COL_TRI(5, 4, 7),
COL_TRI(9, 5, 10),
COL_TRI(2, 5, 9),
COL_TRI(10, 5, 7),
COL_TRI(2, 9, 0),
COL_TRI(0, 11, 12),
COL_TRI(0, 12, 13),
COL_TRI(8, 10, 7),
COL_TRI(12, 14, 15),
COL_TRI(12, 15, 13),
COL_TRI(17, 14, 10),
COL_TRI(16, 10, 14),
COL_TRI(14, 12, 16),
COL_TRI(15, 14, 17),
COL_TRI(17, 8, 15),
COL_TRI(15, 8, 19),
COL_TRI(13, 15, 19),
COL_TRI(0, 13, 18),
COL_TRI(13, 19, 18),
COL_TRI(19, 8, 6),
COL_TRI(17, 10, 8),
COL_TRI(9, 10, 16),
COL_TRI(18, 19, 6),
COL_TRI(0, 9, 16),
COL_TRI(0, 18, 3),
COL_TRI(18, 6, 3),
COL_TRI(0, 16, 11),
COL_TRI(12, 11, 16),
COL_TRI_STOP(),
COL_END(),
};