diff options
| author | Rebellion Developments <rebellion@nomail> | 2000-03-16 11:25:00 +0100 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-19 05:45:17 +0200 |
| commit | 218ca90543758a20ac326e444ca0643174ca7384 (patch) | |
| tree | 16bfe3e5307f9f515489000f28728224291a0e3b /3dc/win95/VideoModes.h | |
Import Aliens vs Predator - Gold (Build 116)
Source code release, imported from:
https://www.gamefront.com/games/aliens-vs-predator-3/file/avp-gold-complete-source-code
All text files were converted to Unix format.
Diffstat (limited to '3dc/win95/VideoModes.h')
| -rw-r--r-- | 3dc/win95/VideoModes.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/3dc/win95/VideoModes.h b/3dc/win95/VideoModes.h new file mode 100644 index 0000000..1e18200 --- /dev/null +++ b/3dc/win95/VideoModes.h @@ -0,0 +1,40 @@ +#define MAX_DEVICES 4 +#define MAX_VIDEOMODES 100 + + +typedef struct +{ + int Width; + int Height; + int ColourDepth; +} VIDEOMODEDESC; + +typedef struct +{ + GUID DDGUID; + int DDGUIDIsSet; + + DDDEVICEIDENTIFIER DeviceInfo; + DDDEVICEIDENTIFIER DeviceInfoHost; + DDCAPS DriverCaps; + + VIDEOMODEDESC VideoModes[MAX_VIDEOMODES]; + int NumberOfVideoModes; + +} DEVICEANDVIDEOMODESDESC; + +typedef struct +{ + GUID DDGUID; + int DDGUIDIsSet; + int Width; + int Height; + int ColourDepth; + +} DEVICEANDVIDEOMODE; + +extern DEVICEANDVIDEOMODESDESC DeviceDescriptions[MAX_DEVICES]; +extern int NumberOfDevices; +extern int CurrentlySelectedDevice; +extern int CurrentlySelectedVideoMode; + |
