Source files cleanup: Generating-related files in a separate subfolder
git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
251c961eea
commit
881ad8d8db
@ -1660,75 +1660,75 @@
|
||||
Name="Generating"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\source\BioGen.cpp"
|
||||
RelativePath="..\source\Generating\BioGen.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\BioGen.h"
|
||||
RelativePath="..\source\Generating\BioGen.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\Caves.cpp"
|
||||
RelativePath="..\source\Generating\Caves.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\Caves.h"
|
||||
RelativePath="..\source\Generating\Caves.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\cChunkGenerator.cpp"
|
||||
RelativePath="..\source\Generating\ChunkGenerator.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\cChunkGenerator.h"
|
||||
RelativePath="..\source\Generating\ChunkGenerator.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\CompoGen.cpp"
|
||||
RelativePath="..\source\Generating\CompoGen.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\CompoGen.h"
|
||||
RelativePath="..\source\Generating\CompoGen.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\FinishGen.cpp"
|
||||
RelativePath="..\source\Generating\FinishGen.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\FinishGen.h"
|
||||
RelativePath="..\source\Generating\FinishGen.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\HeiGen.cpp"
|
||||
RelativePath="..\source\Generating\HeiGen.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\HeiGen.h"
|
||||
RelativePath="..\source\Generating\HeiGen.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\Ravines.cpp"
|
||||
RelativePath="..\source\Generating\Ravines.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\Ravines.h"
|
||||
RelativePath="..\source\Generating\Ravines.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\StructGen.cpp"
|
||||
RelativePath="..\source\Generating\StructGen.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\StructGen.h"
|
||||
RelativePath="..\source\Generating\StructGen.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\Trees.cpp"
|
||||
RelativePath="..\source\Generating\Trees.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\source\Trees.h"
|
||||
RelativePath="..\source\Generating\Trees.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
|
@ -14,8 +14,8 @@ Interfaces to the various biome generators:
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cChunkGenerator.h"
|
||||
#include "cNoise.h"
|
||||
#include "ChunkGenerator.h"
|
||||
#include "../cNoise.h"
|
||||
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cChunkGenerator.h"
|
||||
#include "cNoise.h"
|
||||
#include "ChunkGenerator.h"
|
||||
#include "../cNoise.h"
|
||||
|
||||
|
||||
|
@ -1,17 +1,17 @@
|
||||
|
||||
#include "Globals.h"
|
||||
|
||||
#include "cChunkGenerator.h"
|
||||
#include "cWorld.h"
|
||||
#include "../iniFile/iniFile.h"
|
||||
#include "ChunkGenerator.h"
|
||||
#include "../cWorld.h"
|
||||
#include "../../iniFile/iniFile.h"
|
||||
#include "BioGen.h"
|
||||
#include "HeiGen.h"
|
||||
#include "CompoGen.h"
|
||||
#include "StructGen.h"
|
||||
#include "FinishGen.h"
|
||||
#include "cRoot.h"
|
||||
#include "cPluginManager.h"
|
||||
#include "cLuaChunk.h"
|
||||
#include "../cRoot.h"
|
||||
#include "../cPluginManager.h"
|
||||
#include "../cLuaChunk.h"
|
||||
#include "Ravines.h"
|
||||
#include "Caves.h"
|
||||
|
@ -24,8 +24,8 @@ See http://forum.mc-server.org/showthread.php?tid=409 for details.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cIsThread.h"
|
||||
#include "ChunkDef.h"
|
||||
#include "../cIsThread.h"
|
||||
#include "../ChunkDef.h"
|
||||
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include "Globals.h"
|
||||
#include "CompoGen.h"
|
||||
#include "BlockID.h"
|
||||
#include "../BlockID.h"
|
||||
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cChunkGenerator.h"
|
||||
#include "cNoise.h"
|
||||
#include "ChunkGenerator.h"
|
||||
#include "../cNoise.h"
|
||||
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include "Globals.h"
|
||||
|
||||
#include "FinishGen.h"
|
||||
#include "cNoise.h"
|
||||
#include "BlockID.h"
|
||||
#include "../cNoise.h"
|
||||
#include "../BlockID.h"
|
||||
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
||||
|
||||
|
||||
|
||||
#include "cChunkGenerator.h"
|
||||
#include "cNoise.h"
|
||||
#include "ChunkGenerator.h"
|
||||
#include "../cNoise.h"
|
||||
|
||||
|
||||
|
@ -14,8 +14,8 @@ Interfaces to the various height generators:
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cChunkGenerator.h"
|
||||
#include "cNoise.h"
|
||||
#include "ChunkGenerator.h"
|
||||
#include "../cNoise.h"
|
||||
|
||||
|
||||
|
@ -9,8 +9,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cChunkGenerator.h"
|
||||
#include "cNoise.h"
|
||||
#include "ChunkGenerator.h"
|
||||
#include "../cNoise.h"
|
||||
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include "Globals.h"
|
||||
#include "StructGen.h"
|
||||
#include "BlockID.h"
|
||||
#include "../BlockID.h"
|
||||
#include "Trees.h"
|
||||
|
||||
|
||||
@ -37,6 +37,14 @@ const int MAX_HEIGHT_LAPIS = 30;
|
||||
const int NUM_NESTS_LAPIS = 3;
|
||||
const int NEST_SIZE_LAPIS = 5;
|
||||
|
||||
const int MAX_HEIGHT_DIRT = 127;
|
||||
const int NUM_NESTS_DIRT = 20;
|
||||
const int NEST_SIZE_DIRT = 32;
|
||||
|
||||
const int MAX_HEIGHT_GRAVEL = 70;
|
||||
const int NUM_NESTS_GRAVEL = 15;
|
||||
const int NEST_SIZE_GRAVEL = 32;
|
||||
|
||||
|
||||
|
||||
|
||||
@ -313,6 +321,8 @@ void cStructGenOreNests::GenStructures(
|
||||
GenerateOre(a_ChunkX, a_ChunkZ, E_BLOCK_GOLD_ORE, MAX_HEIGHT_GOLD, NUM_NESTS_GOLD, NEST_SIZE_GOLD, a_BlockTypes, 4);
|
||||
GenerateOre(a_ChunkX, a_ChunkZ, E_BLOCK_DIAMOND_ORE, MAX_HEIGHT_DIAMOND, NUM_NESTS_DIAMOND, NEST_SIZE_DIAMOND, a_BlockTypes, 5);
|
||||
GenerateOre(a_ChunkX, a_ChunkZ, E_BLOCK_LAPIS_ORE, MAX_HEIGHT_LAPIS, NUM_NESTS_LAPIS, NEST_SIZE_LAPIS, a_BlockTypes, 6);
|
||||
GenerateOre(a_ChunkX, a_ChunkZ, E_BLOCK_DIRT, MAX_HEIGHT_DIRT, NUM_NESTS_DIRT, NEST_SIZE_DIRT, a_BlockTypes, 10);
|
||||
GenerateOre(a_ChunkX, a_ChunkZ, E_BLOCK_GRAVEL, MAX_HEIGHT_GRAVEL, NUM_NESTS_GRAVEL, NEST_SIZE_GRAVEL, a_BlockTypes, 11);
|
||||
}
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "cChunkGenerator.h"
|
||||
#include "cNoise.h"
|
||||
#include "ChunkGenerator.h"
|
||||
#include "../cNoise.h"
|
||||
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include "Globals.h"
|
||||
#include "Trees.h"
|
||||
#include "BlockID.h"
|
||||
#include "../BlockID.h"
|
||||
|
||||
|
||||
|
@ -17,8 +17,8 @@ logs can overwrite others(leaves), but others shouldn't overwrite logs. This is
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ChunkDef.h"
|
||||
#include "cNoise.h"
|
||||
#include "../ChunkDef.h"
|
||||
#include "../cNoise.h"
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "WSSCompact.h"
|
||||
#include "WSSAnvil.h"
|
||||
#include "cWorld.h"
|
||||
#include "cChunkGenerator.h"
|
||||
#include "Generating/ChunkGenerator.h"
|
||||
#include "cEntity.h"
|
||||
#include "cBlockEntity.h"
|
||||
#include "BlockID.h"
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "cItem.h"
|
||||
#include "cPickup.h"
|
||||
#include "cChunk.h"
|
||||
#include "Trees.h" // used in cChunkMap::ReplaceTreeBlocks() for tree block discrimination
|
||||
#include "Generating/Trees.h" // used in cChunkMap::ReplaceTreeBlocks() for tree block discrimination
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <cstdlib> // abs
|
||||
|
@ -37,10 +37,9 @@
|
||||
#include "cGhast.h" //Ghast
|
||||
#include "cZombiepigman.h" //Zombiepigman
|
||||
#include "cMakeDir.h"
|
||||
#include "cChunkGenerator.h"
|
||||
#include "MersenneTwister.h"
|
||||
#include "cTracer.h"
|
||||
#include "Trees.h"
|
||||
#include "Generating/Trees.h"
|
||||
#include "cPluginManager.h"
|
||||
#include "blocks/Block.h"
|
||||
#include "Vector3d.h"
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "MersenneTwister.h"
|
||||
#include "cChunkMap.h"
|
||||
#include "WorldStorage.h"
|
||||
#include "cChunkGenerator.h"
|
||||
#include "Generating/ChunkGenerator.h"
|
||||
#include "Vector3i.h"
|
||||
#include "Vector3f.h"
|
||||
#include "ChunkSender.h"
|
||||
|
Loading…
Reference in New Issue
Block a user