summaryrefslogtreecommitdiff
path: root/libs/ode-0.16.1/OPCODE/OPC_IceHook.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-10-01 20:59:36 -0500
committersanine <sanine.not@pm.me>2022-10-01 20:59:36 -0500
commitc5fc66ee58f2c60f2d226868bb1cf5b91badaf53 (patch)
tree277dd280daf10bf77013236b8edfa5f88708c7e0 /libs/ode-0.16.1/OPCODE/OPC_IceHook.h
parent1cf9cc3408af7008451f9133fb95af66a9697d15 (diff)
add ode
Diffstat (limited to 'libs/ode-0.16.1/OPCODE/OPC_IceHook.h')
-rw-r--r--libs/ode-0.16.1/OPCODE/OPC_IceHook.h80
1 files changed, 80 insertions, 0 deletions
diff --git a/libs/ode-0.16.1/OPCODE/OPC_IceHook.h b/libs/ode-0.16.1/OPCODE/OPC_IceHook.h
new file mode 100644
index 0000000..4fc6c8a
--- /dev/null
+++ b/libs/ode-0.16.1/OPCODE/OPC_IceHook.h
@@ -0,0 +1,80 @@
+
+// Should be included by Opcode.h if needed
+
+///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
+// Include Guard
+#ifndef __OPC_ICEHOOK_H__
+#define __OPC_ICEHOOK_H__
+
+ #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(a,b) false
+ #define EC_OUTOFMEMORY "Out of memory"
+
+ extern void OPCODE_NORETURN IceAbort();
+
+ #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;
+
+
+#endif // __OPC_ICEHOOK_H__