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.

64 lines
3.1 KiB

6 years ago
  1. ttm_seg7_light_0700BC70: # 0x0700BC70 - 0x0700BC78
  2. .byte 0x7F, 0x7F, 0x7F, 0x00, 0x7F, 0x7F, 0x7F, 0x00
  3. ttm_seg7_light_0700BC78: # 0x0700BC78 - 0x0700BC88
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. ttm_seg7_light_0700BC88: # 0x0700BC88 - 0x0700BC90
  7. .byte 0x5D, 0x5D, 0x5D, 0x00, 0x5D, 0x5D, 0x5D, 0x00
  8. ttm_seg7_light_0700BC90: # 0x0700BC90 - 0x0700BCA0
  9. .byte 0xBB, 0xBB, 0xBB, 0x00, 0xBB, 0xBB, 0xBB, 0x00
  10. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  11. ttm_seg7_vertex_0700BCA0: # 0x0700BCA0 - 0x0700BCE0
  12. vertex 307, 32, 307, 0, 2418, 0x00, 0x7F, 0x00, 0xFF
  13. vertex 307, 32, -409, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  14. vertex -306, 32, -409, -1256, 990, 0x00, 0x7F, 0x00, 0xFF
  15. vertex -306, 32, 307, -1256, 2418, 0x00, 0x7F, 0x00, 0xFF
  16. ttm_seg7_vertex_0700BCE0: # 0x0700BCE0 - 0x0700BDA0
  17. vertex 307, 32, -409, 0, 990, 0x58, 0x5A, 0x00, 0xFF
  18. vertex 307, 32, 307, 0, 2418, 0x58, 0x5A, 0x00, 0xFF
  19. vertex 355, -15, 355, 64, 2514, 0x58, 0x5A, 0x00, 0xFF
  20. vertex 355, -15, 355, 64, 2514, 0x00, 0x5A, 0x58, 0xFF
  21. vertex 307, 32, 307, 0, 2418, 0x00, 0x5A, 0x58, 0xFF
  22. vertex -369, -30, 370, -1380, 2544, 0x00, 0x5A, 0x58, 0xFF
  23. vertex 307, 32, 307, 0, 2418, 0x00, 0x5A, 0x59, 0xFF
  24. vertex -306, 32, 307, -1256, 2418, 0x00, 0x5A, 0x59, 0xFF
  25. vertex -369, -30, 370, -1380, 2544, 0x00, 0x5A, 0x59, 0xFF
  26. vertex -369, -30, 370, -1380, 2544, 0xA7, 0x5A, 0x00, 0xFF
  27. vertex -306, 32, 307, -1256, 2418, 0xA7, 0x5A, 0x00, 0xFF
  28. vertex -306, 32, -409, -1256, 990, 0xA7, 0x5A, 0x00, 0xFF
  29. ttm_seg7_dl_0700BDA0: # 0x0700BDA0 - 0x0700BE20
  30. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09004000
  31. gsDPLoadSync
  32. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  33. gsSPLight ttm_seg7_light_0700BC78, 1
  34. gsSPLight ttm_seg7_light_0700BC70, 2
  35. gsSPVertex ttm_seg7_vertex_0700BCA0, 4, 0
  36. gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
  37. gsSPLight ttm_seg7_light_0700BC90, 1
  38. gsSPLight ttm_seg7_light_0700BC88, 2
  39. gsSPVertex ttm_seg7_vertex_0700BCE0, 12, 0
  40. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  41. gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
  42. gsSPEndDisplayList
  43. glabel ttm_seg7_dl_0700BE20 # 0x0700BE20 - 0x0700BE90
  44. gsDPPipeSync
  45. 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
  46. gsSPClearGeometryMode G_SHADING_SMOOTH
  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_WRAP | 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 ttm_seg7_dl_0700BDA0
  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_SHADING_SMOOTH
  57. gsSPEndDisplayList