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.

110 lines
6.1 KiB

6 years ago
  1. wf_seg7_light_070092F0: # 0x070092F0 - 0x070092F8
  2. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  3. wf_seg7_light_070092F8: # 0x070092F8 - 0x07009308
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. wf_seg7_vertex_07009308: # 0x07009308 - 0x070093F8
  7. vertex -255, 282, -1151, 4822, 0, 0x08, 0x7B, 0x1C, 0xFF
  8. vertex -127, 160, -654, 3800, 224, 0x08, 0x7B, 0x1C, 0xFF
  9. vertex 0, 180, -778, 4052, 478, 0x08, 0x7B, 0x1C, 0xFF
  10. vertex -255, -281, 1152, 88, 0, 0x00, 0x7A, 0x22, 0xFF
  11. vertex 256, -281, 1152, 88, 990, 0x00, 0x7A, 0x22, 0xFF
  12. vertex -127, -193, 837, 740, 224, 0x00, 0x7A, 0x22, 0xFF
  13. vertex -255, -281, 1152, 88, 0, 0xF6, 0x7A, 0x1E, 0xFF
  14. vertex -127, -193, 837, 740, 224, 0xF6, 0x7A, 0x1E, 0xFF
  15. vertex -255, 8, -32, 2524, 0, 0xF6, 0x7A, 0x1E, 0xFF
  16. vertex -127, -193, 837, 740, 224, 0x2D, 0x72, 0x1E, 0xFF
  17. vertex 0, -42, 91, 2258, 478, 0x2D, 0x72, 0x1E, 0xFF
  18. vertex -127, 8, 91, 2282, 224, 0x2D, 0x72, 0x1E, 0xFF
  19. vertex 128, -194, 713, 980, 734, 0x0D, 0x7B, 0x1B, 0xFF
  20. vertex 0, -42, 91, 2258, 478, 0x0D, 0x7B, 0x1B, 0xFF
  21. vertex -127, -193, 837, 740, 224, 0x0D, 0x7B, 0x1B, 0xFF
  22. wf_seg7_vertex_070093F8: # 0x070093F8 - 0x070094E8
  23. vertex 256, -281, 1152, 88, 990, 0x0A, 0x7C, 0x15, 0xFF
  24. vertex 128, -194, 713, 980, 734, 0x0A, 0x7C, 0x15, 0xFF
  25. vertex -127, -193, 837, 740, 224, 0x0A, 0x7C, 0x15, 0xFF
  26. vertex -127, -193, 837, 740, 224, 0xE2, 0x76, 0x20, 0xFF
  27. vertex -127, 8, 91, 2282, 224, 0xE2, 0x76, 0x20, 0xFF
  28. vertex -255, 8, -32, 2524, 0, 0xE2, 0x76, 0x20, 0xFF
  29. vertex -127, 160, -654, 3800, 224, 0x00, 0x7B, 0x1E, 0xFF
  30. vertex -255, 282, -1151, 4822, 0, 0x00, 0x7B, 0x1E, 0xFF
  31. vertex -255, 8, -32, 2524, 0, 0x00, 0x7B, 0x1E, 0xFF
  32. vertex -127, 8, 91, 2282, 224, 0xE9, 0x7A, 0x18, 0xFF
  33. vertex -127, 160, -654, 3800, 224, 0xE9, 0x7A, 0x18, 0xFF
  34. vertex -255, 8, -32, 2524, 0, 0xE9, 0x7A, 0x18, 0xFF
  35. vertex 256, -281, 1152, 88, 990, 0xDB, 0x75, 0x1C, 0xFF
  36. vertex 256, 282, -1151, 4822, 990, 0xDB, 0x75, 0x1C, 0xFF
  37. vertex 128, 28, -281, 3014, 734, 0xDB, 0x75, 0x1C, 0xFF
  38. wf_seg7_vertex_070094E8: # 0x070094E8 - 0x070095D8
  39. vertex 256, -281, 1152, 88, 990, 0xF6, 0x7B, 0x1B, 0xFF
  40. vertex 128, 28, -281, 3014, 734, 0xF6, 0x7B, 0x1B, 0xFF
  41. vertex 128, -194, 713, 980, 734, 0xF6, 0x7B, 0x1B, 0xFF
  42. vertex 256, 282, -1151, 4822, 990, 0x00, 0x7A, 0x21, 0xFF
  43. vertex -255, 282, -1151, 4822, 0, 0x00, 0x7A, 0x21, 0xFF
  44. vertex 0, 180, -778, 4052, 478, 0x00, 0x7A, 0x21, 0xFF
  45. vertex 256, 282, -1151, 4822, 990, 0x1C, 0x75, 0x26, 0xFF
  46. vertex 0, 99, -405, 3290, 478, 0x1C, 0x75, 0x26, 0xFF
  47. vertex 128, 28, -281, 3014, 734, 0x1C, 0x75, 0x26, 0xFF
  48. vertex 256, 282, -1151, 4822, 990, 0xF6, 0x7B, 0x1A, 0xFF
  49. vertex 0, 180, -778, 4052, 478, 0xF6, 0x7B, 0x1A, 0xFF
  50. vertex 0, 99, -405, 3290, 478, 0xF6, 0x7B, 0x1A, 0xFF
  51. vertex 0, 99, -405, 3290, 478, 0x27, 0x75, 0x1A, 0xFF
  52. vertex 128, -194, 713, 980, 734, 0x27, 0x75, 0x1A, 0xFF
  53. vertex 128, 28, -281, 3014, 734, 0x27, 0x75, 0x1A, 0xFF
  54. wf_seg7_vertex_070095D8: # 0x070095D8 - 0x07009698
  55. vertex -127, 160, -654, 3800, 224, 0x06, 0x7B, 0x1A, 0xFF
  56. vertex 0, 99, -405, 3290, 478, 0x06, 0x7B, 0x1A, 0xFF
  57. vertex 0, 180, -778, 4052, 478, 0x06, 0x7B, 0x1A, 0xFF
  58. vertex -127, 160, -654, 3800, 224, 0xF7, 0x79, 0x22, 0xFF
  59. vertex 0, -42, 91, 2258, 478, 0xF7, 0x79, 0x22, 0xFF
  60. vertex 0, 99, -405, 3290, 478, 0xF7, 0x79, 0x22, 0xFF
  61. vertex 0, 99, -405, 3290, 478, 0xE9, 0x78, 0x22, 0xFF
  62. vertex 0, -42, 91, 2258, 478, 0xE9, 0x78, 0x22, 0xFF
  63. vertex 128, -194, 713, 980, 734, 0xE9, 0x78, 0x22, 0xFF
  64. vertex 0, -42, 91, 2258, 478, 0x2D, 0x74, 0x17, 0xFF
  65. vertex -127, 160, -654, 3800, 224, 0x2D, 0x74, 0x17, 0xFF
  66. vertex -127, 8, 91, 2282, 224, 0x2D, 0x74, 0x17, 0xFF
  67. wf_seg7_dl_07009698: # 0x07009698 - 0x07009780
  68. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09004800
  69. gsDPLoadSync
  70. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  71. gsSPLight wf_seg7_light_070092F8, 1
  72. gsSPLight wf_seg7_light_070092F0, 2
  73. gsSPVertex wf_seg7_vertex_07009308, 15, 0
  74. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  75. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  76. gsSP1Triangle 12, 13, 14, 0x0
  77. gsSPVertex wf_seg7_vertex_070093F8, 15, 0
  78. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  79. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  80. gsSP1Triangle 12, 13, 14, 0x0
  81. gsSPVertex wf_seg7_vertex_070094E8, 15, 0
  82. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  83. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  84. gsSP1Triangle 12, 13, 14, 0x0
  85. gsSPVertex wf_seg7_vertex_070095D8, 12, 0
  86. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  87. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  88. gsSPEndDisplayList
  89. glabel wf_seg7_dl_07009780 # 0x07009780 - 0x070097F0
  90. gsDPPipeSync
  91. 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
  92. gsSPClearGeometryMode G_SHADING_SMOOTH
  93. 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
  94. gsSPTexture -1, -1, 0, 0, 1
  95. gsDPTileSync
  96. 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
  97. gsDPSetTileSize 0, 0, 0, 124, 124
  98. gsSPDisplayList wf_seg7_dl_07009698
  99. gsSPTexture -1, -1, 0, 0, 0
  100. gsDPPipeSync
  101. 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
  102. gsSPSetGeometryMode G_SHADING_SMOOTH
  103. gsSPEndDisplayList