Loading...
Searching...
No Matches
irrTypes.h File Reference
`#include "IrrCompileConfig.h"`
`#include <wchar.h>`

Go to the source code of this file.

## Namespaces

namespace | irr
| Everything in the Irrlicht Engine can be found in this namespace.

## Macros

#define | _IRR_DEBUG_BREAK_IF(_CONDITION_)
| define a break macro for debugging.
#define | _IRR_DEPRECATED_
| Defines a deprecated macro which generates a warning at compile time.
#define | _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX
| Defines a small statement to work around a microsoft compiler bug.
#define | _IRR_TEXT(X)
#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 char | irr::fschar_t
| Type name for character type used by the file system.
typedef signed short | irr::s16
| 16 bit signed variable.
typedef signed int | irr::s32
| 32 bit signed variable.
typedef long long | irr::s64
| 64 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 long long | irr::u64
| 64 bit unsigned variable.
typedef unsigned char | irr::u8
| 8 bit unsigned variable.

## Macro Definition Documentation

## _IRR_DEBUG_BREAK_IF

#define _IRR_DEBUG_BREAK_IF | ( |  | _CONDITION_ | ) |

define a break macro for debugging.

Definition at line 178 of file irrTypes.h.

Referenced by irr::core::CMatrix4< T >::buildProjectionMatrixOrthoLH(), irr::core::CMatrix4< T >::buildProjectionMatrixOrthoRH(), irr::core::CMatrix4< T >::buildProjectionMatrixPerspectiveFovInfinityLH(), irr::core::CMatrix4< T >::buildProjectionMatrixPerspectiveFovLH(), irr::core::CMatrix4< T >::buildProjectionMatrixPerspectiveFovRH(), irr::core::CMatrix4< T >::buildProjectionMatrixPerspectiveLH(), irr::core::CMatrix4< T >::buildProjectionMatrixPerspectiveRH(), irr::IReferenceCounted::drop(), irr::core::array< core::stringc >::erase(), irr::core::string< c8 >::erase(), irr::core::array< core::stringc >::getLast(), irr::core::array< core::stringc >::getLast(), irr::scene::SSharedMeshBuffer::getNormal(), irr::scene::SSharedMeshBuffer::getNormal(), irr::scene::SSharedMeshBuffer::getPosition(), irr::scene::SSharedMeshBuffer::getPosition(), irr::scene::SSharedMeshBuffer::getTCoords(), irr::scene::SSharedMeshBuffer::getTCoords(), irr::core::array< core::stringc >::insert(), irr::core::map< KeyType, ValueType >::AccessClass::operator ValueType(), irr::core::map< KeyType, ValueType >::ConstIterator::operator*(), irr::core::map< KeyType, ValueType >::Iterator::operator*(), irr::core::map< KeyType, ValueType >::ParentFirstIterator::operator*(), irr::core::map< KeyType, ValueType >::ParentLastIterator::operator*(), irr::core::array< core::stringc >::operator[](), irr::core::array< core::stringc >::operator[](), irr::core::string< c8 >::operator[](), and irr::core::string< c8 >::operator[]().

## _IRR_DEPRECATED_

#define _IRR_DEPRECATED_

Defines a deprecated macro which generates a warning at compile time.

The usage is simple For typedef: typedef IRR_DEPRECATED int test1; For classes/structs: class IRR_DEPRECATED test2 { ... }; For methods: class test3 { IRR_DEPRECATED virtual void foo() {} }; For functions: template<class T> IRR_DEPRECATED void test4(void) {}

Definition at line 195 of file irrTypes.h.

Referenced by irr::io::IFileSystem::addFolderFileArchive(), irr::scene::ISceneManager::addOctTreeSceneNode(), irr::scene::ISceneManager::addOctTreeSceneNode(), irr::io::IFileSystem::addPakFileArchive(), irr::io::IFileSystem::addZipFileArchive(), irr::gui::IGUITreeViewNode::clearChilds(), irr::video::IVideoDriver::createImage(), irr::video::IVideoDriver::createImage(), irr::scene::ISceneManager::createOctTreeTriangleSelector(), irr::scene::IBoneSceneNode::getBoneName(), irr::scene::IMeshCache::getMeshByFilename(), irr::scene::IMeshCache::getMeshFilename(), irr::scene::IMeshCache::getMeshFilename(), irr::IOSOperator::getOperationSystemVersion(), irr::gui::IGUITreeViewNode::hasChilds(), irr::core::map< KeyType, ValueType >::isEmpty(), irr::scene::IMeshManipulator::scaleMesh(), irr::scene::IMeshCache::setMeshFilename(), irr::scene::IMeshCache::setMeshFilename(), irr::core::CMatrix4< T >::transformBox(), and irr::scene::IMeshManipulator::transformMesh().

## _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX

#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 207 of file irrTypes.h.

Referenced by irr::core::map< KeyType, ValueType >::ConstIterator::atEnd(), irr::core::map< KeyType, ValueType >::Iterator::atEnd(), irr::core::map< KeyType, ValueType >::ParentFirstIterator::atEnd(), irr::core::map< KeyType, ValueType >::ParentLastIterator::atEnd(), irr::gui::IGUIElement::bringToFront(), irr::core::map< KeyType, ValueType >::empty(), irr::gui::IGUIElement::getNextElement(), irr::core::map< KeyType, ValueType >::insert(), irr::scene::ISceneNode::isDebugObject(), irr::gui::IGUIElement::isEnabled(), irr::gui::IGUIElement::isMyChild(), irr::scene::ICameraSceneNode::isOrthogonal(), irr::gui::IGUIElement::isSubElement(), irr::gui::IGUIElement::isTabGroup(), irr::gui::IGUIElement::isTabStop(), irr::scene::ISceneNode::isTrulyVisible(), irr::gui::IGUIElement::isVisible(), irr::scene::ISceneNode::isVisible(), irr::core::map< KeyType, ValueType >::AccessClass::operator ValueType(), irr::core::map< KeyType, ValueType >::remove(), irr::scene::ISceneNode::removeChild(), and irr::gui::IGUIElement::sendToBack().

## _IRR_TEXT

#define _IRR_TEXT | ( |  | X | ) |

Value:
X

Definition at line 159 of file irrTypes.h.

## MAKE_IRR_ID

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

Value:
((irr::u32)(irr::u8)(c0) | ((irr::u32)(irr::u8)(c1) << 8) | \
((irr::u32)(irr::u8)(c2) << 16) | ((irr::u32)(irr::u8)(c3) << 24 ))
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
irr::u8
unsigned char u8
8 bit unsigned variable.
Definition irrTypes.h:18

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 241 of file irrTypes.h.

- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0