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_07015E90: # 0x07015E90 - 0x07015F10
  2. vertex -255, 307, -1023, -2074, -1054, 0x00, 0x7F, 0x00, 0xFF
  3. vertex -383, 307, 896, -2586, 6608, 0x00, 0x7F, 0x00, 0xFF
  4. vertex -255, 307, 1024, -2074, 7120, 0x00, 0x7F, 0x00, 0xFF
  5. vertex 256, 307, 1024, 0, 7120, 0x00, 0x7F, 0x00, 0xFF
  6. vertex -383, 307, -895, -2584, -542, 0x00, 0x7F, 0x00, 0xFF
  7. vertex 384, 307, 896, 478, 6608, 0x00, 0x7F, 0x00, 0xFF
  8. vertex 384, 307, -895, 480, -542, 0x00, 0x7F, 0x00, 0xFF
  9. vertex 256, 307, -1023, 0, -1054, 0x00, 0x7F, 0x00, 0xFF
  10. lll_seg7_vertex_07015F10: # 0x07015F10 - 0x07016000
  11. vertex -383, 0, -895, 0, 990, 0xA7, 0x00, 0xA7, 0xFF
  12. vertex -255, 307, -1023, -1234, 0, 0xA7, 0x00, 0xA7, 0xFF
  13. vertex -255, 0, -1023, -1234, 990, 0xA7, 0x00, 0xA7, 0xFF
  14. vertex 256, 0, 1024, 650, 990, 0x00, 0x00, 0x7F, 0xFF
  15. vertex 256, 307, 1024, 650, 0, 0x00, 0x00, 0x7F, 0xFF
  16. vertex -255, 307, 1024, -1052, 0, 0x00, 0x00, 0x7F, 0xFF
  17. vertex -255, 0, 1024, -1052, 990, 0x00, 0x00, 0x7F, 0xFF
  18. vertex -255, 0, 1024, 990, 990, 0xA7, 0x00, 0x59, 0xFF
  19. vertex -383, 307, 896, -212, 0, 0xA7, 0x00, 0x59, 0xFF
  20. vertex -383, 0, 896, -212, 990, 0xA7, 0x00, 0x59, 0xFF
  21. vertex -255, 307, 1024, 990, 0, 0xA7, 0x00, 0x59, 0xFF
  22. vertex -383, 0, 896, 990, 990, 0x81, 0x00, 0x00, 0xFF
  23. vertex -383, 307, 896, 990, 0, 0x81, 0x00, 0x00, 0xFF
  24. vertex -383, 307, -895, -8376, 0, 0x81, 0x00, 0x00, 0xFF
  25. vertex -383, 0, -895, -8376, 990, 0x81, 0x00, 0x00, 0xFF
  26. lll_seg7_vertex_07016000: # 0x07016000 - 0x070160F0
  27. vertex 384, 0, -895, 9336, 990, 0x7F, 0x00, 0x00, 0xFF
  28. vertex 384, 307, 896, 0, 0, 0x7F, 0x00, 0x00, 0xFF
  29. vertex 384, 0, 896, 0, 990, 0x7F, 0x00, 0x00, 0xFF
  30. vertex -383, 0, -895, 0, 990, 0xA7, 0x00, 0xA7, 0xFF
  31. vertex -383, 307, -895, 0, 0, 0xA7, 0x00, 0xA7, 0xFF
  32. vertex -255, 307, -1023, -1234, 0, 0xA7, 0x00, 0xA7, 0xFF
  33. vertex -255, 0, -1023, 1672, 990, 0x00, 0x00, 0x81, 0xFF
  34. vertex 256, 307, -1023, 0, 0, 0x00, 0x00, 0x81, 0xFF
  35. vertex 256, 0, -1023, 0, 990, 0x00, 0x00, 0x81, 0xFF
  36. vertex -255, 307, -1023, 1672, 0, 0x00, 0x00, 0x81, 0xFF
  37. vertex 256, 0, -1023, 1172, 990, 0x59, 0x00, 0xA7, 0xFF
  38. vertex 384, 307, -895, 0, 0, 0x59, 0x00, 0xA7, 0xFF
  39. vertex 384, 0, -895, 0, 990, 0x59, 0x00, 0xA7, 0xFF
  40. vertex 256, 307, -1023, 1172, 0, 0x59, 0x00, 0xA7, 0xFF
  41. vertex 384, 307, -895, 9336, 0, 0x7F, 0x00, 0x00, 0xFF
  42. lll_seg7_vertex_070160F0: # 0x070160F0 - 0x07016130
  43. vertex 384, 0, 896, 1172, 990, 0x59, 0x00, 0x59, 0xFF
  44. vertex 256, 307, 1024, 0, 0, 0x59, 0x00, 0x59, 0xFF
  45. vertex 256, 0, 1024, 0, 990, 0x59, 0x00, 0x59, 0xFF
  46. vertex 384, 307, 896, 1172, 0, 0x59, 0x00, 0x59, 0xFF
  47. lll_seg7_dl_07016130: # 0x07016130 - 0x07016198
  48. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09005000
  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_07015E90, 8, 0
  54. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  55. gsSP2Triangles 0, 4, 1, 0x0, 0, 5, 6, 0x0
  56. gsSP2Triangles 0, 6, 7, 0x0, 0, 3, 5, 0x0
  57. gsSPEndDisplayList
  58. lll_seg7_dl_07016198: # 0x07016198 - 0x07016250
  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_07015F10, 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, 10, 8, 0x0, 11, 12, 13, 0x0
  66. gsSP1Triangle 11, 13, 14, 0x0
  67. gsSPVertex lll_seg7_vertex_07016000, 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, 13, 11, 0x0
  71. gsSP1Triangle 0, 14, 1, 0x0
  72. gsSPVertex lll_seg7_vertex_070160F0, 4, 0
  73. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  74. gsSPEndDisplayList
  75. glabel lll_seg7_dl_07016250 # 0x07016250 - 0x070162E0
  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_07016130
  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_07016198
  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