--- deliantra/server/utils/cfhq2xa.C 2007/04/01 00:36:35 1.1 +++ deliantra/server/utils/cfhq2xa.C 2007/11/08 19:43:30 1.5 @@ -1,22 +1,26 @@ -//hq2xa filter -//---------------------------------------------------------- -//Copyright (C) 2003 MaxSt ( maxst@hiend3d.com ) -//Copyright (C) 2006 Marc Lehmann -// converted to RGBA, cleaned up - -//This program is free software; you can redistribute it and/or -//modify it under the terms of the GNU Lesser General Public -//License as published by the Free Software Foundation; either -//version 2.1 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 -//Lesser General Public License for more details. -// -//You should have received a copy of the GNU Lesser 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 +/* + * This file is part of Deliantra, the Roguelike Realtime MMORPG. + * + * Copyright (©) 2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2003,2007 MaxSt + * + * Deliantra 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 3 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, see . + * + * The authors can be reached via e-mail to + */ + +// note: the original code was released under the LGPL version 2.1 #include #include @@ -190,16 +194,13 @@ int prevline, nextline; pixel w[10]; - // +----+----+----+ - // | | | | - // | w1 | w2 | w3 | - // +----+----+----+ - // | | | | - // | w4 | w5 | w6 | - // +----+----+----+ - // | | | | - // | w7 | w8 | w9 | - // +----+----+----+ + // +--+--+--+ + // |w1|w2|w3| + // +--+--+--+ + // |w4|w5|w6| + // +--+--+--+ + // |w7|w8|w9| + // +--+--+--+ for (j = 0; j < Yres; j++) {