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.

93 lines
5.2 KiB

6 years ago
  1. pss_seg7_vertex_0700B070: # 0x0700B070 - 0x0700B160
  2. vertex -5906, -4217, 3701, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -5845, -4217, 3701, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex -5845, -4252, 3701, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -5906, -3951, 895, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -5845, -3951, 895, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex -5845, -3986, 895, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -6869, -3986, 895, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -6869, -3951, 895, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -6808, -3951, 895, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -5906, -4084, 2301, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -5845, -4084, 2301, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -5845, -4119, 2301, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -6869, -4119, 2301, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -6869, -4084, 2301, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -6808, -4084, 2301, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  17. pss_seg7_vertex_0700B160: # 0x0700B160 - 0x0700B250
  18. vertex 558, -1918, -5339, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex 527, -1918, -5286, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex 527, -1953, -5286, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -6869, -4252, 3701, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -6869, -4217, 3701, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex -6808, -4217, 3701, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -3603, 4880, -6143, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -3603, 4915, -6143, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex -3603, 4915, -6082, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex 2922, 6376, -6143, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex 2922, 6411, -6143, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex 2922, 6411, -6082, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex 2922, 6411, -5180, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex 2922, 6411, -5119, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex 2922, 6376, -5119, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  33. pss_seg7_vertex_0700B250: # 0x0700B250 - 0x0700B340
  34. vertex -5095, 3457, 2438, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  35. vertex -5095, 3492, 2438, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  36. vertex -5072, 3492, 2382, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  37. vertex -4557, -3325, -3304, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  38. vertex -4588, -3325, -3251, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  39. vertex -4588, -3360, -3251, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  40. vertex -5753, 4665, -5488, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  41. vertex -5753, 4700, -5488, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  42. vertex -5715, 4700, -5440, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  43. vertex -6710, 4297, -3107, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  44. vertex -6710, 4332, -3107, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  45. vertex -6649, 4332, -3106, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  46. vertex -6710, 3887, 5, 478, 990, 0xFF, 0xFF, 0xFF, 0xFF
  47. vertex -6710, 3922, 5, 478, 480, 0xFF, 0xFF, 0xFF, 0xFF
  48. vertex -6649, 3922, 0, 0, 478, 0xFF, 0xFF, 0xFF, 0xFF
  49. pss_seg7_dl_0700B340: # 0x0700B340 - 0x0700B3F0
  50. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09007800
  51. gsDPLoadSync
  52. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  53. gsSPVertex pss_seg7_vertex_0700B070, 15, 0
  54. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  55. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  56. gsSP1Triangle 12, 13, 14, 0x0
  57. gsSPVertex pss_seg7_vertex_0700B160, 15, 0
  58. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  59. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  60. gsSP1Triangle 12, 13, 14, 0x0
  61. gsSPVertex pss_seg7_vertex_0700B250, 15, 0
  62. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  63. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  64. gsSP1Triangle 12, 13, 14, 0x0
  65. gsSPEndDisplayList
  66. glabel pss_seg7_dl_0700B3F0 # 0x0700B3F0 - 0x0700B4A8
  67. gsDPPipeSync
  68. gsDPSetCycleType G_CYC_2CYCLE
  69. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  70. gsDPSetDepthSource G_ZS_PIXEL
  71. gsDPSetFogColor 0, 0, 0, 255
  72. gsSPFogPosition 980, 1000
  73. gsSPSetGeometryMode G_FOG
  74. gsDPSetCombineMode G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  75. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  76. 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
  77. gsSPTexture -1, -1, 0, 0, 1
  78. gsDPTileSync
  79. 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
  80. gsDPSetTileSize 0, 0, 0, 124, 124
  81. gsSPDisplayList pss_seg7_dl_0700B340
  82. gsSPTexture -1, -1, 0, 0, 0
  83. gsDPPipeSync
  84. gsDPSetCycleType G_CYC_1CYCLE
  85. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  86. gsSPClearGeometryMode G_FOG
  87. 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
  88. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  89. gsSPEndDisplayList