~ubuntu-branches/debian/sid/ember/sid

« back to all changes in this revision

Viewing changes to src/components/ogre/ogreopcode/include/Opcode/OPC_IceHook.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2009-07-23 07:46:40 UTC
  • Revision ID: james.westby@ubuntu.com-20090723074640-wh0ukzis0kda36qv
Tags: upstream-0.5.6
ImportĀ upstreamĀ versionĀ 0.5.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
        extern void Opcode_Log (const char* msg, ...);
 
29
        extern bool Opcode_Err (const char* msg, ...);
 
30
 
 
31
        #define OpcodeLog                       Opcode_Log
 
32
        #define SetIceError             Opcode_Err
 
33
//      #define Log                             {}
 
34
//      #define SetIceError(a,b)        false
 
35
 
 
36
        #define EC_OUTOFMEMORY  "Out of memory"
 
37
 
 
38
        #include "Ice/IcePreprocessor.h"
 
39
 
 
40
        #include "Ice/IceTypes.h"
 
41
        #include "Ice/IceFPU.h"
 
42
        #include "Ice/IceMemoryMacros.h"
 
43
 
 
44
        namespace IceCore
 
45
        {
 
46
                #include "Ice/IceUtils.h"
 
47
                #include "Ice/IceContainer.h"
 
48
                #include "Ice/IcePairs.h"
 
49
                #include "Ice/IceRevisitedRadix.h"
 
50
                #include "Ice/IceRandom.h"
 
51
        }
 
52
        using namespace IceCore;
 
53
 
 
54
        namespace IceMaths
 
55
        {
 
56
                #include "Ice/IceAxes.h"
 
57
                #include "Ice/IcePoint.h"
 
58
                #include "Ice/IceHPoint.h"
 
59
                #include "Ice/IceMatrix3x3.h"
 
60
                #include "Ice/IceMatrix4x4.h"
 
61
                #include "Ice/IcePlane.h"
 
62
                #include "Ice/IceRay.h"
 
63
                #include "Ice/IceIndexedTriangle.h"
 
64
                #include "Ice/IceTriangle.h"
 
65
                #include "Ice/IceTriList.h"
 
66
                #include "Ice/IceAABB.h"
 
67
                #include "Ice/IceOBB.h"
 
68
                #include "Ice/IceBoundingSphere.h"
 
69
                #include "Ice/IceSegment.h"
 
70
                #include "Ice/IceLSS.h"
 
71
        }
 
72
        //using namespace IceMaths;