Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
4.4 KiB

5 years ago
  1. lll_seg7_vertex_07018708: # 0x07018708 - 0x07018808
  2. vertex -165, 0, 0, 0, 514, 0x95, 0x1A, 0xC2, 0xFF
  3. vertex -115, 205, 0, 168, -1014, 0x95, 0x1A, 0xC2, 0xFF
  4. vertex -57, 205, -100, 1098, -1014, 0x95, 0x1A, 0xC2, 0xFF
  5. vertex -82, 0, -143, 1296, 514, 0x95, 0x1A, 0xC2, 0xFF
  6. vertex -57, 205, -100, -496, -838, 0x00, 0x7F, 0x00, 0xFF
  7. vertex -115, 205, 0, -960, 0, 0x00, 0x7F, 0x00, 0xFF
  8. vertex -57, 205, 101, -496, 774, 0x00, 0x7F, 0x00, 0xFF
  9. vertex 58, 205, 101, 434, 774, 0x00, 0x7F, 0x00, 0xFF
  10. vertex 116, 205, 0, 898, 0, 0x00, 0x7F, 0x00, 0xFF
  11. vertex 58, 205, -100, 434, -838, 0x00, 0x7F, 0x00, 0xFF
  12. vertex -82, 0, 144, 1190, 1638, 0x95, 0x1A, 0x3E, 0xFF
  13. vertex -57, 205, 101, 990, 0, 0x95, 0x1A, 0x3E, 0xFF
  14. vertex -165, 0, 0, -138, 1638, 0x95, 0x1A, 0x3E, 0xFF
  15. vertex -57, 205, 101, 990, 0, 0x95, 0x1A, 0x3D, 0xFF
  16. vertex -115, 205, 0, 60, 0, 0x95, 0x1A, 0x3D, 0xFF
  17. vertex -165, 0, 0, -138, 1638, 0x95, 0x1A, 0x3D, 0xFF
  18. lll_seg7_vertex_07018808: # 0x07018808 - 0x07018908
  19. vertex -82, 0, -143, -1358, 514, 0x00, 0x1A, 0x84, 0xFF
  20. vertex -57, 205, -100, -1160, -1014, 0x00, 0x1A, 0x84, 0xFF
  21. vertex 58, 205, -100, -230, -1014, 0x00, 0x1A, 0x84, 0xFF
  22. vertex 83, 0, 144, 0, 990, 0x00, 0x1A, 0x7C, 0xFF
  23. vertex -57, 205, 101, -1160, -682, 0x00, 0x1A, 0x7C, 0xFF
  24. vertex -82, 0, 144, -1358, 990, 0x00, 0x1A, 0x7C, 0xFF
  25. vertex 58, 205, 101, -230, -682, 0x00, 0x1A, 0x7C, 0xFF
  26. vertex 166, 0, 0, 1296, 990, 0x6B, 0x1A, 0x3D, 0xFF
  27. vertex 116, 205, 0, 1098, -682, 0x6B, 0x1A, 0x3D, 0xFF
  28. vertex 58, 205, 101, 168, -682, 0x6B, 0x1A, 0x3D, 0xFF
  29. vertex 166, 0, 0, 1296, 990, 0x6B, 0x1A, 0x3E, 0xFF
  30. vertex 58, 205, 101, 168, -682, 0x6B, 0x1A, 0x3E, 0xFF
  31. vertex 83, 0, 144, 0, 990, 0x6B, 0x1A, 0x3E, 0xFF
  32. vertex 83, 0, -143, -138, 1162, 0x6B, 0x1A, 0xC2, 0xFF
  33. vertex 58, 205, -100, 60, -364, 0x6B, 0x1A, 0xC2, 0xFF
  34. vertex 116, 205, 0, 990, -364, 0x6B, 0x1A, 0xC2, 0xFF
  35. lll_seg7_vertex_07018908: # 0x07018908 - 0x07018968
  36. vertex 83, 0, -143, -138, 1162, 0x6B, 0x1A, 0xC2, 0xFF
  37. vertex 116, 205, 0, 990, -364, 0x6B, 0x1A, 0xC2, 0xFF
  38. vertex 166, 0, 0, 1190, 1162, 0x6B, 0x1A, 0xC2, 0xFF
  39. vertex -82, 0, -143, -1358, 514, 0x00, 0x1A, 0x84, 0xFF
  40. vertex 58, 205, -100, -230, -1014, 0x00, 0x1A, 0x84, 0xFF
  41. vertex 83, 0, -143, 0, 514, 0x00, 0x1A, 0x84, 0xFF
  42. lll_seg7_dl_07018968: # 0x07018968 - 0x07018A30
  43. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07004000
  44. gsDPLoadSync
  45. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  46. gsSPLight lll_seg7_light_0700FC08, 1
  47. gsSPLight lll_seg7_light_0700FC00, 2
  48. gsSPVertex lll_seg7_vertex_07018708, 16, 0
  49. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  50. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  51. gsSP2Triangles 4, 7, 8, 0x0, 4, 8, 9, 0x0
  52. gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 15, 0x0
  53. gsSPVertex lll_seg7_vertex_07018808, 16, 0
  54. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  55. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  56. gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 15, 0x0
  57. gsSPVertex lll_seg7_vertex_07018908, 6, 0
  58. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  59. gsSPEndDisplayList
  60. glabel lll_seg7_dl_07018A30 # 0x07018A30 - 0x07018AA0
  61. gsDPPipeSync
  62. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  63. gsSPClearGeometryMode G_SHADING_SMOOTH
  64. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD
  65. gsSPTexture -1, -1, 0, 0, 1
  66. gsDPTileSync
  67. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  68. gsDPSetTileSize 0, 0, 0, 124, 124
  69. gsSPDisplayList lll_seg7_dl_07018968
  70. gsSPTexture -1, -1, 0, 0, 0
  71. gsDPPipeSync
  72. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
  73. gsSPSetGeometryMode G_SHADING_SMOOTH
  74. gsSPEndDisplayList