dxdraw.h 856 B

1234567891011121314151617181920212223242526
  1. /*=============================================================================
  2. Name : dxdraw.h
  3. Purpose : DirectDraw / non-DirectDraw display mode control
  4. Created 2/09/1999 by khent
  5. Copyright Relic Entertainment, Inc. All rights reserved.
  6. =============================================================================*/
  7. #ifndef _DXDRAW_H
  8. #define _DXDRAW_H
  9. //used for OpenGL devices that don't like DirectDraw,
  10. //and for intro video sequences
  11. unsigned int hwSetRes(int, int, int);
  12. unsigned int hwCreateWindow(int, int, int, int);
  13. unsigned int hwDeleteWindow(void);
  14. unsigned int hwGetDepth(void);
  15. unsigned int hwActivate(int activate);
  16. //DirectDraw versions of some of the above
  17. unsigned int ddCreateWindow(int, int, int, int);
  18. unsigned int ddDeleteWindow(void);
  19. unsigned int ddActivate(int activate);
  20. #endif