|
UFO: Alien Invasion
|
Image loading and saving functions. More...


Go to the source code of this file.
Functions | |
| char const *const * | Img_GetImageTypes (void) |
| SDL_Surface * | Img_LoadImage (char const *name) |
| Loads the specified image from the game filesystem into an SDL_Surface. | |
| void | R_WriteCompressedTGA (qFILE *f, const byte *buffer, int width, int height) |
| void | R_WritePNG (qFILE *f, byte *buffer, int width, int height) |
| void | R_WriteJPG (qFILE *f, byte *buffer, int width, int height, int quality) |
Image loading and saving functions.
Definition in file images.h.
| char const *const * Img_GetImageTypes | ( | void | ) |
| SDL_Surface * Img_LoadImage | ( | char const * | name | ) |
Loads the specified image from the game filesystem into an SDL_Surface.
Image formats are tried in the order they appear in TYPES.
SDL_Surface after you are done with it. Definition at line 488 of file images.cpp.
References Img_LoadJPG(), Img_LoadPNG(), and name.
Referenced by CalcTextureReflectivity(), R_FindImage(), R_LoadImage(), R_ReloadImageData(), and TEST_F().
Definition at line 111 of file images.cpp.
References f, FS_Write(), index, OBJZERO, TGA_CHANNELS, and TGA_UNMAP_COMP.
Referenced by R_ScreenShot().
Definition at line 234 of file images.cpp.
References f.
Referenced by R_ScreenShot().
Definition at line 66 of file images.cpp.
Referenced by R_ScreenShot().