initial commit
[retroray] / libs / glide / sst1vid.h
1 /*
2 ** Copyright (c) 1995, 3Dfx Interactive, Inc.
3 ** All Rights Reserved.
4 **
5 ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of 3Dfx Interactive, Inc.;
6 ** the contents of this file may not be disclosed to third parties, copied or
7 ** duplicated in any form, in whole or in part, without the prior written
8 ** permission of 3Dfx Interactive, Inc.
9 **
10 ** RESTRICTED RIGHTS LEGEND:
11 ** Use, duplication or disclosure by the Government is subject to restrictions
12 ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
13 ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
14 ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
15 ** rights reserved under the Copyright Laws of the United States.
16 **
17 ** $Header: /devel/cvg/incsrc/SST1VID.H 4     9/09/97 7:35p Sellers $
18 ** $Log: /devel/cvg/incsrc/SST1VID.H $
19  * 
20  * 4     9/09/97 7:35p Sellers
21  * Added 400x300 resolution
22  * 
23  * 3     8/24/97 9:31a Sellers
24  * moved new video timing to sst1vid.h
25  * redefined 1600x1280 to be 1600x1200
26  * 
27  * 2     6/05/97 11:14p Pgj
28  * 
29  * 5     7/24/96 3:43p Sellers
30  * added 512x384 @ 60 Hz for arcade monitors
31  * added 512x256 @ 60 Hz for arcade monitors
32  * 
33  * 4     7/18/96 10:58a Sellers
34  * fixed FT and TF clock delay values for lower frequencies with
35  * .5/.5 combos
36  * 
37  * 3     6/18/96 6:54p Sellers
38  * added sst1InitShutdownSli() to fix Glide Splash screen problems with
39  * SLI
40  * 
41  * 2     6/13/96 7:45p Sellers
42  * added "voodoo.ini" support
43  * added DirectX support
44  * misc cleanup
45  * 
46  * 2     6/11/96 1:43p Sellers
47  * added support for 60, 75, 85, and 120 Hz refresh rates for "most"
48  * resolutions
49  * 
50  * 1     5/08/96 5:43p Paik
51  * Video definitions
52 */
53 #ifndef __SST1VID_H__
54 #define __SST1VID_H__
55
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59
60 /* Video defines */
61
62 typedef FxI32 GrScreenRefresh_t;
63 #define GR_REFRESH_60Hz   0x0
64 #define GR_REFRESH_70Hz   0x1
65 #define GR_REFRESH_72Hz   0x2
66 #define GR_REFRESH_75Hz   0x3
67 #define GR_REFRESH_80Hz   0x4
68 #define GR_REFRESH_90Hz   0x5
69 #define GR_REFRESH_100Hz  0x6
70 #define GR_REFRESH_85Hz   0x7
71 #define GR_REFRESH_120Hz  0x8
72 #define GR_REFRESH_NONE   0xff
73
74 typedef FxI32 GrScreenResolution_t;
75 #define GR_RESOLUTION_320x200   0x0
76 #define GR_RESOLUTION_320x240   0x1
77 #define GR_RESOLUTION_400x256   0x2
78 #define GR_RESOLUTION_512x384   0x3
79 #define GR_RESOLUTION_640x200   0x4
80 #define GR_RESOLUTION_640x350   0x5
81 #define GR_RESOLUTION_640x400   0x6
82 #define GR_RESOLUTION_640x480   0x7
83 #define GR_RESOLUTION_800x600   0x8
84 #define GR_RESOLUTION_960x720   0x9
85 #define GR_RESOLUTION_856x480   0xa
86 #define GR_RESOLUTION_512x256   0xb
87 #define GR_RESOLUTION_1024x768  0xC
88 #define GR_RESOLUTION_1280x1024 0xD
89 #define GR_RESOLUTION_1600x1200 0xE
90 #define GR_RESOLUTION_400x300   0xF
91 #define GR_RESOLUTION_NONE      0xff
92
93 #ifdef GR_RESOLUTION_MAX
94 #undef GR_RESOLUTION_MAX
95 #endif
96 #ifdef GR_RESOLUTION_MIN
97 #undef GR_RESOLUTION_MIN
98 #endif
99 #define GR_RESOLUTION_MIN       GR_RESOLUTION_320x200
100 #define GR_RESOLUTION_MAX       GR_RESOLUTION_1600x1200
101
102 #ifdef __cplusplus
103 }
104 #endif
105
106 #endif /* __SST1VID_H__ */