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.

62 lines
3.3 KiB

6 years ago
  1. ccm_seg7_vertex_0700E790: # 0x0700E790 - 0x0700E850
  2. vertex 433, -204, -410, 4566, 224, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex -488, -50, -410, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex 433, -50, -410, 4566, 990, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex -488, -204, -410, 0, 224, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex -488, -204, -103, 1528, 224, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex -488, -50, -410, -6, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex -488, -204, -410, -6, 224, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex -488, -50, -103, 1528, 990, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex -488, -50, 203, 680, 990, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -488, -204, 357, 1446, 224, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -488, -50, 357, 1446, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -488, -204, 203, 680, 224, 0xFF, 0xFF, 0xFF, 0xFF
  14. ccm_seg7_vertex_0700E850: # 0x0700E850 - 0x0700E8D0
  15. vertex 433, 41, -195, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -355, -9, -195, 15708, -34, 0xFF, 0xFF, 0xFF, 0xFF
  17. vertex -355, 41, -195, 15708, 988, 0xFF, 0xFF, 0xFF, 0xFF
  18. vertex 433, -9, -195, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex -355, 41, -195, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex -355, -9, -195, -40, 0, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -355, 72, 357, 11112, 0, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -355, 123, 357, 11128, 990, 0xFF, 0xFF, 0xFF, 0xFF
  23. ccm_seg7_dl_0700E8D0: # 0x0700E8D0 - 0x0700E928
  24. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09000000
  25. gsDPLoadSync
  26. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  27. gsSPVertex ccm_seg7_vertex_0700E790, 12, 0
  28. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  29. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  30. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  31. gsSPEndDisplayList
  32. ccm_seg7_dl_0700E928: # 0x0700E928 - 0x0700E970
  33. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, snow_09007000
  34. gsDPLoadSync
  35. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  36. gsSPVertex ccm_seg7_vertex_0700E850, 8, 0
  37. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  38. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  39. gsSPEndDisplayList
  40. glabel ccm_seg7_dl_0700E970 # 0x0700E970 - 0x0700EA00
  41. gsDPPipeSync
  42. 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
  43. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  44. 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
  45. gsSPTexture -1, -1, 0, 0, 1
  46. gsDPTileSync
  47. 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
  48. gsDPSetTileSize 0, 0, 0, 124, 124
  49. gsSPDisplayList ccm_seg7_dl_0700E8D0
  50. gsDPTileSync
  51. 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
  52. gsDPSetTileSize 0, 0, 0, 252, 124
  53. gsSPDisplayList ccm_seg7_dl_0700E928
  54. gsSPTexture -1, -1, 0, 0, 0
  55. gsDPPipeSync
  56. 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
  57. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  58. gsSPEndDisplayList