static.h 5.95 KB
/********************************************************************************
	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