summaryrefslogtreecommitdiffstats
path: root/source/MobSpawner.h
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2013-10-21 17:41:48 +0200
committerSamuel Barney <samjbarney@gmail.com>2013-10-21 17:41:48 +0200
commitd73a0cd8b020b0a589e496bed56e6740314d9101 (patch)
tree14b8959ac50a29f38d431c990224b0e784cf7920 /source/MobSpawner.h
parentFixed GetHTMLEscapedString() binding, removed obsolete memory function from API. (diff)
downloadcuberite-d73a0cd8b020b0a589e496bed56e6740314d9101.tar
cuberite-d73a0cd8b020b0a589e496bed56e6740314d9101.tar.gz
cuberite-d73a0cd8b020b0a589e496bed56e6740314d9101.tar.bz2
cuberite-d73a0cd8b020b0a589e496bed56e6740314d9101.tar.lz
cuberite-d73a0cd8b020b0a589e496bed56e6740314d9101.tar.xz
cuberite-d73a0cd8b020b0a589e496bed56e6740314d9101.tar.zst
cuberite-d73a0cd8b020b0a589e496bed56e6740314d9101.zip
Diffstat (limited to '')
-rw-r--r--source/MobSpawner.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/MobSpawner.h b/source/MobSpawner.h
index ba2a18f2e..e5b7e9b6b 100644
--- a/source/MobSpawner.h
+++ b/source/MobSpawner.h
@@ -38,7 +38,7 @@ public :
// if this is the first of a Pack : determine the type of monster
// BlockType & BlockMeta are used to decide what kind of Mob can Spawn here
// MaxPackSize is set to the maximal size for a pack this type of mob
- cMonster * TryToSpawnHere(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, BLOCKTYPE a_BlockType_below, NIBBLETYPE a_BlockMeta_below, BLOCKTYPE a_BlockType_above, NIBBLETYPE a_BlockMeta_above, EMCSBiome a_Biome, int a_Level, int& a_MaxPackSize);
+ cMonster * TryToSpawnHere(BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, BLOCKTYPE a_BlockType_below, NIBBLETYPE a_BlockMeta_below, BLOCKTYPE a_BlockType_above, NIBBLETYPE a_BlockMeta_above, NIBBLETYPE a_Skylight, NIBBLETYPE a_Blocklight, EMCSBiome a_Biome, int a_Level, int& a_MaxPackSize);
// mark the beginning of a new Pack
// all mobs of the same Pack are the same type
@@ -52,7 +52,7 @@ public :
protected :
// return true if specified type of mob can spawn on specified block
- bool CanSpawnHere(cMonster::eType a_MobType, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, BLOCKTYPE a_BlockType_below, NIBBLETYPE a_BlockMeta_below, BLOCKTYPE a_BlockType_above, NIBBLETYPE a_BlockMeta_above, EMCSBiome a_Biome, int a_Level);
+ bool CanSpawnHere(cMonster::eType a_MobType, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, BLOCKTYPE a_BlockType_below, NIBBLETYPE a_BlockMeta_below, BLOCKTYPE a_BlockType_above, NIBBLETYPE a_BlockMeta_above, NIBBLETYPE a_Skylight, NIBBLETYPE a_Blocklight, EMCSBiome a_Biome, int a_Level);
// return a random type that can spawn on specified biome.
// returns E_ENTITY_TYPE_DONOTUSE if none is possible