Skip to content

Commit

Permalink
Split up mapgen.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kwolekr committed Nov 1, 2014
1 parent db25f75 commit 9e811a9
Show file tree
Hide file tree
Showing 20 changed files with 1,178 additions and 962 deletions.
5 changes: 4 additions & 1 deletion build/android/jni/Android.mk
Expand Up @@ -102,7 +102,6 @@ LOCAL_C_INCLUDES := \
LOCAL_SRC_FILES := \
jni/src/ban.cpp \
jni/src/base64.cpp \
jni/src/biome.cpp \
jni/src/camera.cpp \
jni/src/cavegen.cpp \
jni/src/chat.cpp \
Expand Down Expand Up @@ -165,6 +164,10 @@ LOCAL_SRC_FILES := \
jni/src/mapnode.cpp \
jni/src/mapsector.cpp \
jni/src/mesh.cpp \
jni/src/mg_biome.cpp \
jni/src/mg_decoration.cpp \
jni/src/mg_ore.cpp \
jni/src/mg_schematic.cpp \
jni/src/mods.cpp \
jni/src/nameidmapping.cpp \
jni/src/nodedef.cpp \
Expand Down
5 changes: 4 additions & 1 deletion src/CMakeLists.txt
Expand Up @@ -335,7 +335,6 @@ add_subdirectory(util)
set(common_SRCS
ban.cpp
base64.cpp
biome.cpp
cavegen.cpp
clientiface.cpp
collision.cpp
Expand Down Expand Up @@ -373,6 +372,10 @@ set(common_SRCS
mapgen_v7.cpp
mapnode.cpp
mapsector.cpp
mg_biome.cpp
mg_decoration.cpp
mg_ore.cpp
mg_schematic.cpp
mods.cpp
nameidmapping.cpp
nodedef.cpp
Expand Down
2 changes: 1 addition & 1 deletion src/emerge.cpp
Expand Up @@ -39,7 +39,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "profiler.h"
#include "log.h"
#include "nodedef.h"
#include "biome.h"
#include "mg_biome.h"
#include "mapgen_v6.h"
#include "mapgen_v7.h"
#include "mapgen_singlenode.h"
Expand Down
2 changes: 0 additions & 2 deletions src/emerge.h
Expand Up @@ -38,8 +38,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
infostream << "EmergeThread: " x << std::endl; }

class EmergeThread;
//class Mapgen;
//struct MapgenFactory;
class Biome;
class BiomeDefManager;
class Decoration;
Expand Down
2 changes: 1 addition & 1 deletion src/map.cpp
Expand Up @@ -37,7 +37,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "environment.h"
#include "emerge.h"
#include "mapgen_v6.h"
#include "biome.h"
#include "mg_biome.h"
#include "config.h"
#include "server.h"
#include "database.h"
Expand Down

0 comments on commit 9e811a9

Please sign in to comment.