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