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.

42 lines
2.2 KiB

6 years ago
  1. inside_castle_seg7_light_0704A1B8: # 0x0704A1B8 - 0x0704A1C0
  2. .byte 0x3D, 0x3D, 0x3F, 0x00, 0x3D, 0x3D, 0x3F, 0x00
  3. inside_castle_seg7_light_0704A1C0: # 0x0704A1C0 - 0x0704A1D0
  4. .byte 0xF5, 0xF5, 0xFF, 0x00, 0xF5, 0xF5, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. inside_castle_seg7_vertex_0704A1D0: # 0x0704A1D0 - 0x0704A290
  7. vertex 4332, 1408, 3415, 0, 0, 0x81, 0x00, 0x00, 0xFF
  8. vertex 4332, 2125, 2647, 0, 0, 0x81, 0x00, 0x00, 0xFF
  9. vertex 4332, 1408, 2647, 0, 0, 0x81, 0x00, 0x00, 0xFF
  10. vertex 4332, 2125, 3415, 0, 0, 0x81, 0x00, 0x00, 0xFF
  11. vertex 4332, 1408, 1008, 0, 0, 0x81, 0x00, 0x00, 0xFF
  12. vertex 4332, 2125, 240, 0, 0, 0x81, 0x00, 0x00, 0xFF
  13. vertex 4332, 1408, 240, 0, 0, 0x81, 0x00, 0x00, 0xFF
  14. vertex 4332, 2125, 1008, 0, 0, 0x81, 0x00, 0x00, 0xFF
  15. vertex 4332, 1408, 2493, 0, 0, 0x81, 0x00, 0x00, 0xFF
  16. vertex 4332, 2125, 1162, 0, 0, 0x81, 0x00, 0x00, 0xFF
  17. vertex 4332, 1408, 1162, 0, 0, 0x81, 0x00, 0x00, 0xFF
  18. vertex 4332, 2125, 2493, 0, 0, 0x81, 0x00, 0x00, 0xFF
  19. inside_castle_seg7_dl_0704A290: # 0x0704A290 - 0x0704A2E0
  20. gsSPLight inside_castle_seg7_light_0704A1C0, 1
  21. gsSPLight inside_castle_seg7_light_0704A1B8, 2
  22. gsSPVertex inside_castle_seg7_vertex_0704A1D0, 12, 0
  23. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  24. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  25. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  26. gsSPEndDisplayList
  27. glabel inside_castle_seg7_dl_0704A2E0 # 0x0704A2E0 - 0x0704A368
  28. gsDPPipeSync
  29. gsSPSetGeometryMode G_TEXTURE_GEN
  30. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  31. gsDPLoadTextureBlock inside_castle_seg7_texture_0700A000, G_IM_FMT_IA, G_IM_SIZ_16b, 32, 32, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_WRAP | G_TX_NOMIRROR, 5, 5, G_TX_NOLOD, G_TX_NOLOD
  32. gsSPTexture 1984, 1984, 0, 0, 1
  33. gsSPDisplayList inside_castle_seg7_dl_0704A290
  34. gsSPTexture 1984, 1984, 0, 0, 0
  35. gsDPPipeSync
  36. gsSPClearGeometryMode G_TEXTURE_GEN
  37. 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
  38. gsSPEndDisplayList