aboutsummaryrefslogtreecommitdiff
path: root/src/farmesh.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-06-18 13:43:49 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-06-18 13:43:49 +0300
commitc78d61061863559cc3daf6b838a0f936ce53acf9 (patch)
tree41cbceaf5a8838e1a32c3336d2abc2782fe62a02 /src/farmesh.h
parent7d0395ba36a09be95b4ad6e0216e4d74986d80a0 (diff)
downloadminetest-c78d61061863559cc3daf6b838a0f936ce53acf9.tar.gz
minetest-c78d61061863559cc3daf6b838a0f936ce53acf9.tar.bz2
minetest-c78d61061863559cc3daf6b838a0f936ce53acf9.zip
farmesh render range is now dynamic
Diffstat (limited to 'src/farmesh.h')
-rw-r--r--src/farmesh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/farmesh.h b/src/farmesh.h
index aea806542..0a30a8aef 100644
--- a/src/farmesh.h
+++ b/src/farmesh.h
@@ -67,7 +67,7 @@ public:
void step(float dtime);
- void update(v2f camera_p, float brightness);
+ void update(v2f camera_p, float brightness, s16 render_range);
private:
video::SMaterial m_materials[FARMESH_MATERIAL_COUNT];
@@ -78,6 +78,7 @@ private:
v2f m_camera_pos;
float m_time;
Client *m_client;
+ s16 m_render_range;
};
#endif