mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 23:43:01 +00:00
388 lines
10 KiB
C
388 lines
10 KiB
C
// 0x0700C92C - 0x0700CE5A
|
|
const Collision jrb_seg7_collision_in_sunken_ship_3[] = {
|
|
COL_INIT(),
|
|
COL_VERTEX_INIT(0x4F),
|
|
COL_VERTEX(-613, 717, -48),
|
|
COL_VERTEX(-716, 1126, -91),
|
|
COL_VERTEX(-716, 717, -48),
|
|
COL_VERTEX(717, 1126, -91),
|
|
COL_VERTEX(-613, 1126, -91),
|
|
COL_VERTEX(-716, 1229, -101),
|
|
COL_VERTEX(-613, 1229, -101),
|
|
COL_VERTEX(-613, 1126, -1330),
|
|
COL_VERTEX(614, 1126, -91),
|
|
COL_VERTEX(614, 1126, -1310),
|
|
COL_VERTEX(-613, 1126, -1310),
|
|
COL_VERTEX(-716, 1331, -1330),
|
|
COL_VERTEX(-613, 1331, -1330),
|
|
COL_VERTEX(717, 1229, -101),
|
|
COL_VERTEX(614, 1126, -1330),
|
|
COL_VERTEX(717, 1331, -1330),
|
|
COL_VERTEX(614, 717, -48),
|
|
COL_VERTEX(-306, 819, 2560),
|
|
COL_VERTEX(-613, 717, 1946),
|
|
COL_VERTEX(-716, 717, 1946),
|
|
COL_VERTEX(-613, 614, -37),
|
|
COL_VERTEX(614, 614, 1946),
|
|
COL_VERTEX(614, 717, 1946),
|
|
COL_VERTEX(717, 717, -48),
|
|
COL_VERTEX(410, 819, 2560),
|
|
COL_VERTEX(410, 1536, -1740),
|
|
COL_VERTEX(512, 1536, -1740),
|
|
COL_VERTEX(307, 1536, -1842),
|
|
COL_VERTEX(-306, 1536, -1842),
|
|
COL_VERTEX(307, 1536, -1945),
|
|
COL_VERTEX(-40, 1024, 3482),
|
|
COL_VERTEX(102, 1024, 2970),
|
|
COL_VERTEX(41, 1126, 3482),
|
|
COL_VERTEX(-101, 717, 3072),
|
|
COL_VERTEX(-101, -101, 2662),
|
|
COL_VERTEX(102, 717, 3072),
|
|
COL_VERTEX(102, 922, 2867),
|
|
COL_VERTEX(307, 819, 2560),
|
|
COL_VERTEX(717, 0, 1946),
|
|
COL_VERTEX(0, -511, 2048),
|
|
COL_VERTEX(0, -306, -1637),
|
|
COL_VERTEX(717, 0, -921),
|
|
COL_VERTEX(410, 307, 2560),
|
|
COL_VERTEX(614, 1229, -1330),
|
|
COL_VERTEX(-409, 1229, -1709),
|
|
COL_VERTEX(-306, 1536, -1945),
|
|
COL_VERTEX(-511, 1536, -1740),
|
|
COL_VERTEX(-409, 1536, -1740),
|
|
COL_VERTEX(-102, -306, -1637),
|
|
COL_VERTEX(307, 717, -1945),
|
|
COL_VERTEX(-306, 717, -1945),
|
|
COL_VERTEX(-101, 922, 2867),
|
|
COL_VERTEX(-101, 1024, 2970),
|
|
COL_VERTEX(-40, 1126, 3482),
|
|
COL_VERTEX(-101, 922, 2970),
|
|
COL_VERTEX(614, 614, -37),
|
|
COL_VERTEX(102, 819, 2867),
|
|
COL_VERTEX(-306, 614, 2560),
|
|
COL_VERTEX(-409, 819, 2560),
|
|
COL_VERTEX(-409, 307, 2560),
|
|
COL_VERTEX(-716, 0, -921),
|
|
COL_VERTEX(0, -511, -921),
|
|
COL_VERTEX(-511, 717, -1740),
|
|
COL_VERTEX(614, 1229, -101),
|
|
COL_VERTEX(614, 1331, -1330),
|
|
COL_VERTEX(-613, 614, 1946),
|
|
COL_VERTEX(307, 614, 2560),
|
|
COL_VERTEX(717, 717, 1946),
|
|
COL_VERTEX(307, 1229, -1811),
|
|
COL_VERTEX(410, 1229, -1709),
|
|
COL_VERTEX(-306, 1229, -1812),
|
|
COL_VERTEX(41, 1024, 3482),
|
|
COL_VERTEX(102, -101, 2662),
|
|
COL_VERTEX(-101, 819, 2867),
|
|
COL_VERTEX(512, 717, -1740),
|
|
COL_VERTEX(-634, 1126, -1310),
|
|
COL_VERTEX(635, 1126, -1310),
|
|
COL_VERTEX(-613, 1229, -1330),
|
|
COL_VERTEX(-716, 0, 1946),
|
|
COL_TRI_INIT(SURFACE_DEFAULT, 140),
|
|
COL_TRI(2, 5, 11),
|
|
COL_TRI(0, 1, 2),
|
|
COL_TRI(0, 3, 1),
|
|
COL_TRI(1, 4, 5),
|
|
COL_TRI(4, 6, 5),
|
|
COL_TRI(6, 4, 7),
|
|
COL_TRI(4, 8, 9),
|
|
COL_TRI(4, 9, 10),
|
|
COL_TRI(11, 5, 6),
|
|
COL_TRI(11, 6, 12),
|
|
COL_TRI(6, 7, 12),
|
|
COL_TRI(8, 13, 63),
|
|
COL_TRI(8, 3, 13),
|
|
COL_TRI(14, 8, 63),
|
|
COL_TRI(13, 15, 64),
|
|
COL_TRI(13, 64, 63),
|
|
COL_TRI(15, 13, 23),
|
|
COL_TRI(14, 63, 64),
|
|
COL_TRI(0, 16, 3),
|
|
COL_TRI(16, 23, 3),
|
|
COL_TRI(17, 18, 19),
|
|
COL_TRI(17, 65, 18),
|
|
COL_TRI(18, 0, 2),
|
|
COL_TRI(19, 18, 2),
|
|
COL_TRI(18, 65, 20),
|
|
COL_TRI(18, 20, 0),
|
|
COL_TRI(0, 20, 16),
|
|
COL_TRI(20, 55, 16),
|
|
COL_TRI(17, 57, 65),
|
|
COL_TRI(17, 19, 58),
|
|
COL_TRI(21, 16, 55),
|
|
COL_TRI(21, 22, 16),
|
|
COL_TRI(22, 21, 66),
|
|
COL_TRI(23, 16, 67),
|
|
COL_TRI(16, 22, 67),
|
|
COL_TRI(15, 26, 25),
|
|
COL_TRI(22, 66, 37),
|
|
COL_TRI(24, 22, 37),
|
|
COL_TRI(24, 67, 22),
|
|
COL_TRI(15, 25, 64),
|
|
COL_TRI(25, 43, 64),
|
|
COL_TRI(26, 27, 25),
|
|
COL_TRI(27, 68, 69),
|
|
COL_TRI(26, 29, 27),
|
|
COL_TRI(27, 69, 25),
|
|
COL_TRI(28, 68, 27),
|
|
COL_TRI(29, 28, 27),
|
|
COL_TRI(25, 69, 43),
|
|
COL_TRI(28, 70, 68),
|
|
COL_TRI(29, 45, 28),
|
|
COL_TRI(30, 32, 53),
|
|
COL_TRI(30, 71, 32),
|
|
COL_TRI(31, 32, 35),
|
|
COL_TRI(32, 71, 35),
|
|
COL_TRI(33, 35, 71),
|
|
COL_TRI(33, 71, 30),
|
|
COL_TRI(34, 72, 35),
|
|
COL_TRI(34, 35, 33),
|
|
COL_TRI(35, 72, 42),
|
|
COL_TRI(33, 30, 53),
|
|
COL_TRI(38, 41, 23),
|
|
COL_TRI(24, 36, 31),
|
|
COL_TRI(24, 37, 36),
|
|
COL_TRI(36, 52, 31),
|
|
COL_TRI(36, 51, 52),
|
|
COL_TRI(37, 56, 36),
|
|
COL_TRI(36, 73, 51),
|
|
COL_TRI(36, 56, 73),
|
|
COL_TRI(31, 35, 24),
|
|
COL_TRI(37, 66, 56),
|
|
COL_TRI(15, 23, 41),
|
|
COL_TRI(42, 38, 24),
|
|
COL_TRI(38, 39, 61),
|
|
COL_TRI(39, 38, 72),
|
|
COL_TRI(38, 42, 72),
|
|
COL_TRI(38, 61, 41),
|
|
COL_TRI(38, 23, 67),
|
|
COL_TRI(40, 74, 41),
|
|
COL_TRI(15, 41, 74),
|
|
COL_TRI(41, 61, 40),
|
|
COL_TRI(35, 42, 24),
|
|
COL_TRI(38, 67, 24),
|
|
COL_TRI(43, 75, 76),
|
|
COL_TRI(43, 77, 75),
|
|
COL_TRI(44, 77, 43),
|
|
COL_TRI(44, 43, 69),
|
|
COL_TRI(44, 69, 68),
|
|
COL_TRI(44, 68, 70),
|
|
COL_TRI(49, 50, 29),
|
|
COL_TRI(45, 46, 47),
|
|
COL_TRI(46, 12, 47),
|
|
COL_TRI(46, 11, 12),
|
|
COL_TRI(12, 44, 47),
|
|
COL_TRI(12, 77, 44),
|
|
COL_TRI(45, 47, 28),
|
|
COL_TRI(47, 70, 28),
|
|
COL_TRI(47, 44, 70),
|
|
COL_TRI(40, 48, 49),
|
|
COL_TRI(48, 50, 49),
|
|
COL_TRI(50, 45, 29),
|
|
COL_TRI(51, 73, 57),
|
|
COL_TRI(51, 58, 52),
|
|
COL_TRI(51, 17, 58),
|
|
COL_TRI(51, 57, 17),
|
|
COL_TRI(52, 54, 53),
|
|
COL_TRI(53, 31, 52),
|
|
COL_TRI(53, 32, 31),
|
|
COL_TRI(55, 65, 21),
|
|
COL_TRI(33, 53, 54),
|
|
COL_TRI(39, 72, 34),
|
|
COL_TRI(54, 52, 58),
|
|
COL_TRI(55, 20, 65),
|
|
COL_TRI(56, 57, 73),
|
|
COL_TRI(57, 66, 21),
|
|
COL_TRI(57, 21, 65),
|
|
COL_TRI(56, 66, 57),
|
|
COL_TRI(49, 74, 40),
|
|
COL_TRI(48, 40, 61),
|
|
COL_TRI(58, 33, 52),
|
|
COL_TRI(58, 59, 33),
|
|
COL_TRI(58, 19, 78),
|
|
COL_TRI(34, 59, 78),
|
|
COL_TRI(59, 34, 33),
|
|
COL_TRI(34, 78, 39),
|
|
COL_TRI(60, 61, 78),
|
|
COL_TRI(61, 39, 78),
|
|
COL_TRI(19, 2, 78),
|
|
COL_TRI(2, 60, 78),
|
|
COL_TRI(58, 78, 59),
|
|
COL_TRI(60, 2, 11),
|
|
COL_TRI(60, 62, 48),
|
|
COL_TRI(62, 60, 11),
|
|
COL_TRI(48, 61, 60),
|
|
COL_TRI(48, 62, 50),
|
|
COL_TRI(45, 50, 46),
|
|
COL_TRI(50, 62, 46),
|
|
COL_TRI(46, 62, 11),
|
|
COL_TRI(15, 74, 26),
|
|
COL_TRI(26, 74, 49),
|
|
COL_TRI(26, 49, 29),
|
|
COL_TRI_STOP(),
|
|
COL_END(),
|
|
};
|
|
|
|
|
|
// 0x0700CE5C - 0x0700CEF0
|
|
const Collision jrb_seg7_collision_in_sunken_ship[] = {
|
|
COL_INIT(),
|
|
COL_VERTEX_INIT(0xA),
|
|
COL_VERTEX(512, 819, -409),
|
|
COL_VERTEX(307, 819, -409),
|
|
COL_VERTEX(307, 819, -255),
|
|
COL_VERTEX(512, 819, -255),
|
|
COL_VERTEX(307, 1024, -101),
|
|
COL_VERTEX(307, 819, -101),
|
|
COL_VERTEX(307, 1024, -409),
|
|
COL_VERTEX(512, 1024, -409),
|
|
COL_VERTEX(512, 819, -101),
|
|
COL_VERTEX(512, 1024, -101),
|
|
COL_TRI_INIT(SURFACE_DEFAULT, 10),
|
|
COL_TRI(4, 5, 1),
|
|
COL_TRI(4, 1, 6),
|
|
COL_TRI(7, 0, 8),
|
|
COL_TRI(7, 8, 9),
|
|
COL_TRI(5, 8, 3),
|
|
COL_TRI(5, 3, 2),
|
|
COL_TRI(6, 9, 4),
|
|
COL_TRI(6, 7, 9),
|
|
COL_TRI(7, 1, 0),
|
|
COL_TRI(7, 6, 1),
|
|
COL_TRI_INIT(SURFACE_WARP, 2),
|
|
COL_TRI(0, 1, 2),
|
|
COL_TRI(0, 2, 3),
|
|
COL_TRI_STOP(),
|
|
COL_END(),
|
|
};
|
|
|
|
// This is probably part of the "wooden ship" collision file as the standstill box.
|
|
// 0x0700CEF0 - 0x0700CF80
|
|
const Collision jrb_seg7_collision_0700CEF0[] = {
|
|
COL_INIT(),
|
|
COL_VERTEX_INIT(0xA),
|
|
COL_VERTEX(307, 1024, -101),
|
|
COL_VERTEX(307, 819, -101),
|
|
COL_VERTEX(307, 819, -409),
|
|
COL_VERTEX(307, 1024, -409),
|
|
COL_VERTEX(512, 1024, -409),
|
|
COL_VERTEX(512, 819, -409),
|
|
COL_VERTEX(512, 819, -101),
|
|
COL_VERTEX(512, 1024, -101),
|
|
COL_VERTEX(512, 819, -306),
|
|
COL_VERTEX(307, 819, -306),
|
|
COL_TRI_INIT(SURFACE_DEFAULT, 12),
|
|
COL_TRI(0, 1, 2),
|
|
COL_TRI(0, 2, 3),
|
|
COL_TRI(4, 5, 6),
|
|
COL_TRI(4, 6, 7),
|
|
COL_TRI(1, 6, 8),
|
|
COL_TRI(1, 8, 9),
|
|
COL_TRI(3, 7, 0),
|
|
COL_TRI(3, 4, 7),
|
|
COL_TRI(4, 3, 2),
|
|
COL_TRI(4, 2, 5),
|
|
COL_TRI(5, 9, 8),
|
|
COL_TRI(5, 2, 9),
|
|
COL_TRI_STOP(),
|
|
COL_END(),
|
|
};
|
|
|
|
// 0x0700CF80 - 0x0700D196
|
|
const Collision jrb_seg7_collision_in_sunken_ship_2[] = {
|
|
COL_INIT(),
|
|
COL_VERTEX_INIT(0x20),
|
|
COL_VERTEX(-409, 819, 2560),
|
|
COL_VERTEX(-409, 307, 2560),
|
|
COL_VERTEX(-101, 717, 3072),
|
|
COL_VERTEX(-101, 1024, 2970),
|
|
COL_VERTEX(-716, 0, 1946),
|
|
COL_VERTEX(-716, 717, 1946),
|
|
COL_VERTEX(102, 1024, 2970),
|
|
COL_VERTEX(410, 819, 2560),
|
|
COL_VERTEX(717, 1331, -1330),
|
|
COL_VERTEX(717, 717, -101),
|
|
COL_VERTEX(717, 0, -921),
|
|
COL_VERTEX(717, 717, 1946),
|
|
COL_VERTEX(-716, 717, -101),
|
|
COL_VERTEX(717, 1229, -101),
|
|
COL_VERTEX(717, 0, 1946),
|
|
COL_VERTEX(307, 819, -101),
|
|
COL_VERTEX(-716, 0, -921),
|
|
COL_VERTEX(41, 1126, 3482),
|
|
COL_VERTEX(-40, 1024, 3482),
|
|
COL_VERTEX(102, 717, 3072),
|
|
COL_VERTEX(-101, -101, 2662),
|
|
COL_VERTEX(307, 1024, -101),
|
|
COL_VERTEX(0, -511, 2048),
|
|
COL_VERTEX(410, 307, 2560),
|
|
COL_VERTEX(-40, 1126, 3482),
|
|
COL_VERTEX(-716, 1229, -101),
|
|
COL_VERTEX(0, -511, -921),
|
|
COL_VERTEX(512, 819, -101),
|
|
COL_VERTEX(-716, 1331, -1330),
|
|
COL_VERTEX(41, 1024, 3482),
|
|
COL_VERTEX(102, -101, 2662),
|
|
COL_VERTEX(512, 1024, -101),
|
|
COL_TRI_INIT(SURFACE_DEFAULT, 55),
|
|
COL_TRI(8, 9, 10),
|
|
COL_TRI(0, 1, 2),
|
|
COL_TRI(0, 2, 3),
|
|
COL_TRI(0, 4, 1),
|
|
COL_TRI(0, 5, 4),
|
|
COL_TRI(0, 3, 6),
|
|
COL_TRI(7, 0, 6),
|
|
COL_TRI(9, 15, 12),
|
|
COL_TRI(15, 9, 27),
|
|
COL_TRI(12, 25, 28),
|
|
COL_TRI(16, 12, 28),
|
|
COL_TRI(12, 16, 4),
|
|
COL_TRI(5, 12, 4),
|
|
COL_TRI(17, 29, 19),
|
|
COL_TRI(6, 17, 19),
|
|
COL_TRI(2, 29, 18),
|
|
COL_TRI(18, 29, 17),
|
|
COL_TRI(2, 19, 29),
|
|
COL_TRI(19, 30, 23),
|
|
COL_TRI(19, 23, 7),
|
|
COL_TRI(6, 19, 7),
|
|
COL_TRI(20, 30, 19),
|
|
COL_TRI(20, 19, 2),
|
|
COL_TRI(7, 11, 5),
|
|
COL_TRI(7, 5, 0),
|
|
COL_TRI(13, 8, 28),
|
|
COL_TRI(11, 9, 12),
|
|
COL_TRI(8, 13, 9),
|
|
COL_TRI(11, 12, 5),
|
|
COL_TRI(21, 31, 13),
|
|
COL_TRI(13, 31, 27),
|
|
COL_TRI(13, 27, 9),
|
|
COL_TRI(21, 13, 25),
|
|
COL_TRI(13, 28, 25),
|
|
COL_TRI(2, 18, 24),
|
|
COL_TRI(14, 22, 26),
|
|
COL_TRI(14, 26, 10),
|
|
COL_TRI(22, 14, 30),
|
|
COL_TRI(14, 23, 30),
|
|
COL_TRI(14, 10, 9),
|
|
COL_TRI(14, 9, 11),
|
|
COL_TRI(23, 14, 7),
|
|
COL_TRI(14, 11, 7),
|
|
COL_TRI(18, 17, 24),
|
|
COL_TRI(22, 30, 20),
|
|
COL_TRI(24, 17, 6),
|
|
COL_TRI(24, 6, 3),
|
|
COL_TRI(15, 21, 25),
|
|
COL_TRI(25, 12, 15),
|
|
COL_TRI(1, 20, 2),
|
|
COL_TRI(20, 1, 4),
|
|
COL_TRI(2, 24, 3),
|
|
COL_TRI(20, 4, 22),
|
|
COL_TRI(26, 22, 4),
|
|
COL_TRI(16, 26, 4),
|
|
COL_TRI_STOP(),
|
|
COL_END(),
|
|
};
|