Commit c7012792 authored by hybrid's avatar hybrid

Fix some docs and put c16 into irr namespace.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2457 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 2abda10e
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "irrTypes.h" #include "irrTypes.h"
#include <new> #include <new>
// necessary for older compilers
#include <memory.h> #include <memory.h>
namespace irr namespace irr
......
...@@ -119,6 +119,9 @@ typedef unsigned short wchar_t; ...@@ -119,6 +119,9 @@ typedef unsigned short wchar_t;
#endif // microsoft compiler #endif // microsoft compiler
#endif // _IRR_WINDOWS_API_ #endif // _IRR_WINDOWS_API_
namespace irr
{
//! Should the wide character version of the FileSystem be used //! Should the wide character version of the FileSystem be used
#if defined(_IRR_WCHAR_FILESYSTEM) #if defined(_IRR_WCHAR_FILESYSTEM)
//! 16 bit character variable. Used for unicode Filesystem and unicode strings //! 16 bit character variable. Used for unicode Filesystem and unicode strings
...@@ -128,6 +131,8 @@ typedef unsigned short wchar_t; ...@@ -128,6 +131,8 @@ typedef unsigned short wchar_t;
typedef char c16; typedef char c16;
#endif #endif
} // end namespace irr
//! define a break macro for debugging. //! define a break macro for debugging.
#if defined(_DEBUG) #if defined(_DEBUG)
#if defined(_IRR_WINDOWS_API_) && defined(_MSC_VER) && !defined (_WIN32_WCE) #if defined(_IRR_WINDOWS_API_) && defined(_MSC_VER) && !defined (_WIN32_WCE)
......
...@@ -13,7 +13,12 @@ ...@@ -13,7 +13,12 @@
#include "rect.h" #include "rect.h"
#include "irrString.h" #include "irrString.h"
// enable this to keep track of changes to the matrix
// and make simpler identity check for seldomly changing matrices
// otherwise identity check will always compare the elements
//#define USE_MATRIX_TEST //#define USE_MATRIX_TEST
// this is only for debugging purposes
//#define USE_MATRIX_TEST_DEBUG //#define USE_MATRIX_TEST_DEBUG
#if defined( USE_MATRIX_TEST_DEBUG ) #if defined( USE_MATRIX_TEST_DEBUG )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment