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.

86 lines
4.1 KiB

5 years ago
  1. lll_seg7_vertex_070183F0: # 0x070183F0 - 0x07018470
  2. vertex 0, -101, -191, 0, 990, 0x7F, 0x00, 0x00, 0xFF
  3. vertex 0, 0, 192, 3800, 0, 0x7F, 0x00, 0x00, 0xFF
  4. vertex 0, -101, 192, 3800, 990, 0x7F, 0x00, 0x00, 0xFF
  5. vertex 0, 0, -191, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  6. vertex -639, -101, 192, 3800, 990, 0x81, 0x00, 0x00, 0xFF
  7. vertex -639, 0, -191, 0, 0, 0x81, 0x00, 0x00, 0xFF
  8. vertex -639, -101, -191, 0, 990, 0x81, 0x00, 0x00, 0xFF
  9. vertex -639, 0, 192, 3800, 0, 0x81, 0x00, 0x00, 0xFF
  10. lll_seg7_vertex_07018470: # 0x07018470 - 0x070184B0
  11. vertex 0, 0, -191, -5140, 990, 0x00, 0x7F, 0x00, 0xFF
  12. vertex -639, 0, -191, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  13. vertex -639, 0, 192, 0, -2076, 0x00, 0x7F, 0x00, 0xFF
  14. vertex 0, 0, 192, -5140, -2076, 0x00, 0x7F, 0x00, 0xFF
  15. lll_seg7_vertex_070184B0: # 0x070184B0 - 0x070184F0
  16. vertex 0, -101, 192, -3352, 862, 0x00, 0x81, 0x00, 0xFF
  17. vertex -639, -101, 192, -158, 862, 0x00, 0x81, 0x00, 0xFF
  18. vertex -639, -101, -191, -158, -1054, 0x00, 0x81, 0x00, 0xFF
  19. vertex 0, -101, -191, -3352, -1054, 0x00, 0x81, 0x00, 0xFF
  20. lll_seg7_vertex_070184F0: # 0x070184F0 - 0x07018570
  21. vertex 0, -101, 192, 5334, 990, 0x00, 0x00, 0x7F, 0xFF
  22. vertex 0, 0, 192, 5334, 0, 0x00, 0x00, 0x7F, 0xFF
  23. vertex -639, 0, 192, -1052, 0, 0x00, 0x00, 0x7F, 0xFF
  24. vertex -639, -101, 192, -1052, 990, 0x00, 0x00, 0x7F, 0xFF
  25. vertex -639, -101, -191, 2268, 990, 0x00, 0x00, 0x81, 0xFF
  26. vertex -639, 0, -191, 2268, 0, 0x00, 0x00, 0x81, 0xFF
  27. vertex 0, 0, -191, -4118, 0, 0x00, 0x00, 0x81, 0xFF
  28. vertex 0, -101, -191, -4118, 990, 0x00, 0x00, 0x81, 0xFF
  29. lll_seg7_dl_07018570: # 0x07018570 - 0x070185C8
  30. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07005000
  31. gsDPLoadSync
  32. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  33. gsSPLight lll_seg7_light_0700FC08, 1
  34. gsSPLight lll_seg7_light_0700FC00, 2
  35. gsSPVertex lll_seg7_vertex_070183F0, 8, 0
  36. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  37. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  38. gsSPEndDisplayList
  39. lll_seg7_dl_070185C8: # 0x070185C8 - 0x07018600
  40. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_0900A000
  41. gsDPLoadSync
  42. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  43. gsSPVertex lll_seg7_vertex_07018470, 4, 0
  44. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  45. gsSPEndDisplayList
  46. lll_seg7_dl_07018600: # 0x07018600 - 0x07018638
  47. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09001800
  48. gsDPLoadSync
  49. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  50. gsSPVertex lll_seg7_vertex_070184B0, 4, 0
  51. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  52. gsSPEndDisplayList
  53. lll_seg7_dl_07018638: # 0x07018638 - 0x07018680
  54. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07000800
  55. gsDPLoadSync
  56. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  57. gsSPVertex lll_seg7_vertex_070184F0, 8, 0
  58. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  59. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  60. gsSPEndDisplayList
  61. glabel lll_seg7_dl_07018680 # 0x07018680 - 0x07018708
  62. gsDPPipeSync
  63. 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
  64. gsSPClearGeometryMode G_SHADING_SMOOTH
  65. 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
  66. gsSPTexture -1, -1, 0, 0, 1
  67. gsDPTileSync
  68. 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
  69. gsDPSetTileSize 0, 0, 0, 124, 124
  70. gsSPDisplayList lll_seg7_dl_07018570
  71. gsSPDisplayList lll_seg7_dl_070185C8
  72. gsSPDisplayList lll_seg7_dl_07018600
  73. gsSPDisplayList lll_seg7_dl_07018638
  74. gsSPTexture -1, -1, 0, 0, 0
  75. gsDPPipeSync
  76. 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
  77. gsSPSetGeometryMode G_SHADING_SMOOTH
  78. gsSPEndDisplayList