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.

99 lines
5.3 KiB

5 years ago
  1. lll_seg7_vertex_07013968: # 0x07013968 - 0x070139E8
  2. vertex -767, 307, -767, -1198, -2222, 0x00, 0x7F, 0x00, 0xFF
  3. vertex 1152, 307, 384, 4276, 1062, 0x00, 0x7F, 0x00, 0xFF
  4. vertex 1152, 307, -383, 4276, -1128, 0x00, 0x7F, 0x00, 0xFF
  5. vertex 768, 307, 768, 3180, 2156, 0x00, 0x7F, 0x00, 0xFF
  6. vertex 768, 307, -767, 3180, -2222, 0x00, 0x7F, 0x00, 0xFF
  7. vertex -1151, 307, 384, -2294, 1062, 0x00, 0x7F, 0x00, 0xFF
  8. vertex -767, 307, 768, -1198, 2156, 0x00, 0x7F, 0x00, 0xFF
  9. vertex -1151, 307, -383, -2294, -1128, 0x00, 0x7F, 0x00, 0xFF
  10. lll_seg7_vertex_070139E8: # 0x070139E8 - 0x07013AD8
  11. vertex 1152, 0, 384, 2012, 990, 0x59, 0x00, 0x59, 0xFF
  12. vertex 1152, 307, 384, 2012, 0, 0x59, 0x00, 0x59, 0xFF
  13. vertex 768, 307, 768, -394, 0, 0x59, 0x00, 0x59, 0xFF
  14. vertex -767, 0, -767, 7634, 990, 0x00, 0x00, 0x81, 0xFF
  15. vertex -767, 307, -767, 7634, 0, 0x00, 0x00, 0x81, 0xFF
  16. vertex 768, 307, -767, 0, 0, 0x00, 0x00, 0x81, 0xFF
  17. vertex 768, 0, -767, 0, 990, 0x00, 0x00, 0x81, 0xFF
  18. vertex 768, 0, -767, 2376, 990, 0x59, 0x00, 0xA7, 0xFF
  19. vertex 768, 307, -767, 2376, 0, 0x59, 0x00, 0xA7, 0xFF
  20. vertex 1152, 307, -383, 0, 0, 0x59, 0x00, 0xA7, 0xFF
  21. vertex 1152, 0, -383, 0, 990, 0x59, 0x00, 0xA7, 0xFF
  22. vertex 1152, 0, -383, 3374, 990, 0x7F, 0x00, 0x00, 0xFF
  23. vertex 1152, 307, -383, 3374, 0, 0x7F, 0x00, 0x00, 0xFF
  24. vertex 1152, 307, 384, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  25. vertex 1152, 0, 384, 0, 990, 0x7F, 0x00, 0x00, 0xFF
  26. lll_seg7_vertex_07013AD8: # 0x07013AD8 - 0x07013BC8
  27. vertex -1151, 0, 384, 3374, 990, 0x81, 0x00, 0x00, 0xFF
  28. vertex -1151, 307, -383, 0, 0, 0x81, 0x00, 0x00, 0xFF
  29. vertex -1151, 0, -383, 0, 990, 0x81, 0x00, 0x00, 0xFF
  30. vertex 1152, 0, 384, 2012, 990, 0x59, 0x00, 0x59, 0xFF
  31. vertex 768, 307, 768, -394, 0, 0x59, 0x00, 0x59, 0xFF
  32. vertex 768, 0, 768, -394, 990, 0x59, 0x00, 0x59, 0xFF
  33. vertex 768, 0, 768, 7122, 990, 0x00, 0x00, 0x7F, 0xFF
  34. vertex -767, 307, 768, -542, 0, 0x00, 0x00, 0x7F, 0xFF
  35. vertex -767, 0, 768, -542, 990, 0x00, 0x00, 0x7F, 0xFF
  36. vertex 768, 307, 768, 7122, 0, 0x00, 0x00, 0x7F, 0xFF
  37. vertex -767, 0, 768, 2012, 990, 0xA7, 0x00, 0x59, 0xFF
  38. vertex -767, 307, 768, 2012, 0, 0xA7, 0x00, 0x59, 0xFF
  39. vertex -1151, 307, 384, -394, 0, 0xA7, 0x00, 0x59, 0xFF
  40. vertex -1151, 0, 384, -394, 990, 0xA7, 0x00, 0x59, 0xFF
  41. vertex -1151, 307, 384, 3374, 0, 0x81, 0x00, 0x00, 0xFF
  42. lll_seg7_vertex_07013BC8: # 0x07013BC8 - 0x07013C08
  43. vertex -1151, 0, -383, 2376, 990, 0xA7, 0x00, 0xA7, 0xFF
  44. vertex -1151, 307, -383, 2376, 0, 0xA7, 0x00, 0xA7, 0xFF
  45. vertex -767, 307, -767, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
  46. vertex -767, 0, -767, 0, 990, 0xA7, 0x00, 0xA7, 0xFF
  47. lll_seg7_dl_07013C08: # 0x07013C08 - 0x07013C70
  48. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_0900A800
  49. gsDPLoadSync
  50. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  51. gsSPLight lll_seg7_light_0700FC08, 1
  52. gsSPLight lll_seg7_light_0700FC00, 2
  53. gsSPVertex lll_seg7_vertex_07013968, 8, 0
  54. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  55. gsSP2Triangles 0, 2, 4, 0x0, 0, 5, 6, 0x0
  56. gsSP2Triangles 0, 7, 5, 0x0, 0, 6, 3, 0x0
  57. gsSPEndDisplayList
  58. lll_seg7_dl_07013C70: # 0x07013C70 - 0x07013D28
  59. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800
  60. gsDPLoadSync
  61. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  62. gsSPVertex lll_seg7_vertex_070139E8, 15, 0
  63. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  64. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  65. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  66. gsSP1Triangle 11, 13, 14, 0x0
  67. gsSPVertex lll_seg7_vertex_07013AD8, 15, 0
  68. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  69. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  70. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  71. gsSP1Triangle 0, 14, 1, 0x0
  72. gsSPVertex lll_seg7_vertex_07013BC8, 4, 0
  73. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  74. gsSPEndDisplayList
  75. glabel lll_seg7_dl_07013D28 # 0x07013D28 - 0x07013DB8
  76. gsDPPipeSync
  77. 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
  78. gsSPClearGeometryMode G_SHADING_SMOOTH
  79. 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
  80. gsSPTexture -1, -1, 0, 0, 1
  81. gsDPTileSync
  82. 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
  83. gsDPSetTileSize 0, 0, 0, 124, 124
  84. gsSPDisplayList lll_seg7_dl_07013C08
  85. gsDPTileSync
  86. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  87. gsDPSetTileSize 0, 0, 0, 124, 124
  88. gsSPDisplayList lll_seg7_dl_07013C70
  89. gsSPTexture -1, -1, 0, 0, 0
  90. gsDPPipeSync
  91. 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
  92. gsSPSetGeometryMode G_SHADING_SMOOTH
  93. gsSPEndDisplayList