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.

73 lines
3.3 KiB

6 years ago
  1. ttm_seg7_light_0700CB60: # 0x0700CB60 - 0x0700CB68
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttm_seg7_light_0700CB68: # 0x0700CB68 - 0x0700CB78
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttm_seg7_light_0700CB78: # 0x0700CB78 - 0x0700CB80
  7. .byte 0x5D, 0x5D, 0x5D, 0x00, 0x5D, 0x5D, 0x5D, 0x00
  8. ttm_seg7_light_0700CB80: # 0x0700CB80 - 0x0700CB90
  9. .byte 0xBB, 0xBB, 0xBB, 0x00, 0xBB, 0xBB, 0xBB, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. ttm_seg7_vertex_0700CB90: # 0x0700CB90 - 0x0700CBF0
  12. vertex -323, -387, -61, 8458, -5948, 0x9C, 0xF1, 0x4B, 0xFF
  13. vertex -30, 389, 495, 9592, -7498, 0x9C, 0xF1, 0x4B, 0xFF
  14. vertex -224, 389, 235, 8972, -7498, 0x9C, 0xF1, 0x4B, 0xFF
  15. vertex -323, -387, -61, 8458, -5948, 0xC2, 0xD1, 0x63, 0xFF
  16. vertex 377, 389, 751, 10552, -7498, 0xC2, 0xD1, 0x63, 0xFF
  17. vertex -30, 389, 495, 9592, -7498, 0xC2, 0xD1, 0x63, 0xFF
  18. ttm_seg7_vertex_0700CBF0: # 0x0700CBF0 - 0x0700CC20
  19. vertex -323, -387, -61, 974, -2960, 0x82, 0x0D, 0x07, 0xFF
  20. vertex -224, 389, 235, 1654, -4488, 0x82, 0x0D, 0x07, 0xFF
  21. vertex -282, 389, -714, -132, -4554, 0x82, 0x0D, 0x07, 0xFF
  22. ttm_seg7_vertex_0700CC20: # 0x0700CC20 - 0x0700CC60
  23. vertex 377, 389, 751, 7672, -3032, 0x00, 0x7F, 0x00, 0xFF
  24. vertex -224, 389, 235, 6470, -4062, 0x00, 0x7F, 0x00, 0xFF
  25. vertex -30, 389, 495, 6856, -3544, 0x00, 0x7F, 0x00, 0xFF
  26. vertex -282, 389, -714, 6352, -5960, 0x00, 0x7F, 0x00, 0xFF
  27. ttm_seg7_dl_0700CC60: # 0x0700CC60 - 0x0700CCC8
  28. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004000
  29. gsDPLoadSync
  30. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  31. gsSPLight ttm_seg7_light_0700CB68, 1
  32. gsSPLight ttm_seg7_light_0700CB60, 2
  33. gsSPVertex ttm_seg7_vertex_0700CB90, 6, 0
  34. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  35. gsSPLight ttm_seg7_light_0700CB80, 1
  36. gsSPLight ttm_seg7_light_0700CB78, 2
  37. gsSPVertex ttm_seg7_vertex_0700CBF0, 3, 0
  38. gsSP1Triangle 0, 1, 2, 0x0
  39. gsSPEndDisplayList
  40. ttm_seg7_dl_0700CCC8: # 0x0700CCC8 - 0x0700CD10
  41. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09003800
  42. gsDPLoadSync
  43. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  44. gsSPLight ttm_seg7_light_0700CB68, 1
  45. gsSPLight ttm_seg7_light_0700CB60, 2
  46. gsSPVertex ttm_seg7_vertex_0700CC20, 4, 0
  47. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  48. gsSPEndDisplayList
  49. glabel ttm_seg7_dl_0700CD10 # 0x0700CD10 - 0x0700CD88
  50. gsDPPipeSync
  51. 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
  52. gsSPClearGeometryMode G_SHADING_SMOOTH
  53. 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
  54. gsSPTexture -1, -1, 0, 0, 1
  55. gsDPTileSync
  56. 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
  57. gsDPSetTileSize 0, 0, 0, 124, 124
  58. gsSPDisplayList ttm_seg7_dl_0700CC60
  59. gsSPDisplayList ttm_seg7_dl_0700CCC8
  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. gsSPSetGeometryMode G_SHADING_SMOOTH
  64. gsSPEndDisplayList