home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / directx / duel / gfx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-15  |  731 b   |  27 lines

  1. /*==========================================================================
  2.  *
  3.  *  Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved.
  4.  *
  5.  *  File:        gfx.h
  6.  *  Content:    graphics routines include file
  7.  *
  8.  *
  9.  ***************************************************************************/
  10. #include "duel.h"
  11. #include "ddraw.h"
  12.  
  13. /*
  14.  * Prototypes
  15.  */
  16. BOOL    InitGraphics( void );
  17. void    CleanupGraphics(void);
  18. void    bltSplash( LPRECT );
  19. void    bltScore( char *num, int x, int y );
  20. void    bltObject( int x, int y, LPDIRECTDRAWSURFACE surf, LPRECT src, DWORD flags );
  21. void    EraseScreen( void );
  22. void    FlipScreen( void );
  23. BOOL    RestoreSurfaces( void );
  24. void    SetGamePalette(void);
  25. void    FlipToGDI(void);
  26.  
  27.