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.

58 lines
3.1 KiB

6 years ago
  1. inside_castle_seg7_light_070379F8: # 0x070379F8 - 0x07037A00
  2. .byte 0x5F, 0x5F, 0x5F, 0x00, 0x5F, 0x5F, 0x5F, 0x00
  3. inside_castle_seg7_light_07037A00: # 0x07037A00 - 0x07037A10
  4. .byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
  5. .byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
  6. inside_castle_seg7_vertex_07037A10: # 0x07037A10 - 0x07037B10
  7. vertex 4301, 1229, -716, 1204, 2804, 0xBF, 0x9B, 0x26, 0xFF
  8. vertex 3789, 1638, -504, 1304, 2510, 0xD3, 0x8B, 0x0B, 0xFF
  9. vertex 3065, 1638, -1228, 1046, 2070, 0xE9, 0x8B, 0x28, 0xFF
  10. vertex 1229, 1229, 256, 1688, 1030, 0x41, 0x9B, 0xDA, 0xFF
  11. vertex 1741, 1638, 44, 1588, 1324, 0x19, 0x84, 0xFA, 0xFF
  12. vertex 2465, 1638, 768, 1846, 1764, 0x1D, 0x90, 0xCE, 0xFF
  13. vertex 1229, 1229, -716, 1310, 1006, 0x49, 0x9B, 0x13, 0xFF
  14. vertex 1741, 1638, -504, 1374, 1312, 0x32, 0x90, 0x1D, 0xFF
  15. vertex 3789, 1638, 44, 1518, 2522, 0xDC, 0x88, 0xF2, 0xFF
  16. vertex 3065, 1638, 768, 1826, 2114, 0xED, 0x8D, 0xD0, 0xFF
  17. vertex 2465, 1638, -1228, 1068, 1718, 0x0B, 0x8B, 0x2D, 0xFF
  18. vertex 2253, 1229, -1740, 874, 1582, 0x26, 0x9B, 0x41, 0xFF
  19. vertex 3277, 1229, -1740, 840, 2182, 0xED, 0x9B, 0x49, 0xFF
  20. vertex 2253, 1229, 1280, 2054, 1652, 0x13, 0x9B, 0xB7, 0xFF
  21. vertex 4301, 1229, 256, 1584, 2826, 0xBB, 0x9A, 0xE4, 0xFF
  22. vertex 3277, 1229, 1280, 2018, 2250, 0xE4, 0x9A, 0xBB, 0xFF
  23. inside_castle_seg7_dl_07037B10: # 0x07037B10 - 0x07037BF8
  24. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09008000
  25. gsDPLoadSync
  26. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  27. gsSPLight inside_castle_seg7_light_07037A00, 1
  28. gsSPLight inside_castle_seg7_light_070379F8, 2
  29. gsSPVertex inside_castle_seg7_vertex_07037A10, 16, 0
  30. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  31. gsSP2Triangles 6, 4, 3, 0x0, 6, 7, 4, 0x0
  32. gsSP2Triangles 4, 8, 9, 0x0, 4, 1, 8, 0x0
  33. gsSP2Triangles 4, 2, 1, 0x0, 4, 10, 2, 0x0
  34. gsSP2Triangles 4, 7, 10, 0x0, 4, 9, 5, 0x0
  35. gsSP2Triangles 11, 7, 6, 0x0, 11, 10, 7, 0x0
  36. gsSP2Triangles 12, 10, 11, 0x0, 12, 2, 10, 0x0
  37. gsSP2Triangles 0, 2, 12, 0x0, 3, 5, 13, 0x0
  38. gsSP2Triangles 14, 1, 0, 0x0, 14, 8, 1, 0x0
  39. gsSP2Triangles 9, 8, 14, 0x0, 13, 5, 9, 0x0
  40. gsSP2Triangles 15, 9, 14, 0x0, 13, 9, 15, 0x0
  41. gsSPEndDisplayList
  42. glabel inside_castle_seg7_dl_07037BF8 # 0x07037BF8 - 0x07037C58
  43. gsDPPipeSync
  44. 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
  45. 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
  46. gsSPTexture -1, -1, 0, 0, 1
  47. gsDPTileSync
  48. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  49. gsDPSetTileSize 0, 0, 0, 124, 124
  50. gsSPDisplayList inside_castle_seg7_dl_07037B10
  51. gsSPTexture -1, -1, 0, 0, 0
  52. gsDPPipeSync
  53. 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
  54. gsSPEndDisplayList