Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members

irrTypes.h File Reference

#include "IrrCompileConfig.h"
#include <wchar.h>

Go to the source code of this file.

Namespaces

namespace  irr

Defines

#define _IRR_DEBUG_BREAK_IF(_CONDITION_)
 define a break macro for debugging.
#define _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX
 Defines a small statement to work around a microsoft compiler bug.
#define MAKE_IRR_ID(c0, c1, c2, c3)
 ignore VC8 warning deprecated

Typedefs

typedef char irr::c8
 8 bit character variable.
typedef float irr::f32
 32 bit floating point variable.
typedef double irr::f64
 64 bit floating point variable.
typedef signed short irr::s16
 16 bit signed variable.
typedef signed int irr::s32
 32 bit signed variable.
typedef signed char irr::s8
 8 bit signed variable.
typedef unsigned short irr::u16
 16 bit unsigned variable.
typedef unsigned int irr::u32
 32 bit unsigned variable.
typedef unsigned char irr::u8
 8 bit unsigned variable.


Define Documentation

#define _IRR_DEBUG_BREAK_IF ( _CONDITION_   ) 

define a break macro for debugging.

Definition at line 136 of file irrTypes.h.

Referenced by irr::IReferenceCounted::drop().

#define _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX

Defines a small statement to work around a microsoft compiler bug.

The microsoft compiler 7.0 - 7.1 has a bug: When you call unmanaged code that returns a bool type value of false from managed code, the return value may appear as true. See http://support.microsoft.com/default.aspx?kbid=823071 for details. Compiler version defines: VC6.0 : 1200, VC7.0 : 1300, VC7.1 : 1310, VC8.0 : 1400

Definition at line 148 of file irrTypes.h.

#define MAKE_IRR_ID ( c0,
c1,
c2,
c3   ) 

Value:

((u32)(u8)(c0) | ((u32)(u8)(c1) << 8) |   \
                ((u32)(u8)(c2) << 16) | ((u32)(u8)(c3) << 24 ))
ignore VC8 warning deprecated

The microsoft compiler creates four CC codes used in Irrlicht for simple ids some compilers can create those by directly writing the code like 'code', but some generate warnings so we use this macro here

Definition at line 182 of file irrTypes.h.


The NUSoftware Game Engine
The NUSoftware Game Engine Documentation © 2007-2008 by Tomer Nosrati. Generated on Sat Apr 26 16:52:35 2008 by Doxygen (1.5.5)