| Line |  | 
|---|
| 1 | /* $Id: os2ddrawmodes.h,v 1.1 2000-04-07 18:21:14 mike 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 30 | 
|---|
| 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 | {1280,1024,8,1}, | 
|---|
| 35 | {1600,1200,8,0}, | 
|---|
| 36 | {512,384,16,0}, | 
|---|
| 37 | {640,400,16,1}, | 
|---|
| 38 | {640,480,16,0}, | 
|---|
| 39 | {800,600,16,0}, | 
|---|
| 40 | {1024,768,16,0}, | 
|---|
| 41 | {1280,1024,16,1}, | 
|---|
| 42 | {1600,1200,16,0}, | 
|---|
| 43 | {512,384,24,0}, | 
|---|
| 44 | {640,400,24,1}, | 
|---|
| 45 | {640,480,24,0}, | 
|---|
| 46 | {800,600,24,0}, | 
|---|
| 47 | {1024,768,24,0}, | 
|---|
| 48 | {1280,1024,24,1}, | 
|---|
| 49 | {1600,1200,24,0}, | 
|---|
| 50 | {512,384,32,0}, | 
|---|
| 51 | {640,400,32,1}, | 
|---|
| 52 | {640,480,32,0}, | 
|---|
| 53 | {800,600,32,0}, | 
|---|
| 54 | {1024,768,32,0}, | 
|---|
| 55 | {1280,1024,32,1}, | 
|---|
| 56 | {1600,1200,32,0} | 
|---|
| 57 | }; | 
|---|
| 58 |  | 
|---|
| 59 | // Voodoo modes (640x400,640x480,800x600 all only 16 Bit) | 
|---|
| 60 | // Voodoo mode 800x600 will only be Z-buffered for Voodoo II cards | 
|---|
| 61 |  | 
|---|
| 62 | #define NUM_MODES_VOODOO 4 | 
|---|
| 63 | OS2_DXMODES ModesVoodoo[NUM_MODES_VOODOO] = | 
|---|
| 64 | { | 
|---|
| 65 | {512,384,16,0}, | 
|---|
| 66 | {640,400,16,1}, | 
|---|
| 67 | {640,480,16,0}, | 
|---|
| 68 | {800,600,16,0} | 
|---|
| 69 | }; | 
|---|
| 70 |  | 
|---|
| 71 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.