Biomal CompoGen now generates sea with STATIONARY_WATER instead of regular WATER.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@962 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
331ad53b60
commit
dd554175a4
@ -33,9 +33,11 @@ bedrock=7
|
|||||||
water=8
|
water=8
|
||||||
stillwater=9
|
stillwater=9
|
||||||
swater=9
|
swater=9
|
||||||
|
stationarywater=9
|
||||||
lava=10
|
lava=10
|
||||||
stilllava=11
|
stilllava=11
|
||||||
slava=11
|
slava=11
|
||||||
|
stationarylava=11
|
||||||
sand=12
|
sand=12
|
||||||
gravel=13
|
gravel=13
|
||||||
goldore=14
|
goldore=14
|
||||||
|
@ -271,7 +271,7 @@ void cChunkGenerator::InitCompositionGen(cIniFile & a_IniFile)
|
|||||||
BLOCKTYPE BlockBottom = GetIniBlock(a_IniFile, "Generator", "ClassicBlockBottom", "stone");
|
BLOCKTYPE BlockBottom = GetIniBlock(a_IniFile, "Generator", "ClassicBlockBottom", "stone");
|
||||||
BLOCKTYPE BlockBeach = GetIniBlock(a_IniFile, "Generator", "ClassicBlockBeach", "sand");
|
BLOCKTYPE BlockBeach = GetIniBlock(a_IniFile, "Generator", "ClassicBlockBeach", "sand");
|
||||||
BLOCKTYPE BlockBeachBottom = GetIniBlock(a_IniFile, "Generator", "ClassicBlockBeachBottom", "sandstone");
|
BLOCKTYPE BlockBeachBottom = GetIniBlock(a_IniFile, "Generator", "ClassicBlockBeachBottom", "sandstone");
|
||||||
BLOCKTYPE BlockSea = GetIniBlock(a_IniFile, "Generator", "ClassicBlockSea", "9");
|
BLOCKTYPE BlockSea = GetIniBlock(a_IniFile, "Generator", "ClassicBlockSea", "stationarywater");
|
||||||
m_CompositionGen = new cCompoGenClassic(
|
m_CompositionGen = new cCompoGenClassic(
|
||||||
SeaLevel, BeachHeight, BeachDepth, BlockTop, BlockMiddle, BlockBottom, BlockBeach,
|
SeaLevel, BeachHeight, BeachDepth, BlockTop, BlockMiddle, BlockBottom, BlockBeach,
|
||||||
BlockBeachBottom, BlockSea
|
BlockBeachBottom, BlockSea
|
||||||
|
@ -372,7 +372,7 @@ void cCompoGenBiomal::FillColumnWaterSand(int a_RelX, int a_RelZ, int a_Height,
|
|||||||
FillColumnSand(a_RelX, a_RelZ, a_Height, a_BlockTypes);
|
FillColumnSand(a_RelX, a_RelZ, a_Height, a_BlockTypes);
|
||||||
for (int y = a_Height + 1; y <= m_SeaLevel + 1; y++)
|
for (int y = a_Height + 1; y <= m_SeaLevel + 1; y++)
|
||||||
{
|
{
|
||||||
cChunkDef::SetBlock(a_BlockTypes, a_RelX, y, a_RelZ, E_BLOCK_WATER);
|
cChunkDef::SetBlock(a_BlockTypes, a_RelX, y, a_RelZ, E_BLOCK_STATIONARY_WATER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -404,7 +404,7 @@ void cCompoGenBiomal::FillColumnWaterMix(int a_ChunkX, int a_ChunkZ, int a_RelX,
|
|||||||
}
|
}
|
||||||
for (int y = a_Height + 1; y <= m_SeaLevel + 1; y++)
|
for (int y = a_Height + 1; y <= m_SeaLevel + 1; y++)
|
||||||
{
|
{
|
||||||
cChunkDef::SetBlock(a_BlockTypes, a_RelX, y, a_RelZ, E_BLOCK_WATER);
|
cChunkDef::SetBlock(a_BlockTypes, a_RelX, y, a_RelZ, E_BLOCK_STATIONARY_WATER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user