OPC_IceHook.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // Should be included by Opcode.h if needed
  2. #define ICE_DONT_CHECK_COMPILER_OPTIONS
  3. // From Windows...
  4. typedef int BOOL;
  5. #ifndef FALSE
  6. #define FALSE 0
  7. #endif
  8. #ifndef TRUE
  9. #define TRUE 1
  10. #endif
  11. #include <stdio.h>
  12. #include <stdlib.h>
  13. #include <assert.h>
  14. #include <string.h>
  15. #include <float.h>
  16. #include <math.h>
  17. #ifndef ASSERT
  18. #define ASSERT(exp) {}
  19. #endif
  20. #define ICE_COMPILE_TIME_ASSERT(exp) extern char ICE_Dummy[ (exp) ? 1 : -1 ]
  21. #define Log {}
  22. inline bool SetIceError( const char *inUnused1, const char *inUnused2 = NULL ) { return( false ); }
  23. #define EC_OUTOFMEMORY "Out of memory"
  24. #include "./Ice/IcePreprocessor.h"
  25. #undef ICECORE_API
  26. #define ICECORE_API OPCODE_API
  27. #include "./Ice/IceTypes.h"
  28. #include "./Ice/IceFPU.h"
  29. #include "./Ice/IceMemoryMacros.h"
  30. namespace IceCore
  31. {
  32. #include "./Ice/IceUtils.h"
  33. #include "./Ice/IceContainer.h"
  34. #include "./Ice/IcePairs.h"
  35. #include "./Ice/IceRevisitedRadix.h"
  36. #include "./Ice/IceRandom.h"
  37. }
  38. using namespace IceCore;
  39. #define ICEMATHS_API OPCODE_API
  40. namespace IceMaths
  41. {
  42. #include "./Ice/IceAxes.h"
  43. #include "./Ice/IcePoint.h"
  44. #include "./Ice/IceHPoint.h"
  45. #include "./Ice/IceMatrix3x3.h"
  46. #include "./Ice/IceMatrix4x4.h"
  47. #include "./Ice/IcePlane.h"
  48. #include "./Ice/IceRay.h"
  49. #include "./Ice/IceIndexedTriangle.h"
  50. #include "./Ice/IceTriangle.h"
  51. #include "./Ice/IceTriList.h"
  52. #include "./Ice/IceAABB.h"
  53. #include "./Ice/IceOBB.h"
  54. #include "./Ice/IceBoundingSphere.h"
  55. #include "./Ice/IceSegment.h"
  56. #include "./Ice/IceLSS.h"
  57. }
  58. using namespace IceMaths;