00001 00005 /* 00006 Copyright (C) 2002-2010 UFO: Alien Invasion. 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License 00010 as published by the Free Software Foundation; either version 2 00011 of the License, or (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 00017 See the GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program; if not, write to the Free Software 00021 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00022 00023 */ 00024 00025 #ifndef CLIENT_CL_VIEW_H 00026 #define CLIENT_CL_VIEW_H 00027 00028 void CL_ViewRender(void); 00029 void CL_ViewUpdateRenderData(void); 00030 void CL_ViewCenterAtGridPosition(const pos3_t pos); 00031 void CL_ViewCalcFieldOfViewX(void); 00032 void CL_ViewLoadMedia(void); 00033 void CL_ViewInit(void); 00034 void CL_ViewPrecacheModels(void); 00035 00036 extern cvar_t *cl_isometric; 00037 00038 /* Map debugging constants */ 00064 #define MAPDEBUG_TEXT (1<<1) /* Creates arrows pointing at floors and ceilings at mouse cursor */ 00065 #define MAPDEBUG_PATHING (1<<0) /* Turns on pathing tracing. */ 00066 #define MAPDEBUG_CELLS (1<<2) /* Creates arrows pointing at floors and ceilings at mouse cursor */ 00067 #define MAPDEBUG_WALLS (1<<3) /* Creates arrows pointing at obstructions in the 8 primary directions */ 00068 00069 extern cvar_t* cl_map_debug; 00070 00071 #endif