diff options
Diffstat (limited to 'src/cgame/cg_main.c')
-rw-r--r-- | src/cgame/cg_main.c | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 81470e0e..33febb02 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -1,19 +1,28 @@ -// Copyright (C) 1999-2000 Id Software, Inc. -// +/* +=========================================================================== +Copyright (C) 1999-2005 Id Software, Inc. +Copyright (C) 2000-2006 Tim Angus + +This file is part of Tremulous. + +Tremulous 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. + +Tremulous 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 Tremulous; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +=========================================================================== +*/ + // cg_main.c -- initialization and primary entry point for cgame -/* - * Portions Copyright (C) 2000-2001 Tim Angus - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the OSML - Open Source Modification License v1.0 as - * described in the file COPYING which is distributed with this source - * code. - * - * 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. - */ #include "cg_local.h" @@ -842,7 +851,7 @@ static void CG_RegisterGraphics( void ) CG_UpdateMediaFraction( 0.8f ); // register all the server specified shaders - for( i = 1; i < MAX_SHADERS; i++ ) + for( i = 1; i < MAX_GAME_SHADERS; i++ ) { const char *shaderName; |