mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-02 00:43:29 +00:00
96d328de9b
For some files that had the Doom Source license attached but saw heavy external contributions over the years I added a special note to license all original ZDoom code under BSD.
26 lines
590 B
C++
26 lines
590 B
C++
#ifndef __I_VIDEO_H__
|
|
#define __I_VIDEO_H__
|
|
|
|
|
|
class DFrameBuffer;
|
|
|
|
|
|
// [RH] Set the display mode
|
|
DFrameBuffer *I_SetMode (int &width, int &height, DFrameBuffer *old);
|
|
|
|
// Pause a bit.
|
|
// [RH] Despite the name, it apparently never waited for the VBL, even in
|
|
// the original DOS version (if the Heretic/Hexen source is any indicator).
|
|
void I_WaitVBL(int count);
|
|
|
|
bool I_CheckResolution (int width, int height, int bpp);
|
|
void I_ClosestResolution (int *width, int *height, int bits);
|
|
|
|
enum EDisplayType
|
|
{
|
|
DISPLAY_WindowOnly,
|
|
DISPLAY_FullscreenOnly,
|
|
DISPLAY_Both
|
|
};
|
|
|
|
#endif // __I_VIDEO_H__
|