summaryrefslogtreecommitdiff
path: root/src/database.cpp
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-09-10 15:49:43 +0200
committerKahrl <kahrl@gmx.net>2013-09-10 16:09:30 +0200
commit95e4a93b1bb98eb94b4ca00fb73a0162bd5c8c0e (patch)
treeb7928e6d4b1951780231e4f66cf214f00dfcad48 /src/database.cpp
parent3725179736e2b5372664163470e7ef3dc76529a4 (diff)
downloadminetest-95e4a93b1bb98eb94b4ca00fb73a0162bd5c8c0e.tar.gz
minetest-95e4a93b1bb98eb94b4ca00fb73a0162bd5c8c0e.tar.bz2
minetest-95e4a93b1bb98eb94b4ca00fb73a0162bd5c8c0e.zip
Add license headers and remove useless includes
Diffstat (limited to 'src/database.cpp')
-rw-r--r--src/database.cpp34
1 files changed, 18 insertions, 16 deletions
diff --git a/src/database.cpp b/src/database.cpp
index 771d9b962..b793cd2f2 100644
--- a/src/database.cpp
+++ b/src/database.cpp
@@ -1,22 +1,24 @@
-#include "map.h"
-#include "mapsector.h"
-#include "mapblock.h"
-#include "main.h"
-#include "filesys.h"
-#include "voxel.h"
-#include "porting.h"
-#include "mapgen.h"
-#include "nodemetadata.h"
-#include "settings.h"
-#include "log.h"
-#include "profiler.h"
-#include "nodedef.h"
-#include "gamedef.h"
-#include "util/directiontables.h"
-#include "rollback_interface.h"
+/*
+Minetest
+Copyright (C) 2013 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.
+*/
#include "database.h"
+#include "irrlichttypes.h"
static s32 unsignedToSigned(s32 i, s32 max_positive)
{