-
Notifications
You must be signed in to change notification settings - Fork 0
/
I_VIDEO.H
47 lines (32 loc) · 921 Bytes
/
I_VIDEO.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// System specific interface stuff.
#ifndef __I_VIDEO__
#define __I_VIDEO__
#include "doomtype.h"
#ifdef __GNUG__
#pragma interface
#endif
typedef enum {
render_soft = 1,
render_glide = 2,
render_d3d = 3
} rendermode_t;
extern rendermode_t rendermode;
// use highcolor modes if true
extern boolean highcolor;
void I_StartupGraphics (void); //setup video mode
void I_ShutdownGraphics(void); //restore old video mode
// Takes full 8 bit values.
void I_SetPalette (byte* palette);
void I_UpdateNoBlit (void);
void I_FinishUpdate (void);
// Wait for vertical retrace or pause a bit.
void I_WaitVBL(int count);
void I_ReadScreen (byte* scr);
void I_BeginRead (void);
void I_EndRead (void);
#endif
//-----------------------------------------------------------------------------
//
// $Log:$
//
//-----------------------------------------------------------------------------