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.

117 lines
6.1 KiB

6 years ago
  1. sl_seg7_light_07008930: # 0x07008930 - 0x07008938
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. sl_seg7_light_07008938: # 0x07008938 - 0x07008948
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. sl_seg7_light_07008948: # 0x07008948 - 0x07008950
  7. .byte 0x22, 0x17, 0x00, 0x00, 0x22, 0x17, 0x00, 0x00
  8. sl_seg7_light_07008950: # 0x07008950 - 0x07008960
  9. .byte 0x44, 0x2F, 0x00, 0x00, 0x44, 0x2F, 0x00, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. sl_seg7_vertex_07008960: # 0x07008960 - 0x07008A60
  12. vertex 1487, 1536, -3572, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  13. vertex 1691, 1536, -3435, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  14. vertex 1828, 1536, -3639, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  15. vertex 1889, 2816, -1035, 990, 92, 0x00, 0x7F, 0x00, 0xFF
  16. vertex 1643, 2816, -1032, 0, 102, 0x00, 0x7F, 0x00, 0xFF
  17. vertex 1643, 2816, -819, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  18. vertex 1793, 2816, -819, 590, 990, 0x00, 0x7F, 0x00, 0xFF
  19. vertex 1889, 2816, -925, 990, 550, 0x00, 0x7F, 0x00, 0xFF
  20. vertex -2916, 1024, -549, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  21. vertex -2712, 1024, -412, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  22. vertex -2575, 1024, -615, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  23. vertex -2779, 1024, -753, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  24. vertex 1624, 1536, -3776, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  25. vertex 5496, 1024, -3308, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  26. vertex 5700, 1024, -3170, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  27. vertex 5837, 1024, -3374, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  28. sl_seg7_vertex_07008A60: # 0x07008A60 - 0x07008B50
  29. vertex 1748, 1024, -4726, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  30. vertex 2089, 1024, -4792, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  31. vertex 1885, 1024, -4930, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  32. vertex 1952, 1024, -4589, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  33. vertex 3475, 1024, -5856, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  34. vertex 3816, 1024, -5922, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  35. vertex 3612, 1024, -6059, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  36. vertex 3679, 1024, -5718, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  37. vertex 5225, 1055, -5410, 0, 0, 0x00, 0x7E, 0xFB, 0xFF
  38. vertex 5566, 1053, -5476, 990, 990, 0x00, 0x7E, 0xFB, 0xFF
  39. vertex 5362, 1046, -5613, 990, 0, 0x00, 0x7E, 0xFB, 0xFF
  40. vertex 5428, 1062, -5273, 0, 990, 0x00, 0x7E, 0xFB, 0xFF
  41. vertex -170, 4864, 33, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  42. vertex 33, 4864, 171, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  43. vertex 171, 4864, -32, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  44. sl_seg7_vertex_07008B50: # 0x07008B50 - 0x07008BF0
  45. vertex 5496, 1024, -3308, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  46. vertex 5837, 1024, -3374, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  47. vertex 5633, 1024, -3512, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  48. vertex -3940, 1024, -1163, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  49. vertex -3599, 1024, -1230, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  50. vertex -3803, 1024, -1367, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  51. vertex -3736, 1024, -1026, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  52. vertex -170, 4864, 33, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  53. vertex 171, 4864, -32, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  54. vertex -32, 4864, -170, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  55. sl_seg7_vertex_07008BF0: # 0x07008BF0 - 0x07008C30
  56. vertex 3762, 1024, 5487, 0, 0, 0x00, 0x7F, 0x00, 0xFF
  57. vertex 5401, 1024, 3849, 990, 990, 0x00, 0x7F, 0x00, 0xFF
  58. vertex 3762, 1024, 3849, 990, 0, 0x00, 0x7F, 0x00, 0xFF
  59. vertex 5401, 1024, 5487, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  60. sl_seg7_dl_07008C30: # 0x07008C30 - 0x07008D10
  61. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, snow_09009800
  62. gsDPLoadSync
  63. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  64. gsSPLight sl_seg7_light_07008938, 1
  65. gsSPLight sl_seg7_light_07008930, 2
  66. gsSPVertex sl_seg7_vertex_07008960, 16, 0
  67. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  68. gsSP2Triangles 3, 5, 6, 0x0, 3, 6, 7, 0x0
  69. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  70. gsSP2Triangles 0, 2, 12, 0x0, 13, 14, 15, 0x0
  71. gsSPVertex sl_seg7_vertex_07008A60, 15, 0
  72. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  73. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  74. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  75. gsSP1Triangle 12, 13, 14, 0x0
  76. gsSPVertex sl_seg7_vertex_07008B50, 10, 0
  77. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  78. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  79. gsSPEndDisplayList
  80. sl_seg7_dl_07008D10: # 0x07008D10 - 0x07008D58
  81. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, snow_09009000
  82. gsDPLoadSync
  83. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  84. gsSPLight sl_seg7_light_07008950, 1
  85. gsSPLight sl_seg7_light_07008948, 2
  86. gsSPVertex sl_seg7_vertex_07008BF0, 4, 0
  87. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  88. gsSPEndDisplayList
  89. glabel sl_seg7_dl_07008D58 # 0x07008D58 - 0x07008DE8
  90. gsDPPipeSync
  91. 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
  92. gsSPClearGeometryMode G_SHADING_SMOOTH
  93. gsDPSetTile G_IM_FMT_IA, 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
  94. gsSPTexture -1, -1, 0, 0, 1
  95. gsDPTileSync
  96. gsDPSetTile G_IM_FMT_IA, 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
  97. gsDPSetTileSize 0, 0, 0, 124, 124
  98. gsSPDisplayList sl_seg7_dl_07008C30
  99. gsDPTileSync
  100. gsDPSetTile G_IM_FMT_IA, 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
  101. gsDPSetTileSize 0, 0, 0, 124, 124
  102. gsSPDisplayList sl_seg7_dl_07008D10
  103. gsSPTexture -1, -1, 0, 0, 0
  104. gsDPPipeSync
  105. 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
  106. gsSPSetGeometryMode G_SHADING_SMOOTH
  107. gsSPEndDisplayList