]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Environment/Terrain.hpp
Fixed warnings, removed unused attributes, broken audio output setting, and so on
[lugaru.git] / Source / Environment / Terrain.hpp
index 444a47bf2212ff81df2bdacfcae399a197db447e..f6525c4b0d286777f6d00ab1c5bd4a77b3cf340c 100644 (file)
@@ -68,7 +68,7 @@ public:
     short size;
 
     int patchobjectnum[subdivision][subdivision];
-    int patchobjects[subdivision][subdivision][300];
+    unsigned int patchobjects[subdivision][subdivision][300];
 
     float scale;
     int type;
@@ -124,7 +124,7 @@ public:
 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 drawpatchotherother(int whichx, int whichy);
     void UpdateTransparency(int whichx, int whichy);
     void UpdateTransparencyother(int whichx, int whichy);
     void UpdateTransparencyotherother(int whichx, int whichy);