Rev | Line | |
---|
[8989] | 1 | /* $Id: os2ddrawmodes.h,v 1.5 2002-08-12 15:06:21 sandervl Exp $ */
|
---|
[2174] | 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 | */
|
---|
[211] | 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 |
|
---|
[8989] | 24 | #define MAX_NUM_MODES_DIVE 30
|
---|
| 25 |
|
---|
| 26 | int NUM_MODES_DIVE = MAX_NUM_MODES_DIVE;
|
---|
| 27 | OS2_DXMODES ModesDive[MAX_NUM_MODES_DIVE] =
|
---|
[211] | 28 | {
|
---|
| 29 | {320,200,8,1},
|
---|
| 30 | {320,240,8,0},
|
---|
| 31 | {512,384,8,0},
|
---|
| 32 | {640,400,8,1},
|
---|
| 33 | {640,480,8,0},
|
---|
| 34 | {800,600,8,0},
|
---|
| 35 | {1024,768,8,0},
|
---|
[2638] | 36 | {1280,1024,8,1},
|
---|
| 37 | {1600,1200,8,0},
|
---|
[211] | 38 | {512,384,16,0},
|
---|
| 39 | {640,400,16,1},
|
---|
| 40 | {640,480,16,0},
|
---|
| 41 | {800,600,16,0},
|
---|
| 42 | {1024,768,16,0},
|
---|
[2638] | 43 | {1280,1024,16,1},
|
---|
| 44 | {1600,1200,16,0},
|
---|
[211] | 45 | {512,384,24,0},
|
---|
| 46 | {640,400,24,1},
|
---|
| 47 | {640,480,24,0},
|
---|
| 48 | {800,600,24,0},
|
---|
| 49 | {1024,768,24,0},
|
---|
[2638] | 50 | {1280,1024,24,1},
|
---|
| 51 | {1600,1200,24,0},
|
---|
[211] | 52 | {512,384,32,0},
|
---|
| 53 | {640,400,32,1},
|
---|
| 54 | {640,480,32,0},
|
---|
| 55 | {800,600,32,0},
|
---|
[2638] | 56 | {1024,768,32,0},
|
---|
| 57 | {1280,1024,32,1},
|
---|
| 58 | {1600,1200,32,0}
|
---|
[211] | 59 | };
|
---|
| 60 |
|
---|
| 61 | // Voodoo modes (640x400,640x480,800x600 all only 16 Bit)
|
---|
| 62 | // Voodoo mode 800x600 will only be Z-buffered for Voodoo II cards
|
---|
| 63 |
|
---|
| 64 | #define NUM_MODES_VOODOO 4
|
---|
| 65 | OS2_DXMODES ModesVoodoo[NUM_MODES_VOODOO] =
|
---|
| 66 | {
|
---|
| 67 | {512,384,16,0},
|
---|
| 68 | {640,400,16,1},
|
---|
| 69 | {640,480,16,0},
|
---|
| 70 | {800,600,16,0}
|
---|
| 71 | };
|
---|
| 72 |
|
---|
| 73 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.