X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FLights.cpp;h=d3437ee3ba706ccaf56438758f23e7168bf37605;hb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;hp=b8332c34fdab27e95fd5f30e86feb684ec70dffa;hpb=25e3d5e35a7fd7efdffc420efe3c41a91cefe43f;p=lugaru.git diff --git a/Source/Lights.cpp b/Source/Lights.cpp index b8332c3..d3437ee 100644 --- a/Source/Lights.cpp +++ b/Source/Lights.cpp @@ -3,20 +3,18 @@ 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. +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, +Lugaru 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. +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. +along with Lugaru. If not, see . */ /**> HEADER FILES <**/ @@ -25,9 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. void SetUpLight(Light* whichsource, int whichlight) { static float qattenuation[] = {0.0002f}; - static float cattenuation[] = {1.5f}; - static float lattenuation[] = {0.5f}; - static float zattenuation[] = {0.0f}; //Initialize lights if (whichlight == 0) {