1 /*---------------------------------------------------------------------------*
2   Project:  Dolphin GX library
3   File:     GXEmVert.h
4 
5   Copyright 1998, 1999 Nintendo. All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Log: GXEmVert.h,v $
14   Revision 1.1.1.1  2005/12/29 06:53:28  hiratsu
15   Initial import.
16 
17   Revision 1.1.1.1  2005/05/12 02:41:07  yasuh-to
18   Ported from dolphin source tree.
19 
20 
21     1     1999/11/17 6:26p Carl
22   $NoKeywords: $
23 
24  *---------------------------------------------------------------------------*/
25 
26 /*>*******************************(*)*******************************<*/
27 // This file is for the emulator.
28 // It is included from GXVert.h, and thus it must be placed in the
29 // same directory as that file.
30 /*>*******************************(*)*******************************<*/
31 
32 /*>*******************************(*)*******************************<*/
33 // These calls are not implemented.  They're just dummies.
34 // They don't need to be implemented, in fact.  They're only
35 // defined here to make GXVert.h work.
36 /*>*******************************(*)*******************************<*/
37 void EmGXCmd1u8( u8 x );
38 void EmGXCmd1u16( u16 x );
39 void EmGXCmd1u32( u32 x );
40 void EmGXParam1u8( u8 x );
41 void EmGXParam1u16( u16 x );
42 void EmGXParam1u32( u32 x );
43 void EmGXParam1s8( s8 x );
44 void EmGXParam1s16( s16 x );
45 void EmGXParam1s32( s32 x );
46 void EmGXParam1f32( f32 x );
47 void EmGXParam3f32( f32 x, f32 y, f32 z );
48 void EmGXParam4f32( f32 x, f32 y, f32 z, f32 w );
49 
50 /*>*******************************(*)*******************************<*/
51 // The rest of these calls are implemented in the emulator.
52 /*>*******************************(*)*******************************<*/
53 void EmGXPosition3f32         ( float x, float y, float z );
54 void EmGXPosition3u16         ( u16 x, u16 y, u16 z );
55 void EmGXPosition3s16         ( s16 x, s16 y, s16 z );
56 void EmGXPosition3u8          ( u8 x, u8 y, u8 z );
57 void EmGXPosition3s8          ( s8 x, s8 y, s8 z );
58 void EmGXPosition2f32         ( float x, float y );
59 void EmGXPosition2u16         ( u16 x, u16 y );
60 void EmGXPosition2s16         ( s16 x, s16 y );
61 void EmGXPosition2u8          ( u8 x, u8 y );
62 void EmGXPosition2s8          ( s8 x, s8 y );
63 void EmGXPosition1x16         ( u16 idx );
64 void EmGXPosition1x8          ( u8 idx );
65 
66 /*>*******************************(*)*******************************<*/
67 void EmGXNormal3f32           ( f32 x, f32 y, f32 z );
68 void EmGXNormal3s16           ( s16 x, s16 y, s16 z );
69 void EmGXNormal3s8            ( s8 x, s8 y, s8 z );
70 void EmGXNormal1x16           ( u16 idx );
71 void EmGXNormal1x8            ( u8 idx );
72 
73 /*>*******************************(*)*******************************<*/
74 void EmGXColor4u8             ( u8 r, u8 g, u8 b, u8 a );
75 void EmGXColor3u8             ( u8 r, u8 g, u8 b );
76 void EmGXColor1u32            ( u32 rgba );
77 void EmGXColor1u16            ( u16 rgba );
78 void EmGXColor1x16            ( u16 idx );
79 void EmGXColor1x8             ( u8 idx );
80 
81 /*>*******************************(*)*******************************<*/
82 void EmGXTexCoord2f32         ( f32 s, f32 t );
83 void EmGXTexCoord2s16         ( s16 s, s16 t );
84 void EmGXTexCoord2u16         ( u16 s, u16 t );
85 void EmGXTexCoord2s8          ( s8 s, s8 t );
86 void EmGXTexCoord2u8          ( u8 s, u8 t );
87 void EmGXTexCoord1f32         ( f32 s );
88 void EmGXTexCoord1s16         ( s16 s );
89 void EmGXTexCoord1u16         ( u16 s );
90 void EmGXTexCoord1s8          ( s8 s );
91 void EmGXTexCoord1u8          ( u8 s );
92 void EmGXTexCoord1x16         ( u16 idx );
93 void EmGXTexCoord1x8          ( u8 idx );
94 
95 /*>*******************************(*)*******************************<*/
96 void EmGXMatrixIndex1u8       ( u32 idx );
97 
98 /********************************/
99