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.

108 lines
5.6 KiB

6 years ago
  1. bbh_seg7_light_07020368: # 0x07020368 - 0x07020370
  2. .byte 0x66, 0x66, 0x66, 0x00, 0x66, 0x66, 0x66, 0x00
  3. bbh_seg7_light_07020370: # 0x07020370 - 0x07020380
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. bbh_seg7_vertex_07020380: # 0x07020380 - 0x07020480
  7. vertex 58, 0, 0, 990, 479, 0x00, 0x00, 0x7F, 0xFF
  8. vertex -57, 77, 0, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  9. vertex -57, 0, 0, 0, 479, 0x00, 0x00, 0x7F, 0xFF
  10. vertex 58, 77, 0, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  11. vertex 115, 0, -306, 2006, 479, 0x7C, 0x00, 0x17, 0xFF
  12. vertex 58, 77, 0, 0, 0, 0x7C, 0x00, 0x17, 0xFF
  13. vertex 58, 0, 0, 0, 479, 0x7C, 0x00, 0x17, 0xFF
  14. vertex 115, 77, -306, 2006, 0, 0x7C, 0x00, 0x17, 0xFF
  15. vertex 58, 0, -460, 990, 479, 0x77, 0x00, 0xD4, 0xFF
  16. vertex 115, 77, -306, -30, 0, 0x77, 0x00, 0xD4, 0xFF
  17. vertex 115, 0, -306, -30, 479, 0x77, 0x00, 0xD4, 0xFF
  18. vertex 58, 77, -460, 990, 0, 0x77, 0x00, 0xD4, 0xFF
  19. vertex -57, 0, -460, 0, 479, 0x00, 0x00, 0x81, 0xFF
  20. vertex 58, 77, -460, 990, 0, 0x00, 0x00, 0x81, 0xFF
  21. vertex 58, 0, -460, 990, 479, 0x00, 0x00, 0x81, 0xFF
  22. vertex -57, 77, -460, 0, 0, 0x00, 0x00, 0x81, 0xFF
  23. bbh_seg7_vertex_07020480: # 0x07020480 - 0x07020500
  24. vertex -114, 0, -306, -30, 479, 0x89, 0x00, 0xD4, 0xFF
  25. vertex -114, 77, -306, -30, 0, 0x89, 0x00, 0xD4, 0xFF
  26. vertex -57, 77, -460, 990, 0, 0x89, 0x00, 0xD4, 0xFF
  27. vertex -57, 0, -460, 990, 479, 0x89, 0x00, 0xD4, 0xFF
  28. vertex -57, 0, 0, 0, 479, 0x84, 0x00, 0x17, 0xFF
  29. vertex -114, 77, -306, 2006, 0, 0x84, 0x00, 0x17, 0xFF
  30. vertex -114, 0, -306, 2006, 479, 0x84, 0x00, 0x17, 0xFF
  31. vertex -57, 77, 0, 0, 0, 0x84, 0x00, 0x17, 0xFF
  32. bbh_seg7_vertex_07020500: # 0x07020500 - 0x07020560
  33. vertex -57, 0, -460, 3034, 1117, 0x00, 0x81, 0x00, 0xFF
  34. vertex 58, 0, -460, 3034, 351, 0x00, 0x81, 0x00, 0xFF
  35. vertex 115, 0, -306, 2012, 0, 0x00, 0x81, 0x00, 0xFF
  36. vertex -114, 0, -306, 2012, 1500, 0x00, 0x81, 0x00, 0xFF
  37. vertex -57, 0, 0, 0, 1117, 0x00, 0x81, 0x00, 0xFF
  38. vertex 58, 0, 0, 0, 351, 0x00, 0x81, 0x00, 0xFF
  39. bbh_seg7_vertex_07020560: # 0x07020560 - 0x070205C0
  40. vertex -57, 77, 0, 224, 2012, 0x00, 0x7F, 0x00, 0xFF
  41. vertex 115, 77, -306, 990, 648, 0x00, 0x7F, 0x00, 0xFF
  42. vertex -114, 77, -306, 0, 648, 0x00, 0x7F, 0x00, 0xFF
  43. vertex 58, 77, 0, 734, 2012, 0x00, 0x7F, 0x00, 0xFF
  44. vertex 58, 77, -460, 734, 0, 0x00, 0x7F, 0x00, 0xFF
  45. vertex -57, 77, -460, 224, 0, 0x00, 0x7F, 0x00, 0xFF
  46. bbh_seg7_dl_070205C0: # 0x070205C0 - 0x07020660
  47. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bbh_seg7_texture_07004400
  48. gsDPLoadSync
  49. gsDPLoadBlock 7, 0, 0, 0x1FF, 0x100
  50. gsSPLight bbh_seg7_light_07020370, 1
  51. gsSPLight bbh_seg7_light_07020368, 2
  52. gsSPVertex bbh_seg7_vertex_07020380, 16, 0
  53. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  54. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  55. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  56. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  57. gsSPVertex bbh_seg7_vertex_07020480, 8, 0
  58. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  59. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  60. gsSPEndDisplayList
  61. bbh_seg7_dl_07020660: # 0x07020660 - 0x070206A8
  62. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bbh_seg7_texture_07003000
  63. gsDPLoadSync
  64. gsDPLoadBlock 7, 0, 0, 0x1FF, 0x100
  65. gsSPVertex bbh_seg7_vertex_07020500, 6, 0
  66. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  67. gsSP2Triangles 2, 4, 3, 0x0, 2, 5, 4, 0x0
  68. gsSPEndDisplayList
  69. bbh_seg7_dl_070206A8: # 0x070206A8 - 0x070206F0
  70. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bbh_seg7_texture_07003400
  71. gsDPLoadSync
  72. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  73. gsSPVertex bbh_seg7_vertex_07020560, 6, 0
  74. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  75. gsSP2Triangles 1, 4, 5, 0x0, 1, 5, 2, 0x0
  76. gsSPEndDisplayList
  77. glabel bbh_seg7_dl_070206F0 # 0x070206F0 - 0x070207A0
  78. gsDPPipeSync
  79. 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
  80. gsSPClearGeometryMode G_SHADING_SMOOTH
  81. 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
  82. gsSPTexture -1, -1, 0, 0, 1
  83. gsDPTileSync
  84. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  85. gsDPSetTileSize 0, 0, 0, 124, 60
  86. gsSPDisplayList bbh_seg7_dl_070205C0
  87. gsDPTileSync
  88. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  89. gsDPSetTileSize 0, 0, 0, 124, 60
  90. gsSPDisplayList bbh_seg7_dl_07020660
  91. gsDPTileSync
  92. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  93. gsDPSetTileSize 0, 0, 0, 124, 252
  94. gsSPDisplayList bbh_seg7_dl_070206A8
  95. gsSPTexture -1, -1, 0, 0, 0
  96. gsDPPipeSync
  97. 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
  98. gsSPSetGeometryMode G_SHADING_SMOOTH
  99. gsSPEndDisplayList