sand_dl.h
1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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),