static.h
5.95 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
/********************************************************************************
static.h: NINTENDO64 Disk Drive IPL header.
January 7, 1987
********************************************************************************/
#ifndef STATIC_H
#define STATIC_H
/********************************************************************************/
/* */
/* */
/* Special color combine modes */
/* */
/* */
/********************************************************************************/
#define G_CC_ENVSHADE SHADE , 0, ENVIRONMENT, 0, 0,0,0,ENVIRONMENT
#define G_CC_ENVMODULATEIA TEXEL0, 0, ENVIRONMENT, 0, TEXEL0, 0, ENVIRONMENT, 0
#define G_CC_ENVMODULATE TEXEL0, 0, ENVIRONMENT, 0, 0,0,0,ENVIRONMENT
#define G_CC_PRIMSHADE SHADE , 0, ENVIRONMENT, 0, SHADE , 0, PRIMITIVE, 0
#define G_CC_INTENVCOL 0, 0, 0, ENVIRONMENT, TEXEL0, 0, ENVIRONMENT, 0
#define G_CC_COLMORPH PRIMITIVE,ENVIRONMENT,PRIMITIVE_ALPHA,ENVIRONMENT, SHADE,0,ENVIRONMENT,0
#define G_CC_COLMORPH2 SHADE,0,COMBINED,0, 0,0,0,COMBINED
#define G_CC_TXTMIX TEXEL0,ENVIRONMENT,PRIMITIVE_ALPHA,ENVIRONMENT, TEXEL0,0,ENVIRONMENT,0
#define G_CC_TXTMIX2 SHADE,0,COMBINED,0, 0,0,0,COMBINED
#define G_CC_MORPH TEXEL1,TEXEL0,PRIMITIVE_ALPHA,TEXEL0, TEXEL1,TEXEL0,PRIMITIVE,TEXEL0
#define G_CC_MORPH2 SHADE,0,COMBINED,0, 0,0,0,COMBINED
#define G_CC_FADER 0,0,0,ENVIRONMENT, 0,0,0,ENVIRONMENT
/********************************************************************************/
/* */
/* */
/* Global texture datas */
/* */
/* */
/********************************************************************************/
extern unsigned char TexNintendo64a[];
extern unsigned char TexNintendo64b[];
extern unsigned char TexNintendo64c[];
extern unsigned char TexNintendo64d[];
extern unsigned char TexInsertMessage[];
extern unsigned short NCubeTexStone[];
extern unsigned short NCubeTexMural[];
extern unsigned short NCubeTexLeaf[];
extern unsigned char ClockNum0[];
extern unsigned char ClockNum1[];
extern unsigned char ClockNum2[];
extern unsigned char ClockNum3[];
extern unsigned char ClockNum4[];
extern unsigned char ClockNum5[];
extern unsigned char ClockNum6[];
extern unsigned char ClockNum7[];
extern unsigned char ClockNum8[];
extern unsigned char ClockNum9[];
extern unsigned char ClockMon[];
extern unsigned char ClockTue[];
extern unsigned char ClockWed[];
extern unsigned char ClockThu[];
extern unsigned char ClockFri[];
extern unsigned char ClockSat[];
extern unsigned char ClockSun[];
extern unsigned char ClockBracket1[];
extern unsigned char ClockBracket2[];
extern unsigned char ClockNoon[];
extern unsigned char ClockBefore[];
extern unsigned char ClockAfter[];
extern unsigned char ClockColon[];
extern unsigned char ClockSlash[];
/********************************************************************************/
/* */
/* */
/* Global datas */
/* */
/* */
/********************************************************************************/
extern Mtx IdentMatrix; /* identity matrix */
extern Vp ViewPort; /* View port record */
extern Light CubeDiffuseLight; /* Diffuse light record */
extern Light CubeAmbientLight; /* Ambient light record */
extern Light WaveDiffuseLight; /* Diffuse light record */
extern Light WaveAmbientLight; /* Ambient light record */
/********************************************************************************/
/* */
/* */
/* Global shape datas */
/* */
/* */
/********************************************************************************/
extern Gfx Gfx_WavePlaneA[]; /* Waving plane vertex A */
extern Gfx Gfx_WavePlaneB[]; /* Waving plane vertex B */
extern Gfx Gfx_MaskPlane[]; /* Flat plane shape */
extern Gfx Gfx_FlatPlane[]; /* Flat plane shape */
extern Gfx Gfx_NCube[]; /* N-Cube shape (normal) */
extern Gfx Gfx_MilkNCube[]; /* N-Cube shape (color morph) */
extern Gfx Gfx_TMixNCube[]; /* N-Cube shape (texture mix) */
extern Gfx Gfx_TextNCube[]; /* N-Cube shape (texture morph) */
extern Gfx Gfx_Leaf[]; /* Leaf shape */
extern Gfx Gfx_BeginKanji[]; /* begin kanji drawing */
extern Gfx Gfx_EndKanji[]; /* end kanji drawing */
extern Gfx Gfx_BeginWindow[]; /* begin message window */
extern Gfx Gfx_EndWindow[]; /* end message window */
extern Gfx Gfx_BumpNCube00[];
extern Gfx Gfx_BumpNCube01[];
extern Gfx Gfx_BumpNCube02[];
extern Gfx Gfx_BumpNCube03[];
extern Gfx Gfx_BumpNCube04[];
extern Gfx Gfx_BumpNCube05[];
extern Gfx Gfx_BumpNCube06[];
extern Gfx Gfx_BumpNCube07[];
extern Gfx Gfx_BumpNCube08[];
extern Gfx Gfx_BumpNCube09[];
extern Gfx Gfx_BumpNCube10[];
extern Gfx Gfx_BumpNCube11[];
extern Gfx Gfx_BumpNCube12[];
extern Gfx Gfx_BumpNCube13[];
extern Gfx Gfx_BumpNCubeStart[];
extern Gfx Gfx_BumpNCubeEnd[];
/********************************************************************************/
/* */
/* */
/* Mario's shape datas */
/* */
/* */
/********************************************************************************/
extern Gfx RCP_mario_head1[];
extern Gfx RCP_mario_head2[];
extern Gfx RCP_mario_head3[];
extern Gfx RCP_mario_near_body[];
extern Gfx RCP_mario_swim_l[];
extern Gfx RCP_mario_swim_r[];
extern Gfx RCP_mario_near0[];
extern Gfx RCP_mario_near1[];
extern Gfx RCP_mario_near2[];
extern Gfx RCP_mario_near3[];
extern Gfx RCP_mario_near4[];
extern Gfx RCP_mario_near5[];
extern Gfx RCP_mario_near6[];
extern Gfx RCP_mario_near7[];
extern Gfx RCP_mario_near8[];
extern Gfx RCP_mario_near9[];
extern Gfx RCP_mario_near10[];
extern Gfx RCP_mario_near11[];
extern Gfx RCP_mario_near14[];
#endif