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.

125 lines
6.2 KiB

6 years ago
  1. ttm_seg7_light_0700D250: # 0x0700D250 - 0x0700D258
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttm_seg7_light_0700D258: # 0x0700D258 - 0x0700D268
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttm_seg7_light_0700D268: # 0x0700D268 - 0x0700D270
  7. .byte 0x4C, 0x4C, 0x4C, 0x00, 0x4C, 0x4C, 0x4C, 0x00
  8. ttm_seg7_light_0700D270: # 0x0700D270 - 0x0700D280
  9. .byte 0x99, 0x99, 0x99, 0x00, 0x99, 0x99, 0x99, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. ttm_seg7_light_0700D280: # 0x0700D280 - 0x0700D288
  12. .byte 0x5D, 0x5D, 0x5D, 0x00, 0x5D, 0x5D, 0x5D, 0x00
  13. ttm_seg7_light_0700D288: # 0x0700D288 - 0x0700D298
  14. .byte 0xBB, 0xBB, 0xBB, 0x00, 0xBB, 0xBB, 0xBB, 0x00
  15. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  16. ttm_seg7_vertex_0700D298: # 0x0700D298 - 0x0700D398
  17. vertex -27, -307, -665, -3812, 5306, 0x7A, 0x00, 0x20, 0xFF
  18. vertex -27, 307, -665, -3812, 4080, 0x7A, 0x00, 0x20, 0xFF
  19. vertex -204, -307, -1, -5136, 5306, 0x7A, 0x00, 0x20, 0xFF
  20. vertex 637, -307, 746, 4784, 990, 0x5E, 0x00, 0x54, 0xFF
  21. vertex 637, 0, 746, 4784, 376, 0x5E, 0x00, 0x54, 0xFF
  22. vertex 501, -307, 899, 4376, 990, 0x5E, 0x00, 0x54, 0xFF
  23. vertex -204, -307, -1, 786, 990, 0x54, 0x00, 0xA1, 0xFF
  24. vertex -511, -102, -272, 0, 582, 0x54, 0x00, 0xA1, 0xFF
  25. vertex 561, -102, 678, 2830, 582, 0x54, 0x00, 0xA1, 0xFF
  26. vertex 561, -102, 678, 2830, 582, 0x54, 0x00, 0xA2, 0xFF
  27. vertex 637, -307, 746, 3034, 990, 0x54, 0x00, 0xA2, 0xFF
  28. vertex -204, -307, -1, 786, 990, 0x54, 0x00, 0xA2, 0xFF
  29. vertex 637, 0, 746, 3034, 376, 0x54, 0x00, 0xA2, 0xFF
  30. vertex -563, -307, -1140, -8102, 5306, 0x54, 0x00, 0xA1, 0xFF
  31. vertex -563, 307, -1140, -8102, 4080, 0x54, 0x00, 0xA1, 0xFF
  32. vertex -27, 307, -665, -9172, 4080, 0x54, 0x00, 0xA1, 0xFF
  33. ttm_seg7_vertex_0700D398: # 0x0700D398 - 0x0700D438
  34. vertex -563, -307, -1140, -8102, 5306, 0x54, 0x00, 0xA1, 0xFF
  35. vertex -27, 307, -665, -9172, 4080, 0x54, 0x00, 0xA1, 0xFF
  36. vertex -27, -307, -665, -9172, 5306, 0x54, 0x00, 0xA1, 0xFF
  37. vertex 501, -307, 899, -2996, 2214, 0xC5, 0x59, 0x43, 0xFF
  38. vertex 561, -102, 678, -2792, 1806, 0xC5, 0x59, 0x43, 0xFF
  39. vertex -511, -102, -273, 68, 1806, 0xC5, 0x59, 0x43, 0xFF
  40. vertex -27, 307, -665, -3812, 4080, 0x7A, 0x00, 0x20, 0xFF
  41. vertex -204, 307, -1, -5136, 4080, 0x7A, 0x00, 0x20, 0xFF
  42. vertex -204, -307, -1, -5136, 5306, 0x7A, 0x00, 0x20, 0xFF
  43. vertex -647, -307, -119, 68, 2214, 0xC5, 0x59, 0x43, 0xFF
  44. ttm_seg7_vertex_0700D438: # 0x0700D438 - 0x0700D498
  45. vertex 501, -307, 899, -6934, -9208, 0x00, 0x81, 0x00, 0xFF
  46. vertex -647, -307, -119, -4900, -6914, 0x00, 0x81, 0x00, 0xFF
  47. vertex -204, -307, -1, -5136, -7798, 0x00, 0x81, 0x00, 0xFF
  48. vertex -27, -307, -665, -3812, -8152, 0x00, 0x81, 0x00, 0xFF
  49. vertex -563, -307, -1140, -2862, -7082, 0x00, 0x81, 0x00, 0xFF
  50. vertex 637, -307, 746, -6628, -9480, 0x00, 0x81, 0x00, 0xFF
  51. ttm_seg7_vertex_0700D498: # 0x0700D498 - 0x0700D508
  52. vertex -204, 307, -1, -748, 990, 0xAC, 0x00, 0x5F, 0xFF
  53. vertex -511, 307, -272, 68, 990, 0xAC, 0x00, 0x5F, 0xFF
  54. vertex -511, -102, -272, 68, 1806, 0xAC, 0x00, 0x5F, 0xFF
  55. vertex 561, -102, 678, -2792, 1806, 0x95, 0x3D, 0x1B, 0xFF
  56. vertex 501, -307, 899, -2996, 2214, 0x95, 0x3D, 0x1B, 0xFF
  57. vertex 637, 0, 746, -2996, 1602, 0x95, 0x3D, 0x1B, 0xFF
  58. vertex -204, -102, -1, -748, 1806, 0xAC, 0x00, 0x5F, 0xFF
  59. ttm_seg7_vertex_0700D508: # 0x0700D508 - 0x0700D548
  60. vertex -563, 307, -1140, 8040, 3820, 0x00, 0x7F, 0x00, 0xFF
  61. vertex -204, 307, -1, 8756, 6094, 0x00, 0x7F, 0x00, 0xFF
  62. vertex -27, 307, -665, 9110, 4770, 0x00, 0x7F, 0x00, 0xFF
  63. vertex -511, 307, -272, 8144, 5552, 0x00, 0x7F, 0x00, 0xFF
  64. ttm_seg7_dl_0700D548: # 0x0700D548 - 0x0700D640
  65. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004000
  66. gsDPLoadSync
  67. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  68. gsSPLight ttm_seg7_light_0700D258, 1
  69. gsSPLight ttm_seg7_light_0700D250, 2
  70. gsSPVertex ttm_seg7_vertex_0700D298, 16, 0
  71. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  72. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  73. gsSP2Triangles 9, 12, 10, 0x0, 13, 14, 15, 0x0
  74. gsSPVertex ttm_seg7_vertex_0700D398, 10, 0
  75. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  76. gsSP2Triangles 6, 7, 8, 0x0, 3, 5, 9, 0x0
  77. gsSPLight ttm_seg7_light_0700D270, 1
  78. gsSPLight ttm_seg7_light_0700D268, 2
  79. gsSPVertex ttm_seg7_vertex_0700D438, 6, 0
  80. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  81. gsSP2Triangles 1, 4, 3, 0x0, 0, 2, 5, 0x0
  82. gsSPLight ttm_seg7_light_0700D288, 1
  83. gsSPLight ttm_seg7_light_0700D280, 2
  84. gsSPVertex ttm_seg7_vertex_0700D498, 7, 0
  85. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  86. gsSP1Triangle 0, 2, 6, 0x0
  87. gsSPEndDisplayList
  88. ttm_seg7_dl_0700D640: # 0x0700D640 - 0x0700D688
  89. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09003800
  90. gsDPLoadSync
  91. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  92. gsSPLight ttm_seg7_light_0700D258, 1
  93. gsSPLight ttm_seg7_light_0700D250, 2
  94. gsSPVertex ttm_seg7_vertex_0700D508, 4, 0
  95. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  96. gsSPEndDisplayList
  97. glabel ttm_seg7_dl_0700D688 # 0x0700D688 - 0x0700D700
  98. gsDPPipeSync
  99. 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
  100. gsSPClearGeometryMode G_SHADING_SMOOTH
  101. 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
  102. gsSPTexture -1, -1, 0, 0, 1
  103. gsDPTileSync
  104. 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
  105. gsDPSetTileSize 0, 0, 0, 124, 124
  106. gsSPDisplayList ttm_seg7_dl_0700D548
  107. gsSPDisplayList ttm_seg7_dl_0700D640
  108. gsSPTexture -1, -1, 0, 0, 0
  109. gsDPPipeSync
  110. 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
  111. gsSPSetGeometryMode G_SHADING_SMOOTH
  112. gsSPEndDisplayList