aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock_mesh.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-23 20:01:06 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-07-23 20:01:06 +0300
commit501034a792d08263bcab22fe0b50271192b2fe0f (patch)
tree6714af14d7aa6c7042e93d6063ad6fbd39cd3a32 /src/mapblock_mesh.h
parent96fedb5cb0916305de0ea045bbe41df490d8de26 (diff)
parentd67cef0eb76c4c35cebb4c8f35d62f90c573b198 (diff)
downloadminetest-501034a792d08263bcab22fe0b50271192b2fe0f.tar.gz
minetest-501034a792d08263bcab22fe0b50271192b2fe0f.tar.bz2
minetest-501034a792d08263bcab22fe0b50271192b2fe0f.zip
merged jungle and bluish shadows
Diffstat (limited to 'src/mapblock_mesh.h')
-rw-r--r--src/mapblock_mesh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mapblock_mesh.h b/src/mapblock_mesh.h
index 591172bc9..d43c19a25 100644
--- a/src/mapblock_mesh.h
+++ b/src/mapblock_mesh.h
@@ -121,6 +121,9 @@ private:
core::array<PreMeshBuffer> m_prebuffers;
};
+// Helper functions
+video::SColor MapBlock_LightColor(u8 alpha, u8 light);
+
class MapBlock;
struct MeshMakeData
@@ -137,6 +140,7 @@ struct MeshMakeData
void fill(u32 daynight_ratio, MapBlock *block);
};
+// This is the highest-level function in here
scene::SMesh* makeMapBlockMesh(MeshMakeData *data);
#endif