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. ccm_seg7_vertex_070106D8: # 0x070106D8 - 0x07010758
  2. vertex -1457, -890, 550, 23466, 990, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -377, -397, 185, 11430, 24, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -377, -499, 185, 11436, 990, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -1457, -787, 550, 23460, 24, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex 703, -6, -178, -2624, 24, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex 703, -108, -178, -2618, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -377, -499, 185, 9410, 990, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -377, -397, 185, 9404, 24, 0xFF, 0xFF, 0xFF, 0xFF
  10. ccm_seg7_vertex_07010758: # 0x07010758 - 0x07010848
  11. vertex -1120, 297, 770, 3368, 0, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -1120, 553, 770, 3376, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -1586, 553, 983, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -1120, 348, 770, -5376, 0, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -12, 336, 667, 2028, 0, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -1120, 553, 770, -5392, 990, 0xFF, 0xFF, 0xFF, 0xFF
  17. vertex -12, 540, 667, 2012, 990, 0xFF, 0xFF, 0xFF, 0xFF
  18. vertex -55, 336, 574, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex -1163, 348, 677, 7372, 0, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex -1163, 553, 677, 7388, 990, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -55, 540, 574, -16, 990, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -1333, 297, 304, 0, -34, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex -1333, 553, 304, 0, 988, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -1120, 553, 770, 3376, 988, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -1120, 297, 770, 3372, -34, 0xFF, 0xFF, 0xFF, 0xFF
  26. ccm_seg7_vertex_07010848: # 0x07010848 - 0x070108F8
  27. vertex -1799, 297, 517, -36, 0, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex -1799, 553, 517, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex -1333, 553, 304, 3376, 990, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex -1120, 297, 770, 3368, 0, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex -1586, 553, 983, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex -1586, 297, 983, -36, 0, 0xFF, 0xFF, 0xFF, 0xFF
  33. vertex -1586, 297, 982, 3368, 0, 0xFF, 0xFF, 0xFF, 0xFF
  34. vertex -1586, 553, 982, 3372, 990, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex -1799, 553, 516, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex -1799, 297, 516, -36, 0, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex -1333, 297, 304, 3368, 0, 0xFF, 0xFF, 0xFF, 0xFF
  38. ccm_seg7_dl_070108F8: # 0x070108F8 - 0x07010940
  39. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09005800
  40. gsDPLoadSync
  41. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  42. gsSPVertex ccm_seg7_vertex_070106D8, 8, 0
  43. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  44. gsSP2Triangles 4, 5, 6, 0x0, 7, 4, 6, 0x0
  45. gsSPEndDisplayList
  46. ccm_seg7_dl_07010940: # 0x07010940 - 0x070109D0
  47. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09007000
  48. gsDPLoadSync
  49. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  50. gsSPVertex ccm_seg7_vertex_07010758, 15, 0
  51. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  52. gsSP2Triangles 4, 6, 5, 0x0, 7, 8, 9, 0x0
  53. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  54. gsSP1Triangle 13, 14, 11, 0x0
  55. gsSPVertex ccm_seg7_vertex_07010848, 11, 0
  56. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  57. gsSP2Triangles 6, 7, 8, 0x0, 8, 9, 6, 0x0
  58. gsSP1Triangle 2, 10, 0, 0x0
  59. gsSPEndDisplayList
  60. glabel ccm_seg7_dl_070109D0 # 0x070109D0 - 0x07010A60
  61. gsDPPipeSync
  62. gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_TEXEL0
  63. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  64. 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
  65. gsSPTexture -1, -1, 0, 0, 1
  66. gsDPTileSync
  67. 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
  68. gsDPSetTileSize 0, 0, 0, 124, 124
  69. gsSPDisplayList ccm_seg7_dl_070108F8
  70. gsDPTileSync
  71. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
  72. gsDPSetTileSize 0, 0, 0, 252, 124
  73. gsSPDisplayList ccm_seg7_dl_07010940
  74. gsSPTexture -1, -1, 0, 0, 0
  75. gsDPPipeSync
  76. 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
  77. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  78. gsSPEndDisplayList