aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/extantz/extantz.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-20 03:41:45 +1000
committerDavid Walter Seikel2013-01-20 03:41:45 +1000
commitd2284fac245442857ac153db2c99b1f4134a24ce (patch)
tree3a06863fcf8b845b526c31974dbd9f0c80573fc0 /ClientHamr/extantz/extantz.h
parentMake the main window bigger. (diff)
downloadSledjHamr-d2284fac245442857ac153db2c99b1f4134a24ce.zip
SledjHamr-d2284fac245442857ac153db2c99b1f4134a24ce.tar.gz
SledjHamr-d2284fac245442857ac153db2c99b1f4134a24ce.tar.bz2
SledjHamr-d2284fac245442857ac153db2c99b1f4134a24ce.tar.xz
Move the Irrlicht namespace stuff into the extantz header.
Diffstat (limited to 'ClientHamr/extantz/extantz.h')
-rw-r--r--ClientHamr/extantz/extantz.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/ClientHamr/extantz/extantz.h b/ClientHamr/extantz/extantz.h
index c234e81..a3c46e5 100644
--- a/ClientHamr/extantz/extantz.h
+++ b/ClientHamr/extantz/extantz.h
@@ -14,6 +14,29 @@
14 14
15 15
16#ifdef __cplusplus 16#ifdef __cplusplus
17/*
18In the Irrlicht Engine, everything can be found in the namespace 'irr'. So if
19you want to use a class of the engine, you have to write irr:: before the name
20of the class. For example to use the IrrlichtDevice write: irr::IrrlichtDevice.
21To get rid of the irr:: in front of the name of every class, we tell the
22compiler that we use that namespace from now on, and we will not have to write
23irr:: anymore.
24*/
25using namespace irr;
26
27/*
28There are 5 sub namespaces in the Irrlicht Engine. Take a look at them, you can
29read a detailed description of them in the documentation by clicking on the top
30menu item 'Namespace List' or by using this link:
31http://irrlicht.sourceforge.net/docu/namespaces.html
32Like the irr namespace, we do not want these 5 sub namespaces now, to keep this
33example simple. Hence, we tell the compiler again that we do not want always to
34write their names.
35*/
36using namespace core;
37using namespace scene;
38using namespace video;
39
17extern "C"{ 40extern "C"{
18#else 41#else
19 42