UFO: Alien Invasion
Loading...
Searching...
No Matches
r_misc.h
Go to the documentation of this file.
1
4
5/*
6Copyright (C) 1997-2001 Id Software, Inc.
7
8This program is free software; you can redistribute it and/or
9modify it under the terms of the GNU General Public License
10as published by the Free Software Foundation; either version 2
11of the License, or (at your option) any later version.
12
13This program is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
17See the GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
23*/
24
25#pragma once
26
27void R_Transform(const vec3_t transform, const vec3_t rotate, const vec3_t scale);
28void R_PopMatrix(void);
29void R_PushMatrix(void);
30void R_InitMiscTexture(void);
31void R_ScreenShot_f(void);
32void R_ScreenShot(int x, int y, int width, int height, const char* filename, const char* ext);
33void R_DumpOpenGlState(void);
34void R_ReinitOpenglContext(void);
const char * filename
Definition ioapi.h:41
void R_InitMiscTexture(void)
Definition r_misc.cpp:46
void R_ScreenShot_f(void)
Definition r_misc.cpp:203
void R_ScreenShot(int x, int y, int width, int height, const char *filename, const char *ext)
Definition r_misc.cpp:101
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
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_ReinitOpenglContext(void)
Re-initializes OpenGL state machine, all textures and renderer variables, this needed when applicatio...
Definition r_misc.cpp:349
void R_PushMatrix(void)
Push a new matrix to the stack.
Definition r_misc.cpp:240
vec_t vec3_t[3]
Definition ufotypes.h:39
static const vec3_t scale