sm64pc/levels/sl/areas/2/collision.inc.c

414 lines
12 KiB
C
Raw Normal View History

2019-11-03 20:36:27 +01:00
// 0x0700EFFC - 0x0700F978
const Collision sl_seg7_area_2_collision[] = {
COL_INIT(),
COL_VERTEX_INIT(0xC1),
COL_VERTEX(205, 0, 3482),
COL_VERTEX(-204, 154, 3482),
COL_VERTEX(0, 256, 3482),
COL_VERTEX(-204, 0, 3482),
COL_VERTEX(205, 154, 3482),
COL_VERTEX(205, 154, 3072),
COL_VERTEX(205, 0, 3072),
COL_VERTEX(-204, 0, 3072),
COL_VERTEX(0, 256, 3072),
COL_VERTEX(-204, 154, 3072),
COL_VERTEX(205, 154, 2662),
COL_VERTEX(205, 0, 2662),
COL_VERTEX(-204, 0, 2662),
COL_VERTEX(0, 256, 2662),
COL_VERTEX(-204, 154, 2662),
COL_VERTEX(-1668, 614, -1433),
COL_VERTEX(-1433, 0, -1433),
COL_VERTEX(-1668, 0, -1433),
COL_VERTEX(-1433, 614, -1433),
COL_VERTEX(-1433, 0, -1228),
COL_VERTEX(-1433, 614, -1228),
COL_VERTEX(-1668, 614, -1228),
COL_VERTEX(-1668, 0, -1228),
COL_VERTEX(-1228, 614, -613),
COL_VERTEX(-1023, 614, -613),
COL_VERTEX(-1023, 0, -613),
COL_VERTEX(-1228, 0, -613),
COL_VERTEX(-1023, 614, 717),
COL_VERTEX(-1023, 0, 717),
COL_VERTEX(512, 0, -818),
COL_VERTEX(1229, 0, -1433),
COL_VERTEX(1229, 0, -1228),
COL_VERTEX(1024, 0, -1228),
COL_VERTEX(1024, 0, -1433),
COL_VERTEX(-1433, 0, -613),
COL_VERTEX(-2047, 0, -818),
COL_VERTEX(-1433, 0, -818),
COL_VERTEX(205, 0, 410),
COL_VERTEX(-409, 0, 205),
COL_VERTEX(205, 0, 1434),
COL_VERTEX(410, 0, 410),
COL_VERTEX(410, 0, 1434),
COL_VERTEX(-204, 0, 1434),
COL_VERTEX(-409, 0, 1434),
COL_VERTEX(-204, 0, 205),
COL_VERTEX(-1228, 0, 205),
COL_VERTEX(-1842, 0, 205),
COL_VERTEX(-1842, 0, 0),
COL_VERTEX(-1228, 0, 717),
COL_VERTEX(512, 614, -1740),
COL_VERTEX(1024, 0, 0),
COL_VERTEX(1024, 0, -818),
COL_VERTEX(1229, 0, -818),
COL_VERTEX(1229, 0, 0),
COL_VERTEX(717, 0, -1740),
COL_VERTEX(1024, 0, 2662),
COL_VERTEX(-1023, 614, 2662),
COL_VERTEX(1024, 614, 2662),
COL_VERTEX(-2047, 614, 1229),
COL_VERTEX(-2047, 614, -2047),
COL_VERTEX(2048, 614, 1229),
COL_VERTEX(-2047, 0, -2047),
COL_VERTEX(717, 0, -818),
COL_VERTEX(717, 614, -818),
COL_VERTEX(512, 614, -818),
COL_VERTEX(1229, 614, -1433),
COL_VERTEX(1229, 614, -1228),
COL_VERTEX(1024, 614, -1228),
COL_VERTEX(1024, 614, -1433),
COL_VERTEX(-1228, 614, 717),
COL_VERTEX(-2047, 614, -613),
COL_VERTEX(-2047, 0, -613),
COL_VERTEX(-1433, 614, -613),
COL_VERTEX(-1433, 614, -818),
COL_VERTEX(-2047, 614, -818),
COL_VERTEX(205, 614, 410),
COL_VERTEX(410, 614, 410),
COL_VERTEX(-409, 614, 205),
COL_VERTEX(-204, 614, 205),
COL_VERTEX(205, 614, 1434),
COL_VERTEX(410, 614, 1434),
COL_VERTEX(-409, 614, 1434),
COL_VERTEX(-204, 614, 1434),
COL_VERTEX(-1842, 614, 205),
COL_VERTEX(-1228, 614, 205),
COL_VERTEX(-1842, 614, 0),
COL_VERTEX(-1228, 614, 0),
COL_VERTEX(-1228, 0, 0),
COL_VERTEX(717, 614, -1740),
COL_VERTEX(512, 0, -1740),
COL_VERTEX(1024, 614, -818),
COL_VERTEX(1024, 614, 0),
COL_VERTEX(1229, 614, -818),
COL_VERTEX(1229, 614, 0),
COL_VERTEX(-1023, 0, 2662),
COL_VERTEX(2048, 0, 1229),
COL_VERTEX(-2047, 0, 1229),
COL_VERTEX(2048, 0, -2047),
COL_VERTEX(2048, 614, -2047),
COL_VERTEX(205, 317, 819),
COL_VERTEX(-204, 307, 819),
COL_VERTEX(-204, 317, 819),
COL_VERTEX(205, 307, 819),
COL_VERTEX(205, 307, 1229),
COL_VERTEX(-204, 307, 1229),
COL_VERTEX(-204, 317, 1229),
COL_VERTEX(205, 317, 1229),
COL_VERTEX(410, 0, 1147),
COL_VERTEX(2048, 614, 1147),
COL_VERTEX(410, 614, 1147),
COL_VERTEX(2048, 0, 1147),
COL_VERTEX(-2047, 614, 1147),
COL_VERTEX(-2047, 0, 1147),
COL_VERTEX(-409, 0, 1147),
COL_VERTEX(-409, 614, 1147),
COL_VERTEX(-409, 614, 1106),
COL_VERTEX(-409, 0, 1106),
COL_VERTEX(-2047, 0, 1106),
COL_VERTEX(-2047, 614, 1106),
COL_VERTEX(410, 614, 1106),
COL_VERTEX(2048, 614, 1106),
COL_VERTEX(2048, 0, 1106),
COL_VERTEX(410, 0, 1106),
COL_VERTEX(-204, 614, 819),
COL_VERTEX(205, 0, -1228),
COL_VERTEX(-613, 0, -613),
COL_VERTEX(-1228, 0, -818),
COL_VERTEX(-613, 614, -818),
COL_VERTEX(2048, 0, -1228),
COL_VERTEX(1434, 0, -204),
COL_VERTEX(2048, 0, 0),
COL_VERTEX(1229, 0, -2047),
COL_VERTEX(0, 0, -2047),
COL_VERTEX(0, 0, -1433),
COL_VERTEX(205, 0, -2047),
COL_VERTEX(819, 0, 410),
COL_VERTEX(819, 0, 614),
COL_VERTEX(2048, 0, 614),
COL_VERTEX(-409, 0, -1023),
COL_VERTEX(205, 0, -818),
COL_VERTEX(-204, 0, -204),
COL_VERTEX(-204, 0, -818),
COL_VERTEX(-409, 0, -204),
COL_VERTEX(205, 0, -204),
COL_VERTEX(205, 614, 0),
COL_VERTEX(512, 0, -613),
COL_VERTEX(1024, 0, -613),
COL_VERTEX(205, 614, 1229),
COL_VERTEX(-204, 614, 1229),
COL_VERTEX(205, 614, 819),
COL_VERTEX(0, 614, -1433),
COL_VERTEX(205, 614, -1228),
COL_VERTEX(-613, 614, -613),
COL_VERTEX(-1228, 614, -818),
COL_VERTEX(-613, 0, -818),
COL_VERTEX(2048, 410, -1228),
COL_VERTEX(1229, 410, -1228),
COL_VERTEX(2048, 410, -1433),
COL_VERTEX(2048, 0, -1433),
COL_VERTEX(1229, 410, -1433),
COL_VERTEX(2048, 614, -204),
COL_VERTEX(2048, 0, -204),
COL_VERTEX(1434, 614, -204),
COL_VERTEX(2048, 614, 0),
COL_VERTEX(1434, 614, 0),
COL_VERTEX(1434, 0, 0),
COL_VERTEX(1229, 614, -2047),
COL_VERTEX(1024, 614, -2047),
COL_VERTEX(1024, 0, -2047),
COL_VERTEX(0, 614, -2047),
COL_VERTEX(205, 614, -2047),
COL_VERTEX(819, 614, 410),
COL_VERTEX(2048, 614, 410),
COL_VERTEX(2048, 0, 410),
COL_VERTEX(819, 614, 614),
COL_VERTEX(2048, 614, 614),
COL_VERTEX(-409, 614, -1023),
COL_VERTEX(205, 614, -1023),
COL_VERTEX(205, 0, -1023),
COL_VERTEX(205, 614, -818),
COL_VERTEX(-204, 614, -818),
COL_VERTEX(-409, 614, -204),
COL_VERTEX(-204, 614, -204),
COL_VERTEX(205, 0, 0),
COL_VERTEX(1024, 614, -204),
COL_VERTEX(1024, 0, -204),
COL_VERTEX(205, 614, -204),
COL_VERTEX(512, 614, -613),
COL_VERTEX(1024, 614, -613),
COL_VERTEX(-1975, 0, -1433),
COL_VERTEX(-1975, 614, -1433),
COL_VERTEX(-1975, 0, -1228),
COL_VERTEX(-1975, 614, -1228),
COL_TRI_INIT(SURFACE_DEFAULT, 106),
COL_TRI(12, 9, 7),
COL_TRI(0, 1, 2),
COL_TRI(0, 3, 1),
COL_TRI(0, 4, 5),
COL_TRI(0, 5, 6),
COL_TRI(3, 0, 6),
COL_TRI(0, 2, 4),
COL_TRI(7, 1, 3),
COL_TRI(3, 6, 7),
COL_TRI(8, 2, 1),
COL_TRI(8, 1, 9),
COL_TRI(7, 9, 1),
COL_TRI(5, 4, 2),
COL_TRI(5, 2, 8),
COL_TRI(10, 5, 8),
COL_TRI(6, 5, 10),
COL_TRI(11, 7, 6),
COL_TRI(6, 10, 11),
COL_TRI(11, 12, 7),
COL_TRI(13, 8, 9),
COL_TRI(13, 9, 14),
COL_TRI(12, 14, 9),
COL_TRI(10, 8, 13),
COL_TRI(25, 24, 27),
COL_TRI(15, 16, 17),
COL_TRI(15, 18, 16),
COL_TRI(19, 20, 21),
COL_TRI(19, 21, 22),
COL_TRI(23, 24, 25),
COL_TRI(23, 25, 26),
COL_TRI(31, 67, 32),
COL_TRI(25, 27, 28),
COL_TRI(29, 62, 63),
COL_TRI(29, 63, 64),
COL_TRI(30, 65, 66),
COL_TRI(30, 66, 31),
COL_TRI(31, 66, 67),
COL_TRI(32, 67, 68),
COL_TRI(32, 68, 33),
COL_TRI(33, 68, 65),
COL_TRI(33, 65, 30),
COL_TRI(34, 70, 71),
COL_TRI(34, 72, 70),
COL_TRI(35, 73, 36),
COL_TRI(35, 74, 73),
COL_TRI(39, 79, 75),
COL_TRI(36, 73, 72),
COL_TRI(36, 72, 34),
COL_TRI(37, 75, 76),
COL_TRI(37, 76, 40),
COL_TRI(38, 77, 78),
COL_TRI(38, 78, 44),
COL_TRI(41, 79, 39),
COL_TRI(39, 75, 37),
COL_TRI(16, 18, 20),
COL_TRI(16, 20, 19),
COL_TRI(40, 76, 80),
COL_TRI(40, 80, 41),
COL_TRI(41, 80, 79),
COL_TRI(45, 83, 46),
COL_TRI(42, 81, 43),
COL_TRI(42, 82, 81),
COL_TRI(43, 77, 38),
COL_TRI(43, 81, 77),
COL_TRI(44, 78, 82),
COL_TRI(44, 82, 42),
COL_TRI(48, 23, 26),
COL_TRI(45, 84, 83),
COL_TRI(46, 83, 85),
COL_TRI(46, 85, 47),
COL_TRI(47, 85, 86),
COL_TRI(47, 86, 87),
COL_TRI(48, 69, 23),
COL_TRI(52, 92, 93),
COL_TRI(49, 88, 54),
COL_TRI(49, 54, 89),
COL_TRI(50, 90, 51),
COL_TRI(50, 91, 90),
COL_TRI(51, 92, 52),
COL_TRI(51, 90, 92),
COL_TRI(54, 63, 62),
COL_TRI(52, 93, 53),
COL_TRI(53, 91, 50),
COL_TRI(53, 93, 91),
COL_TRI(28, 27, 69),
COL_TRI(28, 69, 48),
COL_TRI(54, 88, 63),
COL_TRI(57, 10, 13),
COL_TRI(29, 49, 89),
COL_TRI(29, 64, 49),
COL_TRI(14, 12, 94),
COL_TRI(55, 11, 10),
COL_TRI(56, 57, 13),
COL_TRI(57, 55, 10),
COL_TRI(59, 61, 97),
COL_TRI(56, 13, 14),
COL_TRI(56, 14, 94),
COL_TRI(57, 60, 95),
COL_TRI(57, 95, 55),
COL_TRI(58, 56, 94),
COL_TRI(58, 94, 96),
COL_TRI(61, 59, 58),
COL_TRI(59, 97, 98),
COL_TRI(60, 97, 95),
COL_TRI(60, 98, 97),
COL_TRI(61, 58, 96),
COL_TRI_INIT(SURFACE_ICE, 2),
COL_TRI(159, 156, 155),
COL_TRI(159, 155, 157),
COL_TRI_INIT(SURFACE_HARD_SLIPPERY, 8),
COL_TRI(58, 98, 60),
COL_TRI(58, 57, 56),
COL_TRI(58, 60, 57),
COL_TRI(58, 59, 98),
COL_TRI(97, 61, 96),
COL_TRI(97, 55, 95),
COL_TRI(97, 94, 55),
COL_TRI(97, 96, 94),
COL_TRI_INIT(SURFACE_HARD_NOT_SLIPPERY, 8),
COL_TRI(99, 100, 101),
COL_TRI(99, 102, 100),
COL_TRI(100, 103, 104),
COL_TRI(100, 102, 103),
COL_TRI(105, 103, 106),
COL_TRI(105, 104, 103),
COL_TRI(105, 99, 101),
COL_TRI(105, 106, 99),
COL_TRI_INIT(SURFACE_NO_CAM_COLLISION, 6),
COL_TRI(189, 15, 17),
COL_TRI(189, 190, 15),
COL_TRI(21, 191, 22),
COL_TRI(21, 192, 191),
COL_TRI(191, 192, 190),
COL_TRI(191, 190, 189),
COL_TRI_INIT(SURFACE_VANISH_CAP_WALLS, 74),
COL_TRI(119, 120, 121),
COL_TRI(107, 108, 109),
COL_TRI(107, 110, 108),
COL_TRI(111, 112, 113),
COL_TRI(111, 113, 114),
COL_TRI(115, 116, 117),
COL_TRI(115, 117, 118),
COL_TRI(16, 18, 150),
COL_TRI(119, 121, 122),
COL_TRI(105, 106, 147),
COL_TRI(105, 147, 148),
COL_TRI(123, 99, 101),
COL_TRI(123, 149, 99),
COL_TRI(16, 150, 133),
COL_TRI(126, 26, 23),
COL_TRI(124, 20, 19),
COL_TRI(124, 151, 20),
COL_TRI(125, 23, 26),
COL_TRI(125, 152, 23),
COL_TRI(126, 153, 127),
COL_TRI(126, 127, 154),
COL_TRI(30, 159, 157),
COL_TRI(126, 23, 153),
COL_TRI(127, 125, 154),
COL_TRI(127, 152, 125),
COL_TRI(128, 155, 156),
COL_TRI(128, 156, 31),
COL_TRI(30, 157, 158),
COL_TRI(131, 65, 30),
COL_TRI(129, 160, 161),
COL_TRI(129, 162, 160),
COL_TRI(130, 163, 164),
COL_TRI(130, 164, 165),
COL_TRI(129, 165, 164),
COL_TRI(129, 164, 162),
COL_TRI(133, 169, 132),
COL_TRI(131, 166, 65),
COL_TRI(33, 68, 167),
COL_TRI(33, 167, 168),
COL_TRI(132, 169, 170),
COL_TRI(132, 170, 134),
COL_TRI(133, 150, 169),
COL_TRI(137, 175, 174),
COL_TRI(134, 151, 124),
COL_TRI(134, 170, 151),
COL_TRI(135, 171, 172),
COL_TRI(135, 172, 173),
COL_TRI(136, 174, 171),
COL_TRI(136, 171, 135),
COL_TRI(140, 182, 181),
COL_TRI(137, 174, 136),
COL_TRI(138, 176, 177),
COL_TRI(138, 177, 178),
COL_TRI(139, 179, 180),
COL_TRI(139, 180, 141),
COL_TRI(140, 181, 142),
COL_TRI(50, 91, 144),
COL_TRI(141, 180, 182),
COL_TRI(141, 182, 140),
COL_TRI(142, 181, 176),
COL_TRI(142, 176, 138),
COL_TRI(139, 178, 177),
COL_TRI(139, 177, 179),
COL_TRI(29, 90, 51),
COL_TRI(50, 144, 183),
COL_TRI(143, 184, 185),
COL_TRI(143, 186, 184),
COL_TRI(144, 186, 143),
COL_TRI(144, 143, 183),
COL_TRI(29, 64, 90),
COL_TRI(145, 64, 29),
COL_TRI(145, 187, 64),
COL_TRI(146, 188, 187),
COL_TRI(146, 187, 145),
COL_TRI_STOP(),
COL_SPECIAL_INIT(1),
SPECIAL_OBJECT_WITH_YAW(/*preset*/ special_null_start, /*pos*/ 0, 0, 2867, /*yaw*/ 128), // unused, probably an early way to set intial position
COL_END(),
};