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.

77 lines
4.3 KiB

6 years ago
  1. ssl_seg7_vertex_0701F9D8: # 0x0701F9D8 - 0x0701FAD8
  2. vertex 1024, 1485, 2621, -10762, 2520, 0x00, 0x00, 0x00, 0xFF
  3. vertex 1024, 1485, 3113, -10762, -3610, 0x00, 0x00, 0x00, 0xFF
  4. vertex 1352, 1298, 3113, -14850, -3610, 0x00, 0x00, 0x00, 0xFF
  5. vertex 2970, 640, -3378, 2524, -4120, 0x00, 0x00, 0x00, 0xFF
  6. vertex 2355, 640, -3378, -5140, -4120, 0x00, 0x00, 0x00, 0xFF
  7. vertex 2355, 640, -3276, -5140, -2842, 0x00, 0x00, 0x00, 0xFF
  8. vertex 2970, 640, -3276, 2524, -2842, 0x00, 0x00, 0x00, 0xFF
  9. vertex 3174, 640, -2559, 5078, 6098, 0x00, 0x00, 0x00, 0xFF
  10. vertex 3174, 640, -3173, 5078, -1566, 0x00, 0x00, 0x00, 0xFF
  11. vertex 3072, 640, -3173, 3800, -1566, 0x00, 0x00, 0x00, 0xFF
  12. vertex 3072, 640, -2559, 3800, 6098, 0x00, 0x00, 0x00, 0xFF
  13. vertex 870, 1485, 2621, -8844, 2522, 0x00, 0x00, 0x00, 0xFF
  14. vertex 1352, 1298, 2621, -14850, 2520, 0x00, 0x00, 0x00, 0xFF
  15. vertex 819, 1536, 2621, -8206, 2522, 0x00, 0x00, 0x00, 0xFF
  16. vertex 870, 1536, 3113, -8844, -3610, 0x00, 0x00, 0x00, 0xFF
  17. vertex 870, 1536, 2621, -8844, 2522, 0x00, 0x00, 0x00, 0xFF
  18. ssl_seg7_vertex_0701FAD8: # 0x0701FAD8 - 0x0701FBD8
  19. vertex 1024, 1485, 3113, -10762, -3610, 0x00, 0x00, 0x00, 0xFF
  20. vertex 870, 1485, 2621, -8844, 2522, 0x00, 0x00, 0x00, 0xFF
  21. vertex 870, 1485, 3113, -8844, -3610, 0x00, 0x00, 0x00, 0xFF
  22. vertex -1023, 1485, 2621, 14788, 2522, 0x00, 0x00, 0x00, 0xFF
  23. vertex -1023, 1485, 3113, 14788, -3610, 0x00, 0x00, 0x00, 0xFF
  24. vertex -869, 1485, 3113, 12870, -3610, 0x00, 0x00, 0x00, 0xFF
  25. vertex -1351, 1298, 2621, 18876, 2522, 0x00, 0x00, 0x00, 0xFF
  26. vertex -1351, 1298, 3113, 18876, -3610, 0x00, 0x00, 0x00, 0xFF
  27. vertex -869, 1485, 2621, 12870, 2522, 0x00, 0x00, 0x00, 0xFF
  28. vertex 819, 1536, 2621, -8206, 2522, 0x00, 0x00, 0x00, 0xFF
  29. vertex 819, 1536, 3113, -8206, -3610, 0x00, 0x00, 0x00, 0xFF
  30. vertex 870, 1536, 3113, -8844, -3610, 0x00, 0x00, 0x00, 0xFF
  31. vertex 819, 1510, 3113, -8206, -3610, 0x00, 0x00, 0x00, 0xFF
  32. vertex -818, 1306, 2621, 12232, 2522, 0x00, 0x00, 0x00, 0xFF
  33. vertex -818, 1510, 3113, 12232, -3610, 0x00, 0x00, 0x00, 0xFF
  34. vertex 819, 1306, 2621, -8206, 2522, 0x00, 0x00, 0x00, 0xFF
  35. ssl_seg7_vertex_0701FBD8: # 0x0701FBD8 - 0x0701FC18
  36. vertex -869, 1536, 2621, 12870, 2522, 0x00, 0x00, 0x00, 0xFF
  37. vertex -869, 1536, 3113, 12870, -3610, 0x00, 0x00, 0x00, 0xFF
  38. vertex -818, 1536, 3113, 12232, -3610, 0x00, 0x00, 0x00, 0xFF
  39. vertex -818, 1536, 2621, 12232, 2522, 0x00, 0x00, 0x00, 0xFF
  40. ssl_seg7_dl_0701FC18: # 0x0701FC18 - 0x0701FCE0
  41. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, generic_09000000
  42. gsDPLoadSync
  43. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  44. gsSPVertex ssl_seg7_vertex_0701F9D8, 16, 0
  45. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  46. gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
  47. gsSP2Triangles 7, 9, 10, 0x0, 1, 0, 11, 0x0
  48. gsSP2Triangles 0, 2, 12, 0x0, 13, 14, 15, 0x0
  49. gsSPVertex ssl_seg7_vertex_0701FAD8, 16, 0
  50. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  51. gsSP2Triangles 4, 3, 6, 0x0, 4, 6, 7, 0x0
  52. gsSP2Triangles 3, 5, 8, 0x0, 9, 10, 11, 0x0
  53. gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
  54. gsSPVertex ssl_seg7_vertex_0701FBD8, 4, 0
  55. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  56. gsSPEndDisplayList
  57. glabel ssl_seg7_dl_0701FCE0 # 0x0701FCE0 - 0x0701FD60
  58. gsDPPipeSync
  59. gsDPSetEnvColor 255, 255, 255, 100
  60. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_ACMUX_0
  61. gsSPClearGeometryMode G_LIGHTING
  62. 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
  63. gsSPTexture -1, -1, 0, 0, 1
  64. gsDPTileSync
  65. 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
  66. gsDPSetTileSize 0, 0, 0, 124, 124
  67. gsSPDisplayList ssl_seg7_dl_0701FC18
  68. gsSPTexture -1, -1, 0, 0, 0
  69. gsDPPipeSync
  70. 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
  71. gsSPSetGeometryMode G_LIGHTING
  72. gsDPSetEnvColor 255, 255, 255, 255
  73. gsSPEndDisplayList