X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FTerrain.h;h=4a3746dc7bbf63f818b1456c65b5ed1addd1c9fc;hb=85f9eeb8f438d6d542c0c7b7446b31585cc9c23d;hp=6b677d373847b7d7104f0592ccf4f064b32d3081;hpb=36cc3af3e5074215817ddee16defde754e2ad67f;p=lugaru.git diff --git a/Source/Terrain.h b/Source/Terrain.h index 6b677d3..4a3746d 100644 --- a/Source/Terrain.h +++ b/Source/Terrain.h @@ -1,3 +1,24 @@ +/* +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_ @@ -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);