sand_dl.h 1.75 KB

  gsDPPipeSync(),
  gsDPSetCycleType(G_CYC_1CYCLE),
  gsDPSetTextureLOD(G_TL_TILE),
  gsDPSetRenderMode(G_RM_AA_ZB_OPA_SURF, G_RM_AA_ZB_OPA_SURF2),
  gsDPSetEnvColor(218, 213, 183, 255),
  gsDPSetPrimColor(0, 0, 255, 127, 80, 255),
  gsDPSetCombineMode(_G_CC_BLENDPE, _G_CC_BLENDPE),
  gsDPLoadTextureBlock_4b(I4shell1, G_IM_FMT_I, 64, 64, 0,
      G_TX_WRAP, G_TX_WRAP,
      6, 6, G_TX_NOLOD, G_TX_NOLOD),

gsSPVertex(&sand_vtx[0], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[3], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[6], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[9], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[12], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[15], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[18], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[21], 3, 0),
gsSP1Triangle(0, 1, 2, 0),

  gsDPPipeSync(),
  gsDPSetCycleType(G_CYC_1CYCLE),
  gsDPSetTextureLOD(G_TL_TILE),
  gsDPSetTextureLUT(G_TT_RGBA16),
  gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB),
  gsDPLoadTLUT_pal16( 0, CI4grass1tlut ),
  gsDPPipeSync(),
  gsDPLoadTextureBlock_4b(CI4grass1, G_IM_FMT_CI, 64, 32, 0,
      G_TX_WRAP, G_TX_WRAP,
      6, 5, G_TX_NOLOD, G_TX_NOLOD),

gsSPVertex(&sand_vtx[24], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[27], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[30], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[33], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[36], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[39], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[42], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[45], 3, 0),
gsSP1Triangle(0, 1, 2, 0),
gsSPVertex(&sand_vtx[48], 3, 0),
gsSP1Triangle(0, 1, 2, 0),