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.

94 lines
4.5 KiB

6 years ago
  1. thi_seg7_light_070076A8: # 0x070076A8 - 0x070076B0
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. thi_seg7_light_070076B0: # 0x070076B0 - 0x070076C0
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. thi_seg7_light_070076C0: # 0x070076C0 - 0x070076C8
  7. .byte 0x4C, 0x4C, 0x4C, 0x00, 0x4C, 0x4C, 0x4C, 0x00
  8. thi_seg7_light_070076C8: # 0x070076C8 - 0x070076D8
  9. .byte 0x99, 0x99, 0x99, 0x00, 0x99, 0x99, 0x99, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. thi_seg7_vertex_070076D8: # 0x070076D8 - 0x07007718
  12. vertex -409, 0, -409, -848, 172, 0xAC, 0x54, 0xD6, 0xFF
  13. vertex 410, 0, 410, 786, 1806, 0x54, 0x54, 0x2A, 0xFF
  14. vertex 410, 0, -409, 786, 172, 0x33, 0x33, 0x99, 0xFF
  15. vertex -409, 0, 410, -848, 1806, 0xCD, 0x33, 0x67, 0xFF
  16. thi_seg7_vertex_07007718: # 0x07007718 - 0x070077D8
  17. vertex -409, -101, -409, 990, 224, 0xC0, 0xD4, 0x9C, 0xFF
  18. vertex -409, 0, -409, 990, 0, 0xAC, 0x54, 0xD6, 0xFF
  19. vertex 410, 0, -409, 0, 0, 0x33, 0x33, 0x99, 0xFF
  20. vertex 410, -101, -409, 0, 224, 0x64, 0xD4, 0xC0, 0xFF
  21. vertex 410, 0, 410, 990, 0, 0x54, 0x54, 0x2A, 0xFF
  22. vertex 410, -101, 410, 990, 224, 0x40, 0xD4, 0x64, 0xFF
  23. vertex 410, -101, 410, 0, 224, 0x40, 0xD4, 0x64, 0xFF
  24. vertex -409, 0, 410, 990, 0, 0xCD, 0x33, 0x67, 0xFF
  25. vertex -409, -101, 410, 990, 224, 0x9C, 0xD4, 0x40, 0xFF
  26. vertex 410, 0, 410, 0, 0, 0x54, 0x54, 0x2A, 0xFF
  27. vertex -409, 0, -409, 0, 0, 0xAC, 0x54, 0xD6, 0xFF
  28. vertex -409, -101, -409, 0, 224, 0xC0, 0xD4, 0x9C, 0xFF
  29. thi_seg7_vertex_070077D8: # 0x070077D8 - 0x07007828
  30. vertex -409, -101, -409, -438, 2624, 0xC0, 0xD4, 0x9C, 0xFF
  31. vertex 410, -101, -409, -1666, 2624, 0x64, 0xD4, 0xC0, 0xFF
  32. vertex 0, -613, 0, -1052, 2010, 0x00, 0x82, 0x00, 0xFF
  33. vertex 410, -101, 410, -1666, 1396, 0x40, 0xD4, 0x64, 0xFF
  34. vertex -409, -101, 410, -438, 1396, 0x9C, 0xD4, 0x40, 0xFF
  35. thi_seg7_dl_07007828: # 0x07007828 - 0x07007870
  36. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09005800
  37. gsDPLoadSync
  38. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  39. gsSPLight thi_seg7_light_070076B0, 1
  40. gsSPLight thi_seg7_light_070076A8, 2
  41. gsSPVertex thi_seg7_vertex_070076D8, 4, 0
  42. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  43. gsSPEndDisplayList
  44. thi_seg7_dl_07007870: # 0x07007870 - 0x070078D8
  45. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09005000
  46. gsDPLoadSync
  47. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  48. gsSPVertex thi_seg7_vertex_07007718, 12, 0
  49. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  50. gsSP2Triangles 3, 2, 4, 0x0, 3, 4, 5, 0x0
  51. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  52. gsSP2Triangles 8, 7, 10, 0x0, 8, 10, 11, 0x0
  53. gsSPEndDisplayList
  54. thi_seg7_dl_070078D8: # 0x070078D8 - 0x07007930
  55. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, grass_09004800
  56. gsDPLoadSync
  57. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  58. gsSPLight thi_seg7_light_070076C8, 1
  59. gsSPLight thi_seg7_light_070076C0, 2
  60. gsSPVertex thi_seg7_vertex_070077D8, 5, 0
  61. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  62. gsSP2Triangles 3, 4, 2, 0x0, 4, 0, 2, 0x0
  63. gsSPEndDisplayList
  64. glabel thi_seg7_dl_07007930 # 0x07007930 - 0x070079D0
  65. gsDPPipeSync
  66. 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
  67. 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
  68. gsSPTexture -1, -1, 0, 0, 1
  69. gsDPTileSync
  70. 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
  71. gsDPSetTileSize 0, 0, 0, 124, 124
  72. gsSPDisplayList thi_seg7_dl_07007828
  73. gsDPTileSync
  74. 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
  75. gsDPSetTileSize 0, 0, 0, 124, 124
  76. gsSPDisplayList thi_seg7_dl_07007870
  77. gsDPTileSync
  78. 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
  79. gsDPSetTileSize 0, 0, 0, 124, 124
  80. gsSPDisplayList thi_seg7_dl_070078D8
  81. gsSPTexture -1, -1, 0, 0, 0
  82. gsDPPipeSync
  83. 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
  84. gsSPEndDisplayList