UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
r_misc.h
Go to the documentation of this file.
1 
5 /*
6 Copyright (C) 1997-2001 Id Software, Inc.
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 R_Transform(const vec3_t transform, const vec3_t rotate, const vec3_t scale);
28 void R_PopMatrix(void);
29 void R_PushMatrix(void);
30 void R_InitMiscTexture(void);
31 void R_ScreenShot_f(void);
32 void R_ScreenShot(int x, int y, int width, int height, const char* filename, const char* ext);
33 void R_DumpOpenGlState(void);
34 void R_ReinitOpenglContext(void);
static const vec3_t scale
void R_ReinitOpenglContext(void)
Re-initializes OpenGL state machine, all textures and renderer variables, this needed when applicatio...
Definition: r_misc.cpp:349
const char * filename
Definition: ioapi.h:41
void R_InitMiscTexture(void)
Definition: r_misc.cpp:46
void R_PopMatrix(void)
Removes the current matrix from the stack.
Definition: r_misc.cpp:248
void R_DumpOpenGlState(void)
Dumps OpenGL state for debugging - typically every capability set with glEnable().
Definition: r_misc.cpp:256
void R_Transform(const vec3_t transform, const vec3_t rotate, const vec3_t scale)
Perform translate, rotate and scale operations on the current matrix.
Definition: r_misc.cpp:220
vec_t vec3_t[3]
Definition: ufotypes.h:39
void R_PushMatrix(void)
Push a new matrix to the stack.
Definition: r_misc.cpp:240
void R_ScreenShot(int x, int y, int width, int height, const char *filename, const char *ext)
Definition: r_misc.cpp:101
void R_ScreenShot_f(void)
Definition: r_misc.cpp:203