UFO: Alien Invasion
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_view.h
Go to the documentation of this file.
1
4
5
/*
6
Copyright (C) 2002-2025 UFO: Alien Invasion.
7
8
This program is free software; you can redistribute it and/or
9
modify it under the terms of the GNU General Public License
10
as published by the Free Software Foundation; either version 2
11
of the License, or (at your option) any later version.
12
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
17
See the GNU General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
23
*/
24
25
#pragma once
26
27
void
CL_ViewRender
(
void
);
28
void
CL_ViewUpdateRenderData
(
void
);
29
void
CL_ViewCenterAtGridPosition
(
const
pos3_t
pos);
30
void
CL_ViewCalcFieldOfViewX
(
void
);
31
void
CL_ViewLoadMedia
(
void
);
32
void
CL_ViewInit
(
void
);
33
void
CL_ViewPrecacheModels
(
void
);
34
35
extern
cvar_t
*
cl_isometric
;
36
37
/* Map debugging constants */
63
#define MAPDEBUG_TEXT (1<<1)
/* Creates arrows pointing at floors and ceilings at mouse cursor */
64
#define MAPDEBUG_PATHING (1<<0)
/* Turns on pathing tracing. */
65
#define MAPDEBUG_CELLS (1<<2)
/* Creates arrows pointing at floors and ceilings at mouse cursor */
66
#define MAPDEBUG_WALLS (1<<3)
/* Creates arrows pointing at obstructions in the 8 primary directions */
67
68
extern
cvar_t
*
cl_map_debug
;
cl_map_debug
cvar_t * cl_map_debug
Definition
cl_view.cpp:41
CL_ViewLoadMedia
void CL_ViewLoadMedia(void)
Call before entering a new level, or after vid_restart.
Definition
cl_view.cpp:48
CL_ViewCenterAtGridPosition
void CL_ViewCenterAtGridPosition(const pos3_t pos)
Centers the camera on a given grid field.
Definition
cl_view.cpp:289
CL_ViewUpdateRenderData
void CL_ViewUpdateRenderData(void)
Updates the refdef.
Definition
cl_view.cpp:210
CL_ViewCalcFieldOfViewX
void CL_ViewCalcFieldOfViewX(void)
Calculates refdef's FOV_X. Should generally be called after any changes are made to the zoom level (v...
Definition
cl_view.cpp:189
CL_ViewRender
void CL_ViewRender(void)
Definition
cl_view.cpp:225
CL_ViewPrecacheModels
void CL_ViewPrecacheModels(void)
Precaches all models at game startup - for faster access.
Definition
cl_view.cpp:152
CL_ViewInit
void CL_ViewInit(void)
Definition
cl_view.cpp:298
cl_isometric
cvar_t * cl_isometric
Definition
cl_input.cpp:73
cvar_t
This is a cvar definition. Cvars can be user modified and used in our menus e.g.
Definition
cvar.h:71
pos3_t
pos_t pos3_t[3]
Definition
ufotypes.h:58
src
client
battlescape
cl_view.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.17.0