You've already forked ultrasm64-2
mirror of
https://github.com/HackerN64/ultrasm64-2.git
synced 2026-01-21 10:38:08 -08:00
Refresh 3
This commit is contained in:
39
actors/warp_collision/collision.inc.c
Normal file
39
actors/warp_collision/collision.inc.c
Normal file
@@ -0,0 +1,39 @@
|
||||
// Warp Collision (seems strange to put these collision in another file. Only instance of this seperation thus far. Not sure what this is doing as a file.)
|
||||
|
||||
// 0x0301CE78 - 0x0301CECC
|
||||
const s16 door_seg3_collision_0301CE78[] = {
|
||||
COL_INIT(),
|
||||
COL_VERTEX_INIT(0x8),
|
||||
COL_VERTEX(-80, 240, 30),
|
||||
COL_VERTEX(80, 240, 30),
|
||||
COL_VERTEX(80, 0, 30),
|
||||
COL_VERTEX(-80, 0, 30),
|
||||
COL_VERTEX(-80, 240, -30),
|
||||
COL_VERTEX(80, 0, -30),
|
||||
COL_VERTEX(80, 240, -30),
|
||||
COL_VERTEX(-80, 0, -30),
|
||||
|
||||
COL_TRI_INIT(SURFACE_DEFAULT, 4),
|
||||
COL_TRI(2, 1, 0),
|
||||
COL_TRI(3, 2, 0),
|
||||
COL_TRI(6, 5, 4),
|
||||
COL_TRI(5, 7, 4),
|
||||
COL_TRI_STOP(),
|
||||
COL_END(),
|
||||
};
|
||||
|
||||
// 0x0301CECC - 0x0301CEFC
|
||||
const s16 lll_hexagonal_mesh_seg3_collision_0301CECC[] = {
|
||||
COL_INIT(),
|
||||
COL_VERTEX_INIT(0x4),
|
||||
COL_VERTEX(-200, 0, -200),
|
||||
COL_VERTEX(200, 0, -200),
|
||||
COL_VERTEX(200, 0, 200),
|
||||
COL_VERTEX(-200, 0, 200),
|
||||
|
||||
COL_TRI_INIT(SURFACE_DEFAULT, 2),
|
||||
COL_TRI(2, 1, 0),
|
||||
COL_TRI(3, 2, 0),
|
||||
COL_TRI_STOP(),
|
||||
COL_END(),
|
||||
};
|
||||
@@ -1,35 +0,0 @@
|
||||
# Warp Collision (seems strange to put these collision in another file. Only instance of this seperation thus far. Not sure what this is doing as a file.)
|
||||
|
||||
glabel door_seg3_collision_0301CE78 # 0x0301CE78 - 0x0301CECC
|
||||
colInit
|
||||
colVertexInit 0x8
|
||||
colVertex -80, 240, 30
|
||||
colVertex 80, 240, 30
|
||||
colVertex 80, 0, 30
|
||||
colVertex -80, 0, 30
|
||||
colVertex -80, 240, -30
|
||||
colVertex 80, 0, -30
|
||||
colVertex 80, 240, -30
|
||||
colVertex -80, 0, -30
|
||||
|
||||
colTriInit SURFACE_DEFAULT, 4
|
||||
colTri 2, 1, 0
|
||||
colTri 3, 2, 0
|
||||
colTri 6, 5, 4
|
||||
colTri 5, 7, 4
|
||||
colTriStop
|
||||
colEnd
|
||||
|
||||
glabel lll_hexagonal_mesh_seg3_collision_0301CECC # 0x0301CECC - 0x0301CEFC
|
||||
colInit
|
||||
colVertexInit 0x4
|
||||
colVertex -200, 0, -200
|
||||
colVertex 200, 0, -200
|
||||
colVertex 200, 0, 200
|
||||
colVertex -200, 0, 200
|
||||
|
||||
colTriInit SURFACE_DEFAULT, 2
|
||||
colTri 2, 1, 0
|
||||
colTri 3, 2, 0
|
||||
colTriStop
|
||||
colEnd
|
||||
@@ -1 +0,0 @@
|
||||
# Warp Collision (seems strange to put these collision in another file. Only instance of this seperation thus far. Not sure what this is doing as a file.)
|
||||
Reference in New Issue
Block a user