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.

89 lines
4.9 KiB

5 years ago
  1. lll_seg7_vertex_07019C80: # 0x07019C80 - 0x07019D20
  2. vertex -509, 41, -511, -30, 0, 0x00, 0x7E, 0x0A, 0xFF
  3. vertex -1023, 0, 0, -542, 478, 0x00, 0x7E, 0x0A, 0xFF
  4. vertex -1, 0, 0, 476, 480, 0x00, 0x7E, 0x0A, 0xFF
  5. vertex -1023, 0, 1024, -542, 1500, 0x00, 0x7E, 0x0A, 0xFF
  6. vertex 0, 0, 1024, 480, 1500, 0x00, 0x7E, 0x0A, 0xFF
  7. vertex -509, 41, 512, -30, 990, 0x00, 0x7E, 0x0A, 0xFF
  8. vertex 1024, 0, 1024, 1502, 1500, 0x00, 0x7E, 0x0A, 0xFF
  9. vertex 514, 41, 512, 992, 990, 0x00, 0x7E, 0x0A, 0xFF
  10. vertex 1024, 0, 0, 1502, 478, 0x00, 0x7E, 0x0A, 0xFF
  11. vertex 514, 41, -511, 992, 0, 0x00, 0x7E, 0x0A, 0xFF
  12. lll_seg7_vertex_07019D20: # 0x07019D20 - 0x07019E20
  13. vertex 0, 0, -1023, 480, -544, 0xF6, 0x7E, 0x00, 0xFF
  14. vertex -1, 0, 0, 476, 480, 0xF6, 0x7E, 0x00, 0xFF
  15. vertex 514, 41, -511, 992, 0, 0xF6, 0x7E, 0x00, 0xFF
  16. vertex 1024, 0, -1023, 1502, -544, 0x0A, 0x7E, 0x00, 0xFF
  17. vertex 514, 41, -511, 992, 0, 0x0A, 0x7E, 0x00, 0xFF
  18. vertex 1024, 0, 0, 1502, 478, 0x0A, 0x7E, 0x00, 0xFF
  19. vertex 1024, 0, 1024, 1502, 1500, 0x0A, 0x7E, 0x00, 0xFF
  20. vertex 514, 41, 512, 992, 990, 0x0A, 0x7E, 0x00, 0xFF
  21. vertex -1023, 0, -1023, -542, -544, 0xF6, 0x7E, 0x00, 0xFF
  22. vertex -1023, 0, 0, -542, 478, 0xF6, 0x7E, 0x00, 0xFF
  23. vertex -509, 41, -511, -30, 0, 0xF6, 0x7E, 0x00, 0xFF
  24. vertex -1023, 0, 1024, -542, 1500, 0xF6, 0x7E, 0x00, 0xFF
  25. vertex -509, 41, 512, -30, 990, 0xF6, 0x7E, 0x00, 0xFF
  26. vertex 0, 0, -1023, 480, -544, 0x0A, 0x7E, 0x00, 0xFF
  27. vertex -509, 41, -511, -30, 0, 0x0A, 0x7E, 0x00, 0xFF
  28. vertex -1, 0, 0, 476, 480, 0x0A, 0x7E, 0x00, 0xFF
  29. lll_seg7_vertex_07019E20: # 0x07019E20 - 0x07019E80
  30. vertex -509, 41, 512, -30, 990, 0x0A, 0x7E, 0x00, 0xFF
  31. vertex 0, 0, 1024, 480, 1500, 0x0A, 0x7E, 0x00, 0xFF
  32. vertex 0, 0, 0, 478, 480, 0x0A, 0x7E, 0x00, 0xFF
  33. vertex 0, 0, 1024, 480, 1500, 0xF6, 0x7E, 0x00, 0xFF
  34. vertex 514, 41, 512, 992, 990, 0xF6, 0x7E, 0x00, 0xFF
  35. vertex 0, 0, 0, 478, 480, 0xF6, 0x7E, 0x00, 0xFF
  36. lll_seg7_vertex_07019E80: # 0x07019E80 - 0x07019F20
  37. vertex 1024, 0, -1023, 1502, -544, 0x00, 0x7E, 0xF6, 0xFF
  38. vertex 0, 0, -1023, 480, -544, 0x00, 0x7E, 0xF6, 0xFF
  39. vertex 514, 41, -511, 992, 0, 0x00, 0x7E, 0xF6, 0xFF
  40. vertex -1023, 0, -1023, -542, -544, 0x00, 0x7E, 0xF6, 0xFF
  41. vertex -509, 41, -511, -30, 0, 0x00, 0x7E, 0xF6, 0xFF
  42. vertex -1023, 0, 0, -542, 478, 0x00, 0x7E, 0xF6, 0xFF
  43. vertex -509, 41, 512, -30, 990, 0x00, 0x7E, 0xF6, 0xFF
  44. vertex 0, 0, 0, 478, 480, 0x00, 0x7E, 0xF6, 0xFF
  45. vertex 514, 41, 512, 992, 990, 0x00, 0x7E, 0xF6, 0xFF
  46. vertex 1024, 0, 0, 1502, 478, 0x00, 0x7E, 0xF6, 0xFF
  47. lll_seg7_dl_07019F20: # 0x07019F20 - 0x0701A010
  48. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09004000
  49. gsDPLoadSync
  50. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  51. gsSPLight lll_seg7_light_0700FC50, 1
  52. gsSPLight lll_seg7_light_0700FC48, 2
  53. gsSPVertex lll_seg7_vertex_07019C80, 10, 0
  54. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  55. gsSP2Triangles 4, 6, 7, 0x0, 2, 8, 9, 0x0
  56. gsSPLight lll_seg7_light_0700FC68, 1
  57. gsSPLight lll_seg7_light_0700FC60, 2
  58. gsSPVertex lll_seg7_vertex_07019D20, 16, 0
  59. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  60. gsSP2Triangles 6, 5, 7, 0x0, 8, 9, 10, 0x0
  61. gsSP2Triangles 9, 11, 12, 0x0, 13, 14, 15, 0x0
  62. gsSPVertex lll_seg7_vertex_07019E20, 6, 0
  63. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  64. gsSPLight lll_seg7_light_0700FC08, 1
  65. gsSPLight lll_seg7_light_0700FC00, 2
  66. gsSPVertex lll_seg7_vertex_07019E80, 10, 0
  67. gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 4, 0x0
  68. gsSP2Triangles 5, 6, 7, 0x0, 8, 9, 7, 0x0
  69. gsSPEndDisplayList
  70. glabel lll_seg7_dl_0701A010 # 0x0701A010 - 0x0701A080
  71. gsDPPipeSync
  72. 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
  73. gsSPClearGeometryMode G_SHADING_SMOOTH
  74. 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
  75. gsSPTexture -1, -1, 0, 0, 1
  76. gsDPTileSync
  77. 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
  78. gsDPSetTileSize 0, 0, 0, 124, 124
  79. gsSPDisplayList lll_seg7_dl_07019F20
  80. gsSPTexture -1, -1, 0, 0, 0
  81. gsDPPipeSync
  82. 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
  83. gsSPSetGeometryMode G_SHADING_SMOOTH
  84. gsSPEndDisplayList