aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr/extantz/crappisspuke.cpp
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/crappisspuke.cpp
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 '')
-rw-r--r--ClientHamr/extantz/crappisspuke.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/ClientHamr/extantz/crappisspuke.cpp b/ClientHamr/extantz/crappisspuke.cpp
index 51fb274..b853d96 100644
--- a/ClientHamr/extantz/crappisspuke.cpp
+++ b/ClientHamr/extantz/crappisspuke.cpp
@@ -1,30 +1,5 @@
1 1
2#include <irrlicht.h> 2#include <irrlicht.h>
3
4/*
5In the Irrlicht Engine, everything can be found in the namespace 'irr'. So if
6you want to use a class of the engine, you have to write irr:: before the name
7of the class. For example to use the IrrlichtDevice write: irr::IrrlichtDevice.
8To get rid of the irr:: in front of the name of every class, we tell the
9compiler that we use that namespace from now on, and we will not have to write
10irr:: anymore.
11*/
12using namespace irr;
13
14/*
15There are 5 sub namespaces in the Irrlicht Engine. Take a look at them, you can
16read a detailed description of them in the documentation by clicking on the top
17menu item 'Namespace List' or by using this link:
18http://irrlicht.sourceforge.net/docu/namespaces.html
19Like the irr namespace, we do not want these 5 sub namespaces now, to keep this
20example simple. Hence, we tell the compiler again that we do not want always to
21write their names.
22*/
23using namespace core;
24using namespace scene;
25using namespace video;
26
27// This is here so that we can use the name spacing above, and not have to #ifdef lots of shit.
28#include "extantz.h" 3#include "extantz.h"
29 4
30 5