Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OPC_IceHook.h
Go to the documentation of this file.
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 <string.h>
19  #include <float.h>
20  #include <math.h>
21 
22  #ifndef OPASSERT
23  #define OPASSERT(exp) {}
24  #endif
25  #define ICE_COMPILE_TIME_ASSERT(exp) extern char ICE_Dummy[ (exp) ? 1 : -1 ]
26 
27 // extern void Opcode_Log (const char* msg, ...);
28 // #define Log Opcode_Log
29  //#define Log {}
30 // extern bool Opcode_Err (const char* msg, ...);
31 // #define SetIceError Opcode_Err
32  #define EC_OUTOFMEMORY "Out of memory"
33 
34  #include "Ice/IcePreprocessor.h"
35 
36  #undef ICECORE_API
37  #define ICECORE_API OPCODE_API
38 
39  #include "Ice/IceTypes.h"
40  #include "Ice/IceFPU.h"
41  #include "Ice/IceMemoryMacros.h"
42 #define ICEMATHS_API OPCODE_API