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.

83 lines
4.4 KiB

5 years ago
  1. lll_seg7_vertex_070162E0: # 0x070162E0 - 0x07016340
  2. vertex 0, 307, -895, 0, -3012, 0x00, 0x7F, 0x00, 0xFF
  3. vertex -767, 307, 384, -2586, 1244, 0x00, 0x7F, 0x00, 0xFF
  4. vertex 0, 307, 896, 0, 2946, 0x00, 0x7F, 0x00, 0xFF
  5. vertex -767, 307, -383, -2586, -1310, 0x00, 0x7F, 0x00, 0xFF
  6. vertex 768, 307, 384, 2522, 1244, 0x00, 0x7F, 0x00, 0xFF
  7. vertex 768, 307, -383, 2524, -1310, 0x00, 0x7F, 0x00, 0xFF
  8. lll_seg7_vertex_07016340: # 0x07016340 - 0x07016430
  9. vertex -767, 0, 384, 1160, 990, 0x81, 0x00, 0x00, 0xFF
  10. vertex -767, 307, -383, -3096, 0, 0x81, 0x00, 0x00, 0xFF
  11. vertex -767, 0, -383, -3096, 990, 0x81, 0x00, 0x00, 0xFF
  12. vertex 768, 0, -383, 330, 990, 0x7F, 0x00, 0x00, 0xFF
  13. vertex 768, 307, -383, 330, 0, 0x7F, 0x00, 0x00, 0xFF
  14. vertex 768, 307, 384, -4118, 0, 0x7F, 0x00, 0x00, 0xFF
  15. vertex 768, 0, 384, -4118, 990, 0x7F, 0x00, 0x00, 0xFF
  16. vertex 768, 0, 384, 4226, 990, 0x46, 0x00, 0x69, 0xFF
  17. vertex 768, 307, 384, 4226, 0, 0x46, 0x00, 0x69, 0xFF
  18. vertex 0, 307, 896, 0, 0, 0x46, 0x00, 0x69, 0xFF
  19. vertex 0, 0, 896, 0, 990, 0x46, 0x00, 0x69, 0xFF
  20. vertex 0, 0, 896, 1160, 990, 0xBA, 0x00, 0x69, 0xFF
  21. vertex -767, 307, 384, -3096, 0, 0xBA, 0x00, 0x69, 0xFF
  22. vertex -767, 0, 384, -3096, 990, 0xBA, 0x00, 0x69, 0xFF
  23. vertex 0, 307, 896, 1160, 0, 0xBA, 0x00, 0x69, 0xFF
  24. lll_seg7_vertex_07016430: # 0x07016430 - 0x070164E0
  25. vertex 0, 0, -895, 966, 990, 0x46, 0x00, 0x97, 0xFF
  26. vertex 0, 307, -895, 966, 0, 0x46, 0x00, 0x97, 0xFF
  27. vertex 768, 307, -383, -3096, 0, 0x46, 0x00, 0x97, 0xFF
  28. vertex -767, 0, 384, 1160, 990, 0x81, 0x00, 0x00, 0xFF
  29. vertex -767, 307, 384, 1160, 0, 0x81, 0x00, 0x00, 0xFF
  30. vertex -767, 307, -383, -3096, 0, 0x81, 0x00, 0x00, 0xFF
  31. vertex -767, 0, -383, 1160, 990, 0xBA, 0x00, 0x97, 0xFF
  32. vertex 0, 307, -895, -3096, 0, 0xBA, 0x00, 0x97, 0xFF
  33. vertex 0, 0, -895, -3096, 990, 0xBA, 0x00, 0x97, 0xFF
  34. vertex -767, 307, -383, 1160, 0, 0xBA, 0x00, 0x97, 0xFF
  35. vertex 768, 0, -383, -3096, 990, 0x46, 0x00, 0x97, 0xFF
  36. lll_seg7_dl_070164E0: # 0x070164E0 - 0x07016538
  37. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_07005800
  38. gsDPLoadSync
  39. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  40. gsSPLight lll_seg7_light_0700FC08, 1
  41. gsSPLight lll_seg7_light_0700FC00, 2
  42. gsSPVertex lll_seg7_vertex_070162E0, 6, 0
  43. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  44. gsSP2Triangles 0, 2, 4, 0x0, 0, 4, 5, 0x0
  45. gsSPEndDisplayList
  46. lll_seg7_dl_07016538: # 0x07016538 - 0x070165C8
  47. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800
  48. gsDPLoadSync
  49. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  50. gsSPVertex lll_seg7_vertex_07016340, 15, 0
  51. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  52. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  53. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  54. gsSP1Triangle 11, 14, 12, 0x0
  55. gsSPVertex lll_seg7_vertex_07016430, 11, 0
  56. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  57. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  58. gsSP1Triangle 0, 2, 10, 0x0
  59. gsSPEndDisplayList
  60. glabel lll_seg7_dl_070165C8 # 0x070165C8 - 0x07016658
  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_070164E0
  70. gsDPTileSync
  71. 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
  72. gsDPSetTileSize 0, 0, 0, 124, 124
  73. gsSPDisplayList lll_seg7_dl_07016538
  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