Update OpenGL check on macOS
[ode.git] / OPCODE / OPC_IceHook.h
blob4fc6c8a81e6fb7e8ae771509b84c974c202f9452
2 // Should be included by Opcode.h if needed
4 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5 // Include Guard
6 #ifndef __OPC_ICEHOOK_H__
7 #define __OPC_ICEHOOK_H__
9 #define ICE_DONT_CHECK_COMPILER_OPTIONS
11 // From Windows...
12 typedef int BOOL;
13 #ifndef FALSE
14 #define FALSE 0
15 #endif
17 #ifndef TRUE
18 #define TRUE 1
19 #endif
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <assert.h>
24 #include <string.h>
25 #include <float.h>
26 #include <math.h>
28 #ifndef ASSERT
29 #define ASSERT(exp) {}
30 #endif
31 #define ICE_COMPILE_TIME_ASSERT(exp) extern char ICE_Dummy[ (exp) ? 1 : -1 ]
33 #define Log {}
34 #define SetIceError(a,b) false
35 #define EC_OUTOFMEMORY "Out of memory"
37 extern void OPCODE_NORETURN IceAbort();
39 #include "Ice/IcePreprocessor.h"
41 #undef ICECORE_API
42 #define ICECORE_API OPCODE_API
44 #include "Ice/IceTypes.h"
45 #include "Ice/IceFPU.h"
46 #include "Ice/IceMemoryMacros.h"
48 namespace IceCore
50 #include "Ice/IceUtils.h"
51 #include "Ice/IceContainer.h"
52 #include "Ice/IcePairs.h"
53 #include "Ice/IceRevisitedRadix.h"
54 #include "Ice/IceRandom.h"
56 using namespace IceCore;
58 #define ICEMATHS_API OPCODE_API
59 namespace IceMaths
61 #include "Ice/IceAxes.h"
62 #include "Ice/IcePoint.h"
63 #include "Ice/IceHPoint.h"
64 #include "Ice/IceMatrix3x3.h"
65 #include "Ice/IceMatrix4x4.h"
66 #include "Ice/IcePlane.h"
67 #include "Ice/IceRay.h"
68 #include "Ice/IceIndexedTriangle.h"
69 #include "Ice/IceTriangle.h"
70 #include "Ice/IceTriList.h"
71 #include "Ice/IceAABB.h"
72 #include "Ice/IceOBB.h"
73 #include "Ice/IceBoundingSphere.h"
74 #include "Ice/IceSegment.h"
75 #include "Ice/IceLSS.h"
77 using namespace IceMaths;
80 #endif // __OPC_ICEHOOK_H__