| Line | |
|---|
| 1 | #ifndef __OS2DDRAWMODES__
|
|---|
| 2 | #define __OS2DDRAWMODES__
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 | // Modes reported back during enum
|
|---|
| 6 | typedef struct _OS2_DXMODES
|
|---|
| 7 | {
|
|---|
| 8 | int iXRes; // # of Pixel X-Res
|
|---|
| 9 | int iYRes; // # of Pixel Y-Res
|
|---|
| 10 | int iBits; // # of Bits/Pixel
|
|---|
| 11 | int iRatio; // Flag 1 if you must take care of aspect ratio, else 0
|
|---|
| 12 | } OS2_DXMODES, *POS2_DXMODES;
|
|---|
| 13 |
|
|---|
| 14 | #define NUM_MODES_DIVE 22
|
|---|
| 15 | OS2_DXMODES ModesDive[NUM_MODES_DIVE] =
|
|---|
| 16 | {
|
|---|
| 17 | {320,200,8,1},
|
|---|
| 18 | {320,240,8,0},
|
|---|
| 19 | {512,384,8,0},
|
|---|
| 20 | {640,400,8,1},
|
|---|
| 21 | {640,480,8,0},
|
|---|
| 22 | {800,600,8,0},
|
|---|
| 23 | {1024,768,8,0},
|
|---|
| 24 | {512,384,16,0},
|
|---|
| 25 | {640,400,16,1},
|
|---|
| 26 | {640,480,16,0},
|
|---|
| 27 | {800,600,16,0},
|
|---|
| 28 | {1024,768,16,0},
|
|---|
| 29 | {512,384,24,0},
|
|---|
| 30 | {640,400,24,1},
|
|---|
| 31 | {640,480,24,0},
|
|---|
| 32 | {800,600,24,0},
|
|---|
| 33 | {1024,768,24,0},
|
|---|
| 34 | {512,384,32,0},
|
|---|
| 35 | {640,400,32,1},
|
|---|
| 36 | {640,480,32,0},
|
|---|
| 37 | {800,600,32,0},
|
|---|
| 38 | {1024,768,32,0}
|
|---|
| 39 | };
|
|---|
| 40 |
|
|---|
| 41 | // Voodoo modes (640x400,640x480,800x600 all only 16 Bit)
|
|---|
| 42 | // Voodoo mode 800x600 will only be Z-buffered for Voodoo II cards
|
|---|
| 43 |
|
|---|
| 44 | #define NUM_MODES_VOODOO 4
|
|---|
| 45 | OS2_DXMODES ModesVoodoo[NUM_MODES_VOODOO] =
|
|---|
| 46 | {
|
|---|
| 47 | {512,384,16,0},
|
|---|
| 48 | {640,400,16,1},
|
|---|
| 49 | {640,480,16,0},
|
|---|
| 50 | {800,600,16,0}
|
|---|
| 51 | };
|
|---|
| 52 |
|
|---|
| 53 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.