UFO: Alien Invasion
Toggle main menu visibility
Loading...
Searching...
No Matches
images.h
Go to the documentation of this file.
1
5
6
/*
7
Copyright (C) 2002-2009 Quake2World.
8
Copyright (C) 2002-2025 UFO: Alien Invasion.
9
10
This program is free software; you can redistribute it and/or
11
modify it under the terms of the GNU General Public License
12
as published by the Free Software Foundation; either version 2
13
of the License, or (at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
19
See the GNU General Public License for more details.
20
21
You should have received a copy of the GNU General Public License
22
along with this program; if not, write to the Free Software
23
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
*/
25
26
#pragma once
27
28
#include "
ufotypes.h
"
29
#include "
../common/filesys.h
"
30
#include <SDL_video.h>
31
32
char
const
*
const
*
Img_GetImageTypes
(
void
);
33
SDL_Surface*
Img_LoadImage
(
char
const
*
name
);
34
void
R_WriteCompressedTGA
(
qFILE
*
f
,
const
byte
* buffer,
int
width,
int
height);
35
void
R_WritePNG
(
qFILE
*
f
,
byte
* buffer,
int
width,
int
height);
36
void
R_WriteJPG
(
qFILE
*
f
,
byte
* buffer,
int
width,
int
height,
int
quality);
filesys.h
Filesystem header file.
Img_GetImageTypes
char const *const * Img_GetImageTypes(void)
Definition
images.cpp:56
R_WriteJPG
void R_WriteJPG(qFILE *f, byte *buffer, int width, int height, int quality)
Definition
images.cpp:234
R_WriteCompressedTGA
void R_WriteCompressedTGA(qFILE *f, const byte *buffer, int width, int height)
Definition
images.cpp:111
Img_LoadImage
SDL_Surface * Img_LoadImage(char const *name)
Loads the specified image from the game filesystem into an SDL_Surface.
Definition
images.cpp:488
R_WritePNG
void R_WritePNG(qFILE *f, byte *buffer, int width, int height)
Definition
images.cpp:66
f
QGL_EXTERN GLfloat f
Definition
r_gl.h:114
name
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition
r_gl.h:110
qFILE
Definition
filesys.h:54
ufotypes.h
Cross-platform type definitions.
src
shared
images.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.17.0