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.

52 lines
2.5 KiB

6 years ago
  1. jrb_seg7_light_0700AD38: # 0x0700AD38 - 0x0700AD40
  2. .byte 0x3F, 0x3F, 0x3F, 0x00, 0x3F, 0x3F, 0x3F, 0x00
  3. jrb_seg7_light_0700AD40: # 0x0700AD40 - 0x0700AD50
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. jrb_seg7_vertex_0700AD50: # 0x0700AD50 - 0x0700ADD0
  7. vertex -153, 922, 154, -796, -2076, 0xA7, 0x0E, 0x59, 0xFF
  8. vertex -153, 922, -153, 736, -2076, 0xA7, 0x0E, 0xA7, 0xFF
  9. vertex 0, 0, 0, 0, 990, 0x00, 0x82, 0x00, 0xFF
  10. vertex 154, 922, 154, 736, -2076, 0x59, 0x0E, 0x59, 0xFF
  11. vertex 0, 1382, 0, 0, -3610, 0x00, 0x7E, 0x00, 0xFF
  12. vertex -153, 922, -153, -796, -2076, 0xA7, 0x0E, 0xA7, 0xFF
  13. vertex 154, 922, -153, 736, -2076, 0x59, 0x0E, 0xA7, 0xFF
  14. vertex 154, 922, 154, -796, -2076, 0x59, 0x0E, 0x59, 0xFF
  15. jrb_seg7_dl_0700ADD0: # 0x0700ADD0 - 0x0700AE48
  16. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, water_09001800
  17. gsDPLoadSync
  18. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
  19. gsSPLight jrb_seg7_light_0700AD40, 1
  20. gsSPLight jrb_seg7_light_0700AD38, 2
  21. gsSPVertex jrb_seg7_vertex_0700AD50, 8, 0
  22. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 0, 0x0
  23. gsSP2Triangles 5, 4, 6, 0x0, 6, 4, 7, 0x0
  24. gsSP2Triangles 4, 1, 0, 0x0, 2, 5, 6, 0x0
  25. gsSP2Triangles 7, 2, 6, 0x0, 3, 0, 2, 0x0
  26. gsSPEndDisplayList
  27. glabel jrb_seg7_dl_0700AE48 # 0x0700AE48 - 0x0700AEF0
  28. gsDPPipeSync
  29. gsDPSetCycleType G_CYC_2CYCLE
  30. gsDPSetRenderMode G_RM_FOG_SHADE_A, G_RM_AA_ZB_OPA_SURF2
  31. gsDPSetDepthSource G_ZS_PIXEL
  32. gsDPSetFogColor 5, 80, 75, 255
  33. gsSPFogPosition 900, 1000
  34. gsSPSetGeometryMode G_FOG
  35. 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
  36. 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
  37. gsSPTexture -1, -1, 0, 0, 1
  38. gsDPTileSync
  39. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
  40. gsDPSetTileSize 0, 0, 0, 252, 124
  41. gsSPDisplayList jrb_seg7_dl_0700ADD0
  42. gsSPTexture -1, -1, 0, 0, 0
  43. gsDPPipeSync
  44. gsDPSetCycleType G_CYC_1CYCLE
  45. gsDPSetRenderMode G_RM_AA_ZB_OPA_SURF, G_RM_NOOP2
  46. gsSPClearGeometryMode G_FOG
  47. 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
  48. gsSPEndDisplayList