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.

69 lines
3.9 KiB

6 years ago
  1. bbh_seg7_vertex_07015750: # 0x07015750 - 0x07015840
  2. vertex 1014, 307, -818, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  3. vertex 1014, 410, -716, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  4. vertex 963, 410, -818, 478, 478, 0xFF, 0xFF, 0xFF, 0xFF
  5. vertex 1014, 512, -818, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  6. vertex 1014, 410, -921, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  7. vertex 1014, 1126, -818, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  8. vertex 1014, 1229, -716, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  9. vertex 963, 1229, -818, 478, 478, 0xFF, 0xFF, 0xFF, 0xFF
  10. vertex 1014, 1229, -921, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex 1014, 1331, -818, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex -706, 1229, -716, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex -706, 1126, -818, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex -654, 1229, -818, 480, 480, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -706, 1229, -921, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  16. vertex -706, 1331, -818, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  17. bbh_seg7_vertex_07015840: # 0x07015840 - 0x07015930
  18. vertex -706, 512, -818, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  19. vertex -706, 410, -716, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  20. vertex -654, 410, -818, 480, 480, 0xFF, 0xFF, 0xFF, 0xFF
  21. vertex -706, 307, -818, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  22. vertex -706, 410, -921, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  23. vertex 256, 410, -1525, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex 154, 512, -1525, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex 154, 410, -1474, 480, 478, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex 154, 307, -1525, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  27. vertex 51, 410, -1525, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  28. vertex 51, 1229, -1525, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
  29. vertex 154, 1126, -1525, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  30. vertex 154, 1229, -1474, 480, 478, 0xFF, 0xFF, 0xFF, 0xFF
  31. vertex 256, 1229, -1525, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex 154, 1331, -1525, 990, 0, 0xFF, 0xFF, 0xFF, 0xFF
  33. bbh_seg7_dl_07015930: # 0x07015930 - 0x07015A20
  34. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, spooky_09006800
  35. gsDPLoadSync
  36. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  37. gsSPVertex bbh_seg7_vertex_07015750, 15, 0
  38. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  39. gsSP2Triangles 3, 4, 2, 0x0, 4, 0, 2, 0x0
  40. gsSP2Triangles 5, 6, 7, 0x0, 8, 5, 7, 0x0
  41. gsSP2Triangles 6, 9, 7, 0x0, 9, 8, 7, 0x0
  42. gsSP2Triangles 10, 11, 12, 0x0, 11, 13, 12, 0x0
  43. gsSP2Triangles 13, 14, 12, 0x0, 14, 10, 12, 0x0
  44. gsSPVertex bbh_seg7_vertex_07015840, 15, 0
  45. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
  46. gsSP2Triangles 3, 4, 2, 0x0, 4, 0, 2, 0x0
  47. gsSP2Triangles 5, 6, 7, 0x0, 8, 5, 7, 0x0
  48. gsSP2Triangles 6, 9, 7, 0x0, 9, 8, 7, 0x0
  49. gsSP2Triangles 10, 11, 12, 0x0, 11, 13, 12, 0x0
  50. gsSP2Triangles 13, 14, 12, 0x0, 14, 10, 12, 0x0
  51. gsSPEndDisplayList
  52. glabel bbh_seg7_dl_07015A20 # 0x07015A20 - 0x07015A90
  53. gsDPPipeSync
  54. 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
  55. gsSPClearGeometryMode G_LIGHTING
  56. 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
  57. gsSPTexture -1, -1, 0, 0, 1
  58. gsDPTileSync
  59. 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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  60. gsDPSetTileSize 0, 0, 0, 124, 124
  61. gsSPDisplayList bbh_seg7_dl_07015930
  62. gsSPTexture -1, -1, 0, 0, 0
  63. gsDPPipeSync
  64. 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
  65. gsSPSetGeometryMode G_LIGHTING
  66. gsSPEndDisplayList