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

Go to the source code of this file.

Classes

struct  imageClassificate_t
 
struct  filterName_t
 
struct  sortedImage_t
 

Macros

#define DEFAULT_SIZE   16
 
#define NORMAL_MAP_SIZE   32
 

Typedefs

typedef idList< intintList
 

Enumerations

enum  IMAGE_CLASSIFICATION {
  IC_NPC, IC_WEAPON, IC_MONSTER, IC_MODELGEOMETRY,
  IC_ITEMS, IC_MODELSOTHER, IC_GUIS, IC_WORLDGEOMETRY,
  IC_OTHER, IC_COUNT
}
 

Functions

void CreatePitFogImage (void)
 
void CreatealphaSquareImage (void)
 
void R_FogImage (idImage *image)
 
void R_FogEnterImage (idImage *image)
 
void R_QuadraticImage (idImage *image)
 
void R_ReloadImages_f (const idCmdArgs &args)
 
void R_ListImages_f (const idCmdArgs &args)
 
void R_CombineCubeImages_f (const idCmdArgs &args)
 

Variables

const char * imageFilter []
 
idImageManager imageManager
 
idImageManagerglobalImages = &imageManager
 
const imageClassificate_t IC_Info []
 
const int FOG_SIZE = 128
 

Macro Definition Documentation

#define DEFAULT_SIZE   16

Definition at line 251 of file Image_init.cpp.

#define NORMAL_MAP_SIZE   32

Definition at line 589 of file Image_init.cpp.

Typedef Documentation

typedef idList< int > intList

Definition at line 98 of file Image_init.cpp.

Enumeration Type Documentation

Enumerator
IC_NPC 
IC_WEAPON 
IC_MONSTER 
IC_MODELGEOMETRY 
IC_ITEMS 
IC_MODELSOTHER 
IC_GUIS 
IC_WORLDGEOMETRY 
IC_OTHER 
IC_COUNT 

Definition at line 77 of file Image_init.cpp.

Function Documentation

void CreatealphaSquareImage ( void  )

Definition at line 566 of file Image_init.cpp.

void CreatePitFogImage ( void  )

Definition at line 530 of file Image_init.cpp.

void R_CombineCubeImages_f ( const idCmdArgs args)

Definition at line 1694 of file Image_init.cpp.

void R_FogEnterImage ( idImage image)

Definition at line 836 of file Image_init.cpp.

void R_FogImage ( idImage image)

Definition at line 715 of file Image_init.cpp.

void R_ListImages_f ( const idCmdArgs args)

Definition at line 1118 of file Image_init.cpp.

void R_QuadraticImage ( idImage image)

Definition at line 875 of file Image_init.cpp.

void R_ReloadImages_f ( const idCmdArgs args)

Definition at line 1057 of file Image_init.cpp.

Variable Documentation

const int FOG_SIZE = 128

Definition at line 713 of file Image_init.cpp.

idImageManager* globalImages = &imageManager

Definition at line 74 of file Image_init.cpp.

Initial value:
= {
{ "models/characters", "Characters", IC_NPC, 512, 512 },
{ "models/weapons", "Weapons", IC_WEAPON, 512, 512 },
{ "models/monsters", "Monsters", IC_MONSTER, 512, 512 },
{ "models/mapobjects", "Model Geometry", IC_MODELGEOMETRY, 512, 512 },
{ "models/items", "Items", IC_ITEMS, 512, 512 },
{ "models", "Other model textures", IC_MODELSOTHER, 512, 512 },
{ "guis/assets", "Guis", IC_GUIS, 256, 256 },
{ "textures", "World Geometry", IC_WORLDGEOMETRY, 256, 256 },
{ "", "Other", IC_OTHER, 256, 256 }
}

Definition at line 100 of file Image_init.cpp.

const char* imageFilter[]
Initial value:
= {
"GL_LINEAR_MIPMAP_NEAREST",
"GL_LINEAR_MIPMAP_LINEAR",
"GL_NEAREST",
"GL_LINEAR",
"GL_NEAREST_MIPMAP_NEAREST",
"GL_NEAREST_MIPMAP_LINEAR",
}
#define NULL
Definition: Lib.h:88

Definition at line 34 of file Image_init.cpp.

idImageManager imageManager

Definition at line 73 of file Image_init.cpp.