mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
Engine directory for ticket #1
This commit is contained in:
parent
352279af7a
commit
7dbfe6994d
3795 changed files with 1363358 additions and 0 deletions
70
Engine/lib/opcode/OPC_IceHook.h
Normal file
70
Engine/lib/opcode/OPC_IceHook.h
Normal file
|
|
@ -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 {}
|
||||
inline bool SetIceError( const char *inUnused1, const char *inUnused2 = NULL ) { return( 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue