]> icculus.org git repositories - taylor/freespace2.git/blob - include/sst1vid.h
Initial revision
[taylor/freespace2.git] / include / 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$
18 ** $Log$
19 ** Revision 1.1  2002/05/03 03:28:12  root
20 ** Initial revision
21 **
22  * 
23  * 2     10/07/98 10:52a Dave
24  * Initial checkin.
25  * 
26  * 1     10/07/98 10:48a Dave
27  * 
28  * 2     2/27/98 3:25p Frank
29  * (John/Frank K.) updated to 2.43 headers
30  * 
31  * 1     10/16/97 11:51a Klier
32  * 
33  * 4     9/09/97 7:35p Sellers
34  * Added 400x300 resolution
35  * 
36  * 3     8/24/97 9:31a Sellers
37  * moved new video timing to sst1vid.h
38  * redefined 1600x1280 to be 1600x1200
39  * 
40  * 2     6/05/97 11:14p Pgj
41  * 
42  * 5     7/24/96 3:43p Sellers
43  * added 512x384 @ 60 Hz for arcade monitors
44  * added 512x256 @ 60 Hz for arcade monitors
45  * 
46  * 4     7/18/96 10:58a Sellers
47  * fixed FT and TF clock delay values for lower frequencies with
48  * .5/.5 combos
49  * 
50  * 3     6/18/96 6:54p Sellers
51  * added sst1InitShutdownSli() to fix Glide Splash screen problems with
52  * SLI
53  * 
54  * 2     6/13/96 7:45p Sellers
55  * added "voodoo.ini" support
56  * added DirectX support
57  * misc cleanup
58  * 
59  * 2     6/11/96 1:43p Sellers
60  * added support for 60, 75, 85, and 120 Hz refresh rates for "most"
61  * resolutions
62  * 
63  * 1     5/08/96 5:43p Paik
64  * Video definitions
65 */
66 #ifndef __SST1VID_H__
67 #define __SST1VID_H__
68
69 #ifdef __cplusplus
70 extern "C" {
71 #endif
72
73 /* Video defines */
74
75 typedef FxI32 GrScreenRefresh_t;
76 #define GR_REFRESH_60Hz   0x0
77 #define GR_REFRESH_70Hz   0x1
78 #define GR_REFRESH_72Hz   0x2
79 #define GR_REFRESH_75Hz   0x3
80 #define GR_REFRESH_80Hz   0x4
81 #define GR_REFRESH_90Hz   0x5
82 #define GR_REFRESH_100Hz  0x6
83 #define GR_REFRESH_85Hz   0x7
84 #define GR_REFRESH_120Hz  0x8
85 #define GR_REFRESH_NONE   0xff
86
87 typedef FxI32 GrScreenResolution_t;
88 #define GR_RESOLUTION_320x200   0x0
89 #define GR_RESOLUTION_320x240   0x1
90 #define GR_RESOLUTION_400x256   0x2
91 #define GR_RESOLUTION_512x384   0x3
92 #define GR_RESOLUTION_640x200   0x4
93 #define GR_RESOLUTION_640x350   0x5
94 #define GR_RESOLUTION_640x400   0x6
95 #define GR_RESOLUTION_640x480   0x7
96 #define GR_RESOLUTION_800x600   0x8
97 #define GR_RESOLUTION_960x720   0x9
98 #define GR_RESOLUTION_856x480   0xa
99 #define GR_RESOLUTION_512x256   0xb
100 #define GR_RESOLUTION_1024x768  0xC
101 #define GR_RESOLUTION_1280x1024 0xD
102 #define GR_RESOLUTION_1600x1200 0xE
103 #define GR_RESOLUTION_400x300   0xF
104 #define GR_RESOLUTION_NONE      0xff
105
106 #ifdef GR_RESOLUTION_MAX
107 #undef GR_RESOLUTION_MAX
108 #endif
109 #ifdef GR_RESOLUTION_MIN
110 #undef GR_RESOLUTION_MIN
111 #endif
112 #define GR_RESOLUTION_MIN       GR_RESOLUTION_320x200
113 #define GR_RESOLUTION_MAX       GR_RESOLUTION_1600x1200
114
115 #ifdef __cplusplus
116 }
117 #endif
118
119 #endif /* __SST1VID_H__ */
120