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.9 KiB

5 years ago
  1. lll_seg7_vertex_07025C90: # 0x07025C90 - 0x07025D70
  2. vertex -306, 614, 0, 0, 864, 0x77, 0x77, 0x77, 0xFF
  3. vertex -306, -101, 0, 0, 3184, 0x77, 0x77, 0x77, 0xFF
  4. vertex -306, -101, 102, 300, 3184, 0x77, 0x77, 0x77, 0xFF
  5. vertex -306, 614, 102, 300, 864, 0x77, 0x77, 0x77, 0xFF
  6. vertex 307, -101, 0, 3086, 3184, 0x77, 0x77, 0x77, 0xFF
  7. vertex 307, 614, 102, 2754, 864, 0x77, 0x77, 0x77, 0xFF
  8. vertex 307, -101, 102, 2754, 3184, 0x77, 0x77, 0x77, 0xFF
  9. vertex 307, 614, 0, 3086, 864, 0x77, 0x77, 0x77, 0xFF
  10. vertex -306, -101, 0, 5078, 3184, 0xFF, 0xFF, 0xFF, 0xFF
  11. vertex -306, 614, 0, 5078, 864, 0xFF, 0xFF, 0xFF, 0xFF
  12. vertex 307, 614, 0, 3086, 864, 0xFF, 0xFF, 0xFF, 0xFF
  13. vertex 307, -101, 0, 3086, 3184, 0xFF, 0xFF, 0xFF, 0xFF
  14. vertex 307, 614, 102, 3086, 830, 0xFF, 0xFF, 0xFF, 0xFF
  15. vertex -306, 614, 102, 5078, 830, 0xFF, 0xFF, 0xFF, 0xFF
  16. lll_seg7_vertex_07025D70: # 0x07025D70 - 0x07025E10
  17. vertex 307, -101, 102, -2584, -4120, 0x77, 0x77, 0x77, 0xFF
  18. vertex 307, 614, 102, -2584, 3032, 0x77, 0x77, 0x77, 0xFF
  19. vertex 307, -101, 700, -2584, -4120, 0x77, 0x77, 0x77, 0xFF
  20. vertex -306, 614, 102, 3544, 3032, 0x77, 0x77, 0x77, 0xFF
  21. vertex -306, -101, 102, 3546, -4120, 0x77, 0x77, 0x77, 0xFF
  22. vertex -306, -101, 700, 3544, -4120, 0x77, 0x77, 0x77, 0xFF
  23. vertex 307, -101, 700, -2584, -4120, 0xFF, 0xFF, 0xFF, 0xFF
  24. vertex -306, 614, 102, 3544, 3032, 0xFF, 0xFF, 0xFF, 0xFF
  25. vertex -306, -101, 700, 3544, -4120, 0xFF, 0xFF, 0xFF, 0xFF
  26. vertex 307, 614, 102, -2584, 3032, 0xFF, 0xFF, 0xFF, 0xFF
  27. lll_seg7_dl_07025E10: # 0x07025E10 - 0x07025E78
  28. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, lll_seg7_texture_0700DC00
  29. gsDPLoadSync
  30. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  31. gsSPVertex lll_seg7_vertex_07025C90, 14, 0
  32. gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
  33. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  34. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  35. gsSP2Triangles 9, 12, 10, 0x0, 9, 13, 12, 0x0
  36. gsSPEndDisplayList
  37. lll_seg7_dl_07025E78: # 0x07025E78 - 0x07025EC0
  38. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_0900A000
  39. gsDPLoadSync
  40. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  41. gsSPVertex lll_seg7_vertex_07025D70, 10, 0
  42. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  43. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  44. gsSPEndDisplayList
  45. glabel lll_seg7_dl_07025EC0 # 0x07025EC0 - 0x07025F80
  46. gsDPPipeSync
  47. gsDPSetCycleType G_CYC_2CYCLE
  48. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  49. gsDPSetDepthSource G_ZS_PIXEL
  50. gsDPSetFogColor 0, 0, 0, 255
  51. gsSPFogFactor 0x0855, 0xF8AB # This isn't gsSPFogPosition since there is no valid min/max pair that corresponds to 0x0855F8AB
  52. gsSPSetGeometryMode G_FOG
  53. gsDPSetCombineMode G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE, G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_COMBINED, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_COMBINED
  54. gsSPClearGeometryMode G_LIGHTING
  55. 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
  56. gsSPTexture -1, -1, 0, 0, 1
  57. gsDPTileSync
  58. 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
  59. gsDPSetTileSize 0, 0, 0, 124, 124
  60. gsSPDisplayList lll_seg7_dl_07025E10
  61. gsSPDisplayList lll_seg7_dl_07025E78
  62. gsSPTexture -1, -1, 0, 0, 0
  63. gsDPPipeSync
  64. gsDPSetCycleType G_CYC_1CYCLE
  65. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  66. gsSPClearGeometryMode G_FOG
  67. 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
  68. gsSPSetGeometryMode G_LIGHTING
  69. gsSPEndDisplayList