Last change
on this file since 2174 was 2174, checked in by hugh, 26 years ago |
Added ODIn lic header with ID to all files where missing
Cleaned up Surface handling by movefing colorfill and
colorconversion into own files and use functionpointers
setup during creation.
updated makefile to add files
removed inhertiance from IBASE in DDrectangle class
|
File size:
1.3 KB
|
Line | |
---|
1 | /* $Id: os2ddrawmodes.h,v 1.2 1999-12-21 01:28:19 hugh Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Defintions of common videomodes we report back
|
---|
5 | *
|
---|
6 | * Copyright 1999 Markus Montkowski
|
---|
7 | *
|
---|
8 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
9 | *
|
---|
10 | */
|
---|
11 | #ifndef __OS2DDRAWMODES__
|
---|
12 | #define __OS2DDRAWMODES__
|
---|
13 |
|
---|
14 |
|
---|
15 | // Modes reported back during enum
|
---|
16 | typedef struct _OS2_DXMODES
|
---|
17 | {
|
---|
18 | int iXRes; // # of Pixel X-Res
|
---|
19 | int iYRes; // # of Pixel Y-Res
|
---|
20 | int iBits; // # of Bits/Pixel
|
---|
21 | int iRatio; // Flag 1 if you must take care of aspect ratio, else 0
|
---|
22 | } OS2_DXMODES, *POS2_DXMODES;
|
---|
23 |
|
---|
24 | #define NUM_MODES_DIVE 22
|
---|
25 | OS2_DXMODES ModesDive[NUM_MODES_DIVE] =
|
---|
26 | {
|
---|
27 | {320,200,8,1},
|
---|
28 | {320,240,8,0},
|
---|
29 | {512,384,8,0},
|
---|
30 | {640,400,8,1},
|
---|
31 | {640,480,8,0},
|
---|
32 | {800,600,8,0},
|
---|
33 | {1024,768,8,0},
|
---|
34 | {512,384,16,0},
|
---|
35 | {640,400,16,1},
|
---|
36 | {640,480,16,0},
|
---|
37 | {800,600,16,0},
|
---|
38 | {1024,768,16,0},
|
---|
39 | {512,384,24,0},
|
---|
40 | {640,400,24,1},
|
---|
41 | {640,480,24,0},
|
---|
42 | {800,600,24,0},
|
---|
43 | {1024,768,24,0},
|
---|
44 | {512,384,32,0},
|
---|
45 | {640,400,32,1},
|
---|
46 | {640,480,32,0},
|
---|
47 | {800,600,32,0},
|
---|
48 | {1024,768,32,0}
|
---|
49 | };
|
---|
50 |
|
---|
51 | // Voodoo modes (640x400,640x480,800x600 all only 16 Bit)
|
---|
52 | // Voodoo mode 800x600 will only be Z-buffered for Voodoo II cards
|
---|
53 |
|
---|
54 | #define NUM_MODES_VOODOO 4
|
---|
55 | OS2_DXMODES ModesVoodoo[NUM_MODES_VOODOO] =
|
---|
56 | {
|
---|
57 | {512,384,16,0},
|
---|
58 | {640,400,16,1},
|
---|
59 | {640,480,16,0},
|
---|
60 | {800,600,16,0}
|
---|
61 | };
|
---|
62 |
|
---|
63 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.