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.

68 lines
3.7 KiB

6 years ago
  1. thi_seg7_light_07007078: # 0x07007078 - 0x07007080
  2. .byte 0x7F, 0x7F, 0x3C, 0x00, 0x7F, 0x7F, 0x3C, 0x00
  3. thi_seg7_light_07007080: # 0x07007080 - 0x07007090
  4. .byte 0xFF, 0xFF, 0x78, 0x00, 0xFF, 0xFF, 0x78, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. thi_seg7_vertex_07007090: # 0x07007090 - 0x07007180
  7. vertex 5632, -6655, -6655, 76, 806, 0x00, 0x7F, 0x00, 0xFF
  8. vertex 5120, -6655, -7167, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  9. vertex 4608, -6655, -5631, 506, 990, 0x00, 0x7F, 0x00, 0xFF
  10. vertex -8191, -3583, -8191, 1502, 990, 0x00, 0x7F, 0x00, 0xFF
  11. vertex -5119, -3583, -4607, 0, 96, 0x00, 0x7F, 0x00, 0xFF
  12. vertex -5119, -3583, -8191, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  13. vertex -8191, -3583, -8191, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  14. vertex -8191, -3583, 8192, 8144, 990, 0x00, 0x7F, 0x00, 0xFF
  15. vertex -5119, -3583, 8192, 8144, 0, 0x00, 0x7F, 0x00, 0xFF
  16. vertex -5119, -3583, -4607, 1756, 0, 0x00, 0x7F, 0x00, 0xFF
  17. vertex -5119, -3583, 8192, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  18. vertex 6963, -3583, 8192, 5998, 990, 0x00, 0x7F, 0x00, 0xFF
  19. vertex 6963, -3583, 4608, 5998, 96, 0x00, 0x7F, 0x00, 0xFF
  20. vertex -5119, -3583, 4608, 0, 96, 0x00, 0x7F, 0x00, 0xFF
  21. vertex 5632, -6655, -4607, 722, 620, 0x00, 0x7F, 0x00, 0xFF
  22. thi_seg7_vertex_07007180: # 0x07007180 - 0x07007240
  23. vertex 7680, -6655, -6655, 224, 786, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex 8192, -6655, -7167, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  25. vertex 5120, -6655, -7167, 1502, 990, 0x00, 0x7F, 0x00, 0xFF
  26. vertex 5632, -6655, -6655, 1246, 786, 0x00, 0x7F, 0x00, 0xFF
  27. vertex -921, -6655, -5426, 1940, 990, 0x00, 0x7F, 0x00, 0xFF
  28. vertex -921, -6655, -4607, 1952, 844, 0x00, 0x7F, 0x00, 0xFF
  29. vertex 5632, -6655, -4607, -382, 800, 0x00, 0x7F, 0x00, 0xFF
  30. vertex 4608, -6655, -5631, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  31. vertex 7680, -6655, -6655, 970, 790, 0xFF, 0xFF, 0xFF, 0xFF
  32. vertex 7680, -6655, -5631, 470, 890, 0xFF, 0xFF, 0xFF, 0xFF
  33. vertex 7680, -6655, -4607, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
  34. vertex 8192, -6655, -7167, 1270, 990, 0x00, 0x7F, 0x00, 0xFF
  35. thi_seg7_dl_07007240: # 0x07007240 - 0x070072E8
  36. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, grass_0900B800
  37. gsDPLoadSync
  38. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  39. gsSPLight thi_seg7_light_07007080, 1
  40. gsSPLight thi_seg7_light_07007078, 2
  41. gsSPVertex thi_seg7_vertex_07007090, 15, 0
  42. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  43. gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
  44. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  45. gsSP1Triangle 0, 2, 14, 0x0
  46. gsSPVertex thi_seg7_vertex_07007180, 12, 0
  47. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  48. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  49. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  50. gsSPEndDisplayList
  51. glabel thi_seg7_dl_070072E8 # 0x070072E8 - 0x07007348
  52. gsDPPipeSync
  53. 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
  54. 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
  55. gsSPTexture -1, -1, 0, 0, 1
  56. gsDPTileSync
  57. 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_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  58. gsDPSetTileSize 0, 0, 0, 124, 124
  59. gsSPDisplayList thi_seg7_dl_07007240
  60. gsSPTexture -1, -1, 0, 0, 0
  61. gsDPPipeSync
  62. 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
  63. gsSPEndDisplayList