dx5_error.hh 705 B

123456789101112131415161718192021222324252627282930
  1. /********************************************************************** <BR>
  2. This file is part of Crack dot Com's free source code release of
  3. Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
  4. information about compiling & licensing issues visit this URL</a>
  5. <PRE> If that doesn't help, contact Jonathan Clark at
  6. golgotha_source@usa.net (Subject should have "GOLG" in it)
  7. ***********************************************************************/
  8. #ifndef DX5_ERROR_HH
  9. #define DX5_ERROR_HH
  10. #include <windows.h>
  11. #include <ddraw.h>
  12. #ifdef DEBUG
  13. i4_bool i4_dx5_check(HRESULT res);
  14. #else
  15. #define i4_dx5_check(a) ((a)==(DD_OK))
  16. #endif
  17. #endif