doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Functions
Image_files.cpp File Reference
#include "../idlib/precompiled.h"
#include "tr_local.h"
#include "jpeg-6/jpeglib.h"

Go to the source code of this file.

Classes

struct  pcx_t
 
struct  _TargaHeader
 
struct  BMPHeader_t
 

Typedefs

typedef struct _TargaHeader TargaHeader
 

Functions

void jpg_Error (const char *fmt,...)
 
void jpg_Printf (const char *fmt,...)
 
void R_WriteTGA (const char *filename, const byte *data, int width, int height, bool flipVertical)
 
void R_WritePalTGA (const char *filename, const byte *data, const byte *palette, int width, int height, bool flipVertical)
 
void R_LoadImage (const char *cname, byte **pic, int *width, int *height, ID_TIME_T *timestamp, bool makePowerOf2)
 
bool R_LoadCubeImages (const char *imgName, cubeFiles_t extensions, byte *pics[6], int *outSize, ID_TIME_T *timestamp)
 

Typedef Documentation

typedef struct _TargaHeader TargaHeader

Function Documentation

void jpg_Error ( const char *  fmt,
  ... 
)

Definition at line 55 of file Image_files.cpp.

void jpg_Printf ( const char *  fmt,
  ... 
)

Definition at line 66 of file Image_files.cpp.

bool R_LoadCubeImages ( const char *  imgName,
cubeFiles_t  extensions,
byte pics[6],
int outSize,
ID_TIME_T *  timestamp 
)

Definition at line 1087 of file Image_files.cpp.

void R_LoadImage ( const char *  cname,
byte **  pic,
int width,
int height,
ID_TIME_T *  timestamp,
bool  makePowerOf2 
)

Definition at line 998 of file Image_files.cpp.

void R_WritePalTGA ( const char *  filename,
const byte data,
const byte palette,
int  width,
int  height,
bool  flipVertical 
)

Definition at line 122 of file Image_files.cpp.

void R_WriteTGA ( const char *  filename,
const byte data,
int  width,
int  height,
bool  flipVertical 
)

Definition at line 85 of file Image_files.cpp.