static.c
775 Bytes
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
/*
* NINTENDO64 SAMPLE PROGRAM
*
* FILE : static.c
*
* Copyright (C) 1997, NINTENDO Co,Ltd.
*/
#include <ultra64.h>
#include "system.h"
/* ̤ RDP */
Gfx init_dl[] = {
/* RDP */
/* Global */
gsDPPipeSync(),
gsDPPipelineMode(G_PM_NPRIMITIVE),
/* RS */
gsDPSetScissor(G_SC_NON_INTERLACE, 0, 0, SCREEN_WD, SCREEN_HT),
/* TX */
gsDPSetTexturePersp (G_TP_NONE),
gsDPSetTextureLOD (G_TL_TILE),
gsDPSetTextureDetail(G_TD_CLAMP),
/* TF */
gsDPSetTextureConvert(G_TC_FILT),
/* CC */
gsDPSetCombineKey(G_CK_NONE),
gsDPSetPrimColor (0, 0, 50, 50, 50,0),
/* BL */
gsDPSetBlendColor (0, 0, 0, 0x01),
gsDPSetAlphaCompare(G_AC_THRESHOLD),
/* MI */
gsDPSetColorDither(G_CD_DISABLE),
gsSPEndDisplayList()
};