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.

60 lines
3.4 KiB

5 years ago
  1. bitdw_seg7_vertex_07004390: # 0x07004390 - 0x07004480
  2. vertex 979, 307, -1022, 7430, 990, 0xAF, 0xCE, 0x16, 0xFF
  3. vertex 253, 255, -1018, 240, -14, 0xAF, 0xCE, 0x16, 0xFF
  4. vertex 258, 153, -1027, 70, 990, 0xAF, 0xCE, 0x16, 0xFF
  5. vertex 49, 205, -1632, 172, 990, 0xAF, 0xCE, 0x16, 0xFF
  6. vertex 979, 307, -1637, 9510, 990, 0xAF, 0xCE, 0x16, 0xFF
  7. vertex 979, 410, -1637, 9510, 0, 0xAF, 0xCE, 0x16, 0xFF
  8. vertex 49, 307, -1632, 238, -30, 0xAF, 0xCE, 0x16, 0xFF
  9. vertex 49, 205, -1632, 20784, 990, 0xAF, 0xCE, 0x16, 0xFF
  10. vertex 49, 307, -1632, 20784, 0, 0xAF, 0xCE, 0x16, 0xFF
  11. vertex -874, 102, 214, 172, 0, 0xAF, 0xCE, 0x16, 0xFF
  12. vertex -869, 0, 205, 172, 990, 0xAF, 0xCE, 0x16, 0xFF
  13. vertex -874, 102, 214, 17900, -6, 0xAF, 0xCE, 0x16, 0xFF
  14. vertex -44, -413, 1770, -438, 0, 0xAF, 0xCE, 0x16, 0xFF
  15. vertex -50, -511, 1741, -438, 990, 0xAF, 0xCE, 0x16, 0xFF
  16. vertex -869, 0, 205, 17670, 990, 0xAF, 0xCE, 0x16, 0xFF
  17. bitdw_seg7_vertex_07004480: # 0x07004480 - 0x07004530
  18. vertex 33, -135, 544, -438, 0, 0xAF, 0xCE, 0x16, 0xFF
  19. vertex -255, 0, 0, 5772, 990, 0xAF, 0xCE, 0x16, 0xFF
  20. vertex -258, 102, 8, 6092, 20, 0xAF, 0xCE, 0x16, 0xFF
  21. vertex 979, 307, -1022, 7430, 990, 0xAF, 0xCE, 0x16, 0xFF
  22. vertex 979, 410, -1023, 7644, -10, 0xAF, 0xCE, 0x16, 0xFF
  23. vertex 253, 255, -1018, 240, -14, 0xAF, 0xCE, 0x16, 0xFF
  24. vertex 258, 153, -1027, 11336, 990, 0xAF, 0xCE, 0x16, 0xFF
  25. vertex 253, 255, -1018, 11370, 0, 0xAF, 0xCE, 0x16, 0xFF
  26. vertex -258, 102, 8, -186, -30, 0xAF, 0xCE, 0x16, 0xFF
  27. vertex -255, 0, 0, -234, 990, 0xAF, 0xCE, 0x16, 0xFF
  28. vertex 21, -230, 508, -438, 990, 0xAF, 0xCE, 0x16, 0xFF
  29. bitdw_seg7_dl_07004530: # 0x07004530 - 0x070045C0
  30. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09005000
  31. gsDPLoadSync
  32. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  33. gsSPVertex bitdw_seg7_vertex_07004390, 15, 0
  34. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  35. gsSP2Triangles 5, 6, 3, 0x0, 7, 8, 9, 0x0
  36. gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
  37. gsSP1Triangle 14, 11, 13, 0x0
  38. gsSPVertex bitdw_seg7_vertex_07004480, 11, 0
  39. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  40. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  41. gsSP1Triangle 0, 10, 1, 0x0
  42. gsSPEndDisplayList
  43. glabel bitdw_seg7_dl_070045C0 # 0x070045C0 - 0x07004630
  44. gsDPPipeSync
  45. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  46. gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
  47. 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
  48. gsSPTexture -1, -1, 0, 0, 1
  49. gsDPTileSync
  50. 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
  51. gsDPSetTileSize 0, 0, 0, 124, 124
  52. gsSPDisplayList bitdw_seg7_dl_07004530
  53. gsSPTexture -1, -1, 0, 0, 0
  54. gsDPPipeSync
  55. 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
  56. gsSPSetGeometryMode G_LIGHTING | G_CULL_BACK
  57. gsSPEndDisplayList