Oops.
[AROS-Contrib.git] / Games / Doom / i_video.h
blobbed715e3563c22b87cd146ce560dd464a5663884
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.
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.
17 // DESCRIPTION:
18 // System specific interface stuff.
20 //-----------------------------------------------------------------------------
23 #ifndef __I_VIDEO__
24 #define __I_VIDEO__
27 #include "doomtype.h"
29 #ifdef __GNUG__
30 #pragma interface
31 #endif
34 // Called by D_DoomMain,
35 // determines the hardware configuration
36 // and sets up the video mode
37 void I_InitGraphics (void);
40 void I_ShutdownGraphics(void);
42 // Takes full 8 bit values.
43 void I_RecalcPalettes (void);
44 void I_SetPalette (byte* palette, int palette_index);
46 void I_MarkRect (int left, int top, int width, int height);
48 void I_UpdateNoBlit (void);
49 void I_StartUpdate (void);
50 void I_FinishUpdate (void);
52 // Wait for vertical retrace or pause a bit.
53 void I_WaitVBL(int count);
55 void I_ReadScreen (byte* scr);
57 void I_BeginRead (void);
58 void I_EndRead (void);
62 #endif
63 //-----------------------------------------------------------------------------
65 // $Log$
66 // Revision 1.1 2000/02/29 18:21:06 stegerg
67 // Doom port based on ADoomPPC. Read README.AROS!
70 //-----------------------------------------------------------------------------