i_video.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. #ifndef __I_VIDEO__
  22. #define __I_VIDEO__
  23. #include "doomtype.h"
  24. #ifdef __GNUG__
  25. #pragma interface
  26. #endif
  27. // Called by D_DoomMain,
  28. // determines the hardware configuration
  29. // and sets up the video mode
  30. void I_InitGraphics (void);
  31. void I_ShutdownGraphics(void);
  32. // Takes full 8 bit values.
  33. void I_SetPalette (byte* palette);
  34. void I_UpdateNoBlit (void);
  35. void I_FinishUpdate (void);
  36. // Wait for vertical retrace or pause a bit.
  37. void I_WaitVBL(int count);
  38. void I_ReadScreen (byte* scr);
  39. void I_BeginRead (void);
  40. void I_EndRead (void);
  41. #endif
  42. //-----------------------------------------------------------------------------
  43. //
  44. // $Log:$
  45. //
  46. //-----------------------------------------------------------------------------