X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FTerrain.h;h=4a3746dc7bbf63f818b1456c65b5ed1addd1c9fc;hb=1aef858f5ecb3dc8fd816e0155635371ed3632f2;hp=507ff640701bd0a4ca598ebbdc4242d27383df88;hpb=0cca0c495c7dc29d134a10d7eed5de1f377c99bf;p=lugaru.git diff --git a/Source/Terrain.h b/Source/Terrain.h index 507ff64..4a3746d 100644 --- a/Source/Terrain.h +++ b/Source/Terrain.h @@ -1,7 +1,28 @@ +/* +Copyright (C) 2003, 2010 - Wolfire Games + +This file is part of Lugaru. + +Lugaru is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + #ifndef _TERRAIN_H_ #define _TERRAIN_H_ -#include "gl.h" +#include "gamegl.h" #include "Frustum.h" #include "Lights.h" #include "TGALoader.h" @@ -96,7 +117,7 @@ public: void UpdateTransparency(int whichx, int whichy); void UpdateTransparencyother(int whichx, int whichy); void UpdateTransparencyotherother(int whichx, int whichy); - bool load(char *fileName); + bool load(const char *fileName); void CalculateNormals(); void drawdecals(); void draw(int layer); @@ -110,4 +131,4 @@ public: ~Terrain(); }; -#endif \ No newline at end of file +#endif