1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

organizing stuff.

This commit is contained in:
Perttu Ahola
2010-12-21 18:08:24 +02:00
parent 3b0bff2f74
commit 3f5bad938a
23 changed files with 805 additions and 374 deletions

View File

@@ -274,7 +274,8 @@ public:
// Returns InvalidPositionException if not found
MapBlock * getBlockNoCreate(v3s16 p);
//virtual MapBlock * getBlock(v3s16 p, bool generate=true);
// Returns NULL if not found
MapBlock * getBlockNoCreateNoEx(v3s16 p);
// Returns InvalidPositionException if not found
f32 getGroundHeight(v2s16 p, bool generate=false);
@@ -386,7 +387,7 @@ public:
#endif
/*
Takes the blocks at the leading edges into account
Takes the blocks at the edges into account
*/
bool dayNightDiffed(v3s16 blockpos);