X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSkybox.cpp;h=811029ae92b9757704b579ec04128e0798f637a3;hb=1aef858f5ecb3dc8fd816e0155635371ed3632f2;hp=8920263558e643265e0d104e7b09d4b0a5d83c7e;hpb=85c66654b25752485c9a4b4c534263df78e0ff78;p=lugaru.git diff --git a/Source/Skybox.cpp b/Source/Skybox.cpp index 8920263..811029a 100644 --- a/Source/Skybox.cpp +++ b/Source/Skybox.cpp @@ -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. +*/ + #include "Skybox.h" #include "Game.h" @@ -13,7 +34,7 @@ extern float skyboxg; extern float skyboxb; extern int tutoriallevel; -bool SkyBox::load( char *ffront,char *fleft,char *fback,char *fright,char *fup,char *fdown,char *fcloud,char *freflect) +bool SkyBox::load( const char *ffront,const char *fleft,const char *fback,const char *fright,const char *fup,const char *fdown,const char *fcloud,const char *freflect) { /* static GLuint type; unsigned char fileNamep[256];