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.

93 lines
4.8 KiB

6 years ago
  1. lll_seg7_light_07017578: # 0x07017578 - 0x07017580
  2. .byte 0x3F, 0x3F, 0x3F, 0x00, 0x3F, 0x3F, 0x3F, 0x00
  3. lll_seg7_light_07017580: # 0x07017580 - 0x07017590
  4. .byte 0xFE, 0xFF, 0xFF, 0x00, 0xFE, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. lll_seg7_vertex_07017590: # 0x07017590 - 0x07017650
  7. vertex -511, 154, 128, 0, 224, 0x00, 0x7F, 0x00, 0xFF
  8. vertex -511, 154, 512, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  9. vertex 512, 154, 512, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  10. vertex 512, 154, 128, 990, 224, 0x00, 0x7F, 0x00, 0xFF
  11. vertex -511, 307, -127, -30, 732, 0x00, 0x6C, 0x41, 0xFF
  12. vertex -511, 154, 128, 0, 1232, 0x00, 0x6C, 0x41, 0xFF
  13. vertex 512, 154, 128, 988, 1246, 0x00, 0x6C, 0x41, 0xFF
  14. vertex 512, 307, -127, 992, 746, 0x00, 0x6C, 0x41, 0xFF
  15. vertex -511, 307, -511, 0, -1054, 0x00, 0x7F, 0x00, 0xFF
  16. vertex -511, 307, -127, 0, -288, 0x00, 0x7F, 0x00, 0xFF
  17. vertex 512, 307, -127, 990, -288, 0x00, 0x7F, 0x00, 0xFF
  18. vertex 512, 307, -511, 990, -1054, 0x00, 0x7F, 0x00, 0xFF
  19. lll_seg7_vertex_07017650: # 0x07017650 - 0x07017740
  20. vertex -511, 0, -511, 4056, 990, 0x00, 0x00, 0x81, 0xFF
  21. vertex 512, 307, -511, 650, 0, 0x00, 0x00, 0x81, 0xFF
  22. vertex 512, 0, -511, 650, 990, 0x00, 0x00, 0x81, 0xFF
  23. vertex 512, 0, -511, 2352, 990, 0x7F, 0x00, 0x00, 0xFF
  24. vertex 512, 307, -511, 2352, 0, 0x7F, 0x00, 0x00, 0xFF
  25. vertex 512, 307, -127, 1076, 0, 0x7F, 0x00, 0x00, 0xFF
  26. vertex 512, 154, 128, 224, 480, 0x7F, 0x00, 0x00, 0xFF
  27. vertex 512, 0, 512, -1052, 990, 0x7F, 0x00, 0x00, 0xFF
  28. vertex 512, 154, 512, -1052, 480, 0x7F, 0x00, 0x00, 0xFF
  29. vertex -511, 154, 128, 2098, 480, 0x81, 0x00, 0x00, 0xFF
  30. vertex -511, 307, -127, 1246, 0, 0x81, 0x00, 0x00, 0xFF
  31. vertex -511, 0, -511, 0, 990, 0x81, 0x00, 0x00, 0xFF
  32. vertex -511, 0, 512, 3374, 990, 0x81, 0x00, 0x00, 0xFF
  33. vertex -511, 154, 512, 3374, 480, 0x81, 0x00, 0x00, 0xFF
  34. vertex -511, 307, -511, 0, 0, 0x81, 0x00, 0x00, 0xFF
  35. lll_seg7_vertex_07017740: # 0x07017740 - 0x070177B0
  36. vertex 512, 0, 512, 3374, 990, 0x00, 0x00, 0x7F, 0xFF
  37. vertex -511, 154, 512, 0, 478, 0x00, 0x00, 0x7F, 0xFF
  38. vertex -511, 0, 512, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  39. vertex -511, 0, -511, 4056, 990, 0x00, 0x00, 0x81, 0xFF
  40. vertex -511, 307, -511, 4056, 0, 0x00, 0x00, 0x81, 0xFF
  41. vertex 512, 307, -511, 650, 0, 0x00, 0x00, 0x81, 0xFF
  42. vertex 512, 154, 512, 3374, 478, 0x00, 0x00, 0x7F, 0xFF
  43. lll_seg7_dl_070177B0: # 0x070177B0 - 0x07017818
  44. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_0900B800
  45. gsDPLoadSync
  46. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  47. gsSPLight lll_seg7_light_07017580, 1
  48. gsSPLight lll_seg7_light_07017578, 2
  49. gsSPVertex lll_seg7_vertex_07017590, 12, 0
  50. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  51. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  52. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  53. gsSPEndDisplayList
  54. lll_seg7_dl_07017818: # 0x07017818 - 0x070178A8
  55. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800
  56. gsDPLoadSync
  57. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  58. gsSPVertex lll_seg7_vertex_07017650, 15, 0
  59. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  60. gsSP2Triangles 3, 5, 6, 0x0, 3, 6, 7, 0x0
  61. gsSP2Triangles 6, 8, 7, 0x0, 9, 10, 11, 0x0
  62. gsSP2Triangles 12, 13, 9, 0x0, 12, 9, 11, 0x0
  63. gsSP1Triangle 10, 14, 11, 0x0
  64. gsSPVertex lll_seg7_vertex_07017740, 7, 0
  65. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  66. gsSP1Triangle 0, 6, 1, 0x0
  67. gsSPEndDisplayList
  68. glabel lll_seg7_dl_070178A8 # 0x070178A8 - 0x07017938
  69. gsDPPipeSync
  70. 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
  71. gsSPClearGeometryMode G_SHADING_SMOOTH
  72. 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
  73. gsSPTexture -1, -1, 0, 0, 1
  74. gsDPTileSync
  75. 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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  76. gsDPSetTileSize 0, 0, 0, 124, 124
  77. gsSPDisplayList lll_seg7_dl_070177B0
  78. gsDPTileSync
  79. 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
  80. gsDPSetTileSize 0, 0, 0, 124, 124
  81. gsSPDisplayList lll_seg7_dl_07017818
  82. gsSPTexture -1, -1, 0, 0, 0
  83. gsDPPipeSync
  84. 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
  85. gsSPSetGeometryMode G_SHADING_SMOOTH
  86. gsSPEndDisplayList