summaryrefslogtreecommitdiffhomepage
path: root/Opcode/OPC_IceHook.h
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-08 14:53:40 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-08 14:53:40 +0000
commite33e19d0587146859d48a134ec9fd94e7b7ba5cd (patch)
tree69d048c8801858d2756ab3a487090a7a1b74bf14 /Opcode/OPC_IceHook.h
downloadstarshatter-e33e19d0587146859d48a134ec9fd94e7b7ba5cd.zip
starshatter-e33e19d0587146859d48a134ec9fd94e7b7ba5cd.tar.gz
starshatter-e33e19d0587146859d48a134ec9fd94e7b7ba5cd.tar.bz2
Initial upload
Diffstat (limited to 'Opcode/OPC_IceHook.h')
-rw-r--r--Opcode/OPC_IceHook.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/Opcode/OPC_IceHook.h b/Opcode/OPC_IceHook.h
new file mode 100644
index 0000000..8b97eaa
--- /dev/null
+++ b/Opcode/OPC_IceHook.h
@@ -0,0 +1,70 @@
+
+// Should be included by Opcode.h if needed
+
+ #define ICE_DONT_CHECK_COMPILER_OPTIONS
+
+ // From Windows...
+ typedef int BOOL;
+ #ifndef FALSE
+ #define FALSE 0
+ #endif
+
+ #ifndef TRUE
+ #define TRUE 1
+ #endif
+
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <assert.h>
+ #include <string.h>
+ #include <float.h>
+ #include <Math.h>
+
+ #ifndef ASSERT
+ #define ASSERT(exp) {}
+ #endif
+ #define ICE_COMPILE_TIME_ASSERT(exp) extern char ICE_Dummy[ (exp) ? 1 : -1 ]
+
+ #define Log {}
+ #define SetIceError false
+ #define EC_OUTOFMEMORY "Out of memory"
+
+ #include ".\Ice\IcePreprocessor.h"
+
+ #undef ICECORE_API
+ #define ICECORE_API OPCODE_API
+
+ #include ".\Ice\IceTypes.h"
+ #include ".\Ice\IceFPU.h"
+ #include ".\Ice\IceMemoryMacros.h"
+
+ namespace IceCore
+ {
+ #include ".\Ice\IceUtils.h"
+ #include ".\Ice\IceContainer.h"
+ #include ".\Ice\IcePairs.h"
+ #include ".\Ice\IceRevisitedRadix.h"
+ #include ".\Ice\IceRandom.h"
+ }
+ using namespace IceCore;
+
+ #define ICEMATHS_API OPCODE_API
+ namespace IceMaths
+ {
+ #include ".\Ice\IceAxes.h"
+ #include ".\Ice\IcePoint.h"
+ #include ".\Ice\IceHPoint.h"
+ #include ".\Ice\IceMatrix3x3.h"
+ #include ".\Ice\IceMatrix4x4.h"
+ #include ".\Ice\IcePlane.h"
+ #include ".\Ice\IceRay.h"
+ #include ".\Ice\IceIndexedTriangle.h"
+ #include ".\Ice\IceTriangle.h"
+ #include ".\Ice\IceTriList.h"
+ #include ".\Ice\IceAABB.h"
+ #include ".\Ice\IceOBB.h"
+ #include ".\Ice\IceBoundingSphere.h"
+ #include ".\Ice\IceSegment.h"
+ #include ".\Ice\IceLSS.h"
+ }
+ using namespace IceMaths;