CGDoom/cgdoom/i_video.h

65 lines
1.5 KiB
C++

// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id:$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// published by id Software. All rights reserved.
//
// The source is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
// for more details.
//
// DESCRIPTION:
// System specific interface stuff.
//
//-----------------------------------------------------------------------------
#ifndef __I_VIDEO__
#define __I_VIDEO__
#include "doomtype.h"
#ifdef __GNUG__
#pragma interface
#endif
// Called by D_DoomMain,
// determines the hardware configuration
// and sets up the video mode
void I_InitGraphics (void);
//void I_PrepScreen (void);
void I_ShutdownGraphics(void);
/* CGDoom: Set palette (also applies gamma; if pal=NULL refreshes gamma without
updating the palette). */
void I_SetPalette(byte* pal);
void I_Flip (void);
void I_ReadScreen (byte* scr);
//void I_BeginRead (void);
//void I_EndRead (void);
/* CGDoom: Restore video after error when using direct-DD access */
void I_ReinitAfterError (void);
#endif
//-----------------------------------------------------------------------------
//
// $Log:$
//
//-----------------------------------------------------------------------------