Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
325 | serge | 1 | // Emacs style mode select -*- C++ -*- |
2 | //----------------------------------------------------------------------------- |
||
3 | // |
||
4 | // $Id:$ |
||
5 | // |
||
6 | // Copyright (C) 1993-1996 by id Software, Inc. |
||
7 | // |
||
8 | // This source is available for distribution and/or modification |
||
9 | // only under the terms of the DOOM Source Code License as |
||
10 | // published by id Software. All rights reserved. |
||
11 | // |
||
12 | // The source is distributed in the hope that it will be useful, |
||
13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
14 | // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License |
||
15 | // for more details. |
||
16 | // |
||
17 | // DESCRIPTION: |
||
18 | // System specific interface stuff. |
||
19 | // |
||
20 | //----------------------------------------------------------------------------- |
||
21 | |||
22 | |||
23 | #ifndef __I_VIDEO__ |
||
24 | #define __I_VIDEO__ |
||
25 | |||
26 | |||
27 | #include "doomtype.h" |
||
28 | |||
29 | #ifdef __GNUG__ |
||
30 | #pragma interface |
||
31 | #endif |
||
32 | |||
33 | |||
34 | // Called by D_DoomMain, |
||
35 | // determines the hardware configuration |
||
36 | // and sets up the video mode |
||
37 | void I_InitGraphics (void); |
||
38 | |||
39 | |||
40 | void I_ShutdownGraphics(void); |
||
41 | |||
42 | // Takes full 8 bit values. |
||
43 | void I_SetPalette (byte* palette); |
||
44 | |||
45 | void I_UpdateNoBlit (void); |
||
46 | void I_FinishUpdate (void); |
||
47 | |||
48 | // Wait for vertical retrace or pause a bit. |
||
49 | void I_WaitVBL(int count); |
||
50 | |||
51 | void I_ReadScreen (byte* scr); |
||
52 | |||
53 | void I_BeginRead (void); |
||
54 | void I_EndRead (void); |
||
55 | |||
56 | |||
57 | |||
58 | #endif |
||
59 | //----------------------------------------------------------------------------- |
||
60 | // |
||
61 | // $Log:$ |
||
62 | // |
||
63 | //----------------------------------------------------------------------------- |