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.

38 lines
2.0 KiB

6 years ago
  1. thi_seg7_vertex_07007430: # 0x07007430 - 0x070074D0
  2. vertex 1690, -460, 922, 0, 0, 0x00, 0x00, 0x00, 0xB4
  3. vertex 1690, -460, 615, 0, 606, 0x00, 0x00, 0x00, 0xB4
  4. vertex 1229, -460, 922, 926, 0, 0x00, 0x00, 0x00, 0xB4
  5. vertex 1690, -153, 615, 0, 606, 0x00, 0x00, 0x00, 0xB4
  6. vertex 1229, -153, 922, 926, 0, 0x00, 0x00, 0x00, 0xB4
  7. vertex 1505, -153, 430, 352, 990, 0x00, 0x00, 0x00, 0xB4
  8. vertex 1242, -68, 497, 990, 990, 0x00, 0x00, 0x00, 0xB4
  9. vertex 1198, -153, 635, 990, 564, 0x00, 0x00, 0x00, 0xB4
  10. vertex 1690, -153, 430, 0, 990, 0x00, 0x00, 0x00, 0xB4
  11. vertex 1198, -153, 922, 990, 0, 0x00, 0x00, 0x00, 0xB4
  12. thi_seg7_dl_070074D0: # 0x070074D0 - 0x07007538
  13. gsDPSetTextureImage G_IM_FMT_IA, G_IM_SIZ_16b, 1, grass_0900B000
  14. gsDPLoadSync
  15. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  16. gsSPVertex thi_seg7_vertex_07007430, 10, 0
  17. gsSP2Triangles 0, 1, 2, 0x0, 3, 2, 1, 0x0
  18. gsSP2Triangles 3, 4, 2, 0x0, 5, 6, 7, 0x0
  19. gsSP2Triangles 5, 3, 8, 0x0, 5, 4, 3, 0x0
  20. gsSP2Triangles 5, 9, 4, 0x0, 5, 7, 9, 0x0
  21. gsSPEndDisplayList
  22. glabel thi_seg7_dl_07007538 # 0x07007538 - 0x070075A8
  23. gsDPPipeSync
  24. 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
  25. gsSPClearGeometryMode G_LIGHTING
  26. gsDPSetTile G_IM_FMT_IA, 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
  27. gsSPTexture -1, -1, 0, 0, 1
  28. gsDPTileSync
  29. gsDPSetTile G_IM_FMT_IA, 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
  30. gsDPSetTileSize 0, 0, 0, 124, 124
  31. gsSPDisplayList thi_seg7_dl_070074D0
  32. gsSPTexture -1, -1, 0, 0, 0
  33. gsDPPipeSync
  34. 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
  35. gsSPSetGeometryMode G_LIGHTING
  36. gsSPEndDisplayList