2004-08-23 00:15:46 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 1996-1997 Id Software, Inc.
|
|
|
|
|
|
|
|
This program 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.
|
|
|
|
|
|
|
|
*/
|
|
|
|
// view.h
|
|
|
|
|
|
|
|
extern cvar_t v_gamma;
|
|
|
|
extern cvar_t lcd_x;
|
2010-03-25 22:56:11 +00:00
|
|
|
extern float sw_blend[4];
|
|
|
|
extern float hw_blend[4];
|
2004-08-23 00:15:46 +00:00
|
|
|
|
|
|
|
extern int gl_ztrickdisabled;
|
|
|
|
extern qboolean r_secondaryview;
|
|
|
|
|
|
|
|
void V_Init (void);
|
|
|
|
void V_RenderView (void);
|
|
|
|
float V_CalcRoll (vec3_t angles, vec3_t velocity);
|
2008-06-12 23:19:47 +00:00
|
|
|
void GLV_UpdatePalette (qboolean force, double ftime);
|
|
|
|
void SWV_UpdatePalette (qboolean force, double ftime);
|
|
|
|
void V_ClearCShifts (void);
|
2004-08-23 00:15:46 +00:00
|
|
|
qboolean V_CheckGamma (void);
|
|
|
|
void V_AddEntity(entity_t *in);
|
2008-12-23 02:55:20 +00:00
|
|
|
void VQ2_AddLerpEntity(entity_t *in);
|
2005-10-07 02:06:07 +00:00
|
|
|
void V_AddAxisEntity(entity_t *in);
|
2009-11-04 21:16:50 +00:00
|
|
|
int V_AddLight (int entsource, vec3_t org, float quant, float r, float g, float b);
|