mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Remove a few unused functions reported by callcatcher (#11658)
This commit is contained in:
parent
6de8d77e17
commit
ecc6f4ba25
24 changed files with 6 additions and 799 deletions
|
@ -360,19 +360,6 @@ int MapgenV6::getSpawnLevelAtPoint(v2s16 p)
|
|||
|
||||
//////////////////////// Noise functions
|
||||
|
||||
float MapgenV6::getMudAmount(v2s16 p)
|
||||
{
|
||||
int index = (p.Y - node_min.Z) * ystride + (p.X - node_min.X);
|
||||
return getMudAmount(index);
|
||||
}
|
||||
|
||||
|
||||
bool MapgenV6::getHaveBeach(v2s16 p)
|
||||
{
|
||||
int index = (p.Y - node_min.Z) * ystride + (p.X - node_min.X);
|
||||
return getHaveBeach(index);
|
||||
}
|
||||
|
||||
|
||||
BiomeV6Type MapgenV6::getBiome(v2s16 p)
|
||||
{
|
||||
|
|
|
@ -154,9 +154,7 @@ public:
|
|||
float getHumidity(v2s16 p);
|
||||
float getTreeAmount(v2s16 p);
|
||||
bool getHaveAppleTree(v2s16 p);
|
||||
float getMudAmount(v2s16 p);
|
||||
virtual float getMudAmount(int index);
|
||||
bool getHaveBeach(v2s16 p);
|
||||
float getMudAmount(int index);
|
||||
bool getHaveBeach(int index);
|
||||
BiomeV6Type getBiome(v2s16 p);
|
||||
BiomeV6Type getBiome(int index, v2s16 p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue