doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
idGuiModel Class Reference

#include <GuiModel.h>

Public Member Functions

 idGuiModel ()
 
void Clear ()
 
void WriteToDemo (idDemoFile *demo)
 
void ReadFromDemo (idDemoFile *demo)
 
void EmitToCurrentView (float modelMatrix[16], bool depthHack)
 
void EmitFullScreen ()
 
void SetColor (float r, float g, float b, float a)
 
void DrawStretchPic (const idDrawVert *verts, const glIndex_t *indexes, int vertCount, int indexCount, const idMaterial *hShader, bool clip=true, float min_x=0.0f, float min_y=0.0f, float max_x=640.0f, float max_y=480.0f)
 
void DrawStretchPic (float x, float y, float w, float h, float s1, float t1, float s2, float t2, const idMaterial *hShader)
 
void DrawStretchTri (idVec2 p1, idVec2 p2, idVec2 p3, idVec2 t1, idVec2 t2, idVec2 t3, const idMaterial *material)
 

Private Member Functions

void AdvanceSurf ()
 
void EmitSurface (guiModelSurface_t *surf, float modelMatrix[16], float modelViewMatrix[16], bool depthHack)
 

Private Attributes

guiModelSurface_tsurf
 
idList< guiModelSurface_tsurfaces
 
idList< glIndex_tindexes
 
idList< idDrawVertverts
 

Detailed Description

Definition at line 39 of file GuiModel.h.

Constructor & Destructor Documentation

idGuiModel::idGuiModel ( )

Definition at line 40 of file GuiModel.cpp.

Member Function Documentation

void idGuiModel::AdvanceSurf ( )
private

Definition at line 304 of file GuiModel.cpp.

void idGuiModel::Clear ( void  )

Definition at line 52 of file GuiModel.cpp.

void idGuiModel::DrawStretchPic ( const idDrawVert verts,
const glIndex_t indexes,
int  vertCount,
int  indexCount,
const idMaterial hShader,
bool  clip = true,
float  min_x = 0.0f,
float  min_y = 0.0f,
float  max_x = 640.0f,
float  max_y = 480.0f 
)

Definition at line 359 of file GuiModel.cpp.

void idGuiModel::DrawStretchPic ( float  x,
float  y,
float  w,
float  h,
float  s1,
float  t1,
float  s2,
float  t2,
const idMaterial hShader 
)

Definition at line 459 of file GuiModel.cpp.

void idGuiModel::DrawStretchTri ( idVec2  p1,
idVec2  p2,
idVec2  p3,
idVec2  t1,
idVec2  t2,
idVec2  t3,
const idMaterial material 
)

Definition at line 568 of file GuiModel.cpp.

void idGuiModel::EmitFullScreen ( void  )

Definition at line 226 of file GuiModel.cpp.

void idGuiModel::EmitSurface ( guiModelSurface_t surf,
float  modelMatrix[16],
float  modelViewMatrix[16],
bool  depthHack 
)
private

Definition at line 161 of file GuiModel.cpp.

void idGuiModel::EmitToCurrentView ( float  modelMatrix[16],
bool  depthHack 
)

Definition at line 208 of file GuiModel.cpp.

void idGuiModel::ReadFromDemo ( idDemoFile demo)

Definition at line 111 of file GuiModel.cpp.

void idGuiModel::SetColor ( float  r,
float  g,
float  b,
float  a 
)

Definition at line 334 of file GuiModel.cpp.

void idGuiModel::WriteToDemo ( idDemoFile demo)

Definition at line 64 of file GuiModel.cpp.

Member Data Documentation

idList<glIndex_t> idGuiModel::indexes
private

Definition at line 67 of file GuiModel.h.

guiModelSurface_t* idGuiModel::surf
private

Definition at line 64 of file GuiModel.h.

idList<guiModelSurface_t> idGuiModel::surfaces
private

Definition at line 66 of file GuiModel.h.

idList<idDrawVert> idGuiModel::verts
private

Definition at line 68 of file GuiModel.h.


The documentation for this class was generated from the following files: