X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FEnvironment%2FTerrain.hpp;h=444a47bf2212ff81df2bdacfcae399a197db447e;hb=e66f03512f2e3471462c3927f47e464711eb7ae8;hp=097cdbd375f2bfa28a13edf44be6abfb6672dd96;hpb=a3775aa01cd00672b37785365675f6842b9db2dc;p=lugaru.git diff --git a/Source/Environment/Terrain.hpp b/Source/Environment/Terrain.hpp index 097cdbd..444a47b 100644 --- a/Source/Environment/Terrain.hpp +++ b/Source/Environment/Terrain.hpp @@ -113,19 +113,21 @@ public: XYZ getLighting(float pointx, float pointz); XYZ getNormal(float pointx, float pointz); void UpdateVertexArray(int whichx, int whichy); - void UpdateTransparency(int whichx, int whichy); - void UpdateTransparencyother(int whichx, int whichy); - void UpdateTransparencyotherother(int whichx, int whichy); bool load(const std::string& fileName); void CalculateNormals(); void drawdecals(); void draw(int layer); - void drawpatch(int whichx, int whichy, float opacity); - void drawpatchother(int whichx, int whichy, float opacity); - void drawpatchotherother(int whichx, int whichy, float opacity); void DoShadows(); Terrain(); + +private: + void drawpatch(int whichx, int whichy, float opacity); + void drawpatchother(int whichx, int whichy, float opacity); + void drawpatchotherother(int whichx, int whichy, float opacity); + void UpdateTransparency(int whichx, int whichy); + void UpdateTransparencyother(int whichx, int whichy); + void UpdateTransparencyotherother(int whichx, int whichy); }; #endif