summaryrefslogtreecommitdiff
path: root/src/irrlichttypes_extrabloated.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-17 04:00:31 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-17 04:03:39 +0300
commit9f031a67594162a53b07acbfbc65faf8c4938e99 (patch)
treef5d3ca1fe85ee46d6febad17846cbacd93f39c7e /src/irrlichttypes_extrabloated.h
parentd0ea6f9920d30f46d1f5d44e8823a8d932f9f29d (diff)
downloadminetest-9f031a67594162a53b07acbfbc65faf8c4938e99.tar.gz
minetest-9f031a67594162a53b07acbfbc65faf8c4938e99.tar.bz2
minetest-9f031a67594162a53b07acbfbc65faf8c4938e99.zip
Optimize headers
Diffstat (limited to 'src/irrlichttypes_extrabloated.h')
-rw-r--r--src/irrlichttypes_extrabloated.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/irrlichttypes_extrabloated.h b/src/irrlichttypes_extrabloated.h
new file mode 100644
index 000000000..f85fb6318
--- /dev/null
+++ b/src/irrlichttypes_extrabloated.h
@@ -0,0 +1,42 @@
+/*
+Minetest-c55
+Copyright (C) 2010-2011 celeron55, Perttu Ahola <celeron55@gmail.com>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; either version 2.1 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
+#ifndef IRRLICHTTYPES_EXTRABLOATED_HEADER
+#define IRRLICHTTYPES_EXTRABLOATED_HEADER
+
+#define endSceneX(d){d->draw2DLine(v2s32(0,0),v2s32(1,0),\
+video::SColor(255,30,30,30));d->endScene();}
+
+#include "irrlichttypes_bloated.h"
+
+#ifndef SERVER
+#include <IMesh.h>
+#include <IImage.h>
+#include <IrrlichtDevice.h>
+#include <IMeshSceneNode.h>
+#include <SMesh.h>
+#include <ISceneManager.h>
+#include <IMeshBuffer.h>
+#include <SMeshBuffer.h>
+#include <IGUIElement.h>
+#include <IGUIEnvironment.h>
+#endif
+
+#endif
+