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.5 KiB

6 years ago
  1. ttm_seg7_light_0700DFE8: # 0x0700DFE8 - 0x0700DFF0
  2. .byte 0x4C, 0x4C, 0x4C, 0x00, 0x4C, 0x4C, 0x4C, 0x00
  3. ttm_seg7_light_0700DFF0: # 0x0700DFF0 - 0x0700E000
  4. .byte 0x99, 0x99, 0x99, 0x00, 0x99, 0x99, 0x99, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttm_seg7_vertex_0700E000: # 0x0700E000 - 0x0700E100
  7. vertex -43, 93, -191, 0, 376, 0xB0, 0xA7, 0x28, 0xFF
  8. vertex 48, -9, -237, 0, 582, 0xB0, 0xA7, 0x28, 0xFF
  9. vertex 231, -9, 127, 782, 582, 0xB0, 0xA7, 0x28, 0xFF
  10. vertex -317, -213, -54, 0, 990, 0x71, 0x00, 0xC8, 0xFF
  11. vertex -317, -9, -54, 0, 582, 0x71, 0x00, 0xC8, 0xFF
  12. vertex -130, -9, 319, 802, 582, 0x71, 0x00, 0xC8, 0xFF
  13. vertex -130, -213, 319, 802, 990, 0x71, 0x00, 0xC8, 0xFF
  14. vertex -130, -9, 319, 802, 582, 0x50, 0xA7, 0xD8, 0xFF
  15. vertex -317, -9, -54, 0, 582, 0x50, 0xA7, 0xD8, 0xFF
  16. vertex -226, 93, -100, 0, 376, 0x50, 0xA7, 0xD8, 0xFF
  17. vertex -130, -9, 319, 802, 582, 0x5A, 0xB1, 0xD8, 0xFF
  18. vertex -226, 93, -100, 0, 376, 0x5A, 0xB1, 0xD8, 0xFF
  19. vertex 9, 215, 185, 688, 132, 0x5A, 0xB1, 0xD8, 0xFF
  20. vertex 9, 215, 185, 134, 230, 0x12, 0x88, 0x24, 0xFF
  21. vertex -226, 93, -100, 0, 990, 0x12, 0x88, 0x24, 0xFF
  22. vertex -43, 93, -191, 376, 990, 0x12, 0x88, 0x24, 0xFF
  23. ttm_seg7_vertex_0700E100: # 0x0700E100 - 0x0700E200
  24. vertex 9, 215, 185, 688, 132, 0xB0, 0xA7, 0x28, 0xFF
  25. vertex -43, 93, -191, 0, 376, 0xB0, 0xA7, 0x28, 0xFF
  26. vertex 231, -9, 127, 782, 582, 0xB0, 0xA7, 0x28, 0xFF
  27. vertex -317, -9, -54, 6732, -5344, 0x38, 0x00, 0x71, 0xFF
  28. vertex 48, -213, -237, 7510, -4898, 0x38, 0x00, 0x71, 0xFF
  29. vertex 48, -9, -237, 7530, -5306, 0x38, 0x00, 0x71, 0xFF
  30. vertex 231, -9, 127, 782, 582, 0x8F, 0x00, 0x39, 0xFF
  31. vertex 48, -9, -237, 0, 582, 0x8F, 0x00, 0x39, 0xFF
  32. vertex 48, -213, -237, 0, 990, 0x8F, 0x00, 0x39, 0xFF
  33. vertex 231, -213, 127, 782, 990, 0x8F, 0x00, 0x39, 0xFF
  34. vertex 231, -213, 127, 3290, -7342, 0x00, 0x7F, 0x00, 0xFF
  35. vertex 48, -213, -237, 2926, -8070, 0x00, 0x7F, 0x00, 0xFF
  36. vertex 9, -213, 185, 2848, -7226, 0x00, 0x7F, 0x00, 0xFF
  37. vertex -317, -213, -54, 2194, -7704, 0x00, 0x7F, 0x00, 0xFF
  38. vertex -130, -213, 319, 2568, -6958, 0x00, 0x7F, 0x00, 0xFF
  39. vertex -317, -213, -54, 6712, -4936, 0x38, 0x00, 0x71, 0xFF
  40. ttm_seg7_vertex_0700E200: # 0x0700E200 - 0x0700E240
  41. vertex -317, -9, -54, 6732, -5344, 0x38, 0x00, 0x71, 0xFF
  42. vertex 48, -9, -237, 7530, -5306, 0x38, 0x00, 0x71, 0xFF
  43. vertex -43, 93, -191, 7340, -5520, 0x38, 0x00, 0x71, 0xFF
  44. vertex -226, 93, -100, 6942, -5538, 0x38, 0x00, 0x71, 0xFF
  45. ttm_seg7_dl_0700E240: # 0x0700E240 - 0x0700E308
  46. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004000
  47. gsDPLoadSync
  48. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  49. gsSPLight ttm_seg7_light_0700DFF0, 1
  50. gsSPLight ttm_seg7_light_0700DFE8, 2
  51. gsSPVertex ttm_seg7_vertex_0700E000, 16, 0
  52. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  53. gsSP2Triangles 6, 3, 5, 0x0, 7, 8, 9, 0x0
  54. gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 15, 0x0
  55. gsSPVertex ttm_seg7_vertex_0700E100, 16, 0
  56. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  57. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  58. gsSP2Triangles 10, 11, 12, 0x0, 13, 14, 12, 0x0
  59. gsSP2Triangles 11, 13, 12, 0x0, 3, 15, 4, 0x0
  60. gsSPVertex ttm_seg7_vertex_0700E200, 4, 0
  61. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  62. gsSPEndDisplayList
  63. glabel ttm_seg7_dl_0700E308 # 0x0700E308 - 0x0700E378
  64. gsDPPipeSync
  65. 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
  66. gsSPClearGeometryMode G_SHADING_SMOOTH
  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 ttm_seg7_dl_0700E240
  73. gsSPTexture -1, -1, 0, 0, 0
  74. gsDPPipeSync
  75. 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
  76. gsSPSetGeometryMode G_SHADING_SMOOTH
  77. gsSPEndDisplayList