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

#include <GLWidget.h>

Inheritance diagram for idGLDrawableWorld:
idGLDrawable idGLDrawableMaterial idGLDrawableModel

Public Member Functions

 idGLDrawableWorld ()
 
 ~idGLDrawableWorld ()
 
void AddTris (srfTriangles_t *tris, const idMaterial *mat)
 
virtual void draw (int x, int y, int w, int h)
 
void InitWorld ()
 
- Public Member Functions inherited from idGLDrawable
 idGLDrawable ()
 
 ~idGLDrawable ()
 
virtual void setMedia (const char *name)
 
virtual void buttonDown (int button, float x, float y)
 
virtual void buttonUp (int button, float x, float y)
 
virtual void mouseMove (float x, float y)
 
virtual int getRealTime ()
 
virtual bool ScreenCoords ()
 
void SetRealTime (int i)
 
virtual void Update ()
 
float getScale ()
 
void setScale (float f)
 

Protected Attributes

idRenderWorldworld
 
idRenderModelworldModel
 
qhandle_t worldModelDef
 
qhandle_t lightDef
 
qhandle_t modelDef
 
- Protected Attributes inherited from idGLDrawable
float scale
 
float xOffset
 
float yOffset
 
float zOffset
 
float pressX
 
float pressY
 
bool handleMove
 
int button
 
int realTime
 

Detailed Description

Definition at line 73 of file GLWidget.h.

Constructor & Destructor Documentation

idGLDrawableWorld::idGLDrawableWorld ( )

Definition at line 907 of file GLWidget.cpp.

idGLDrawableWorld::~idGLDrawableWorld ( )

Definition at line 913 of file GLWidget.cpp.

Member Function Documentation

void idGLDrawableWorld::AddTris ( srfTriangles_t tris,
const idMaterial mat 
)

Definition at line 917 of file GLWidget.cpp.

void idGLDrawableWorld::draw ( int  x,
int  y,
int  w,
int  h 
)
virtual

Reimplemented from idGLDrawable.

Reimplemented in idGLDrawableModel, and idGLDrawableMaterial.

Definition at line 924 of file GLWidget.cpp.

void idGLDrawableWorld::InitWorld ( )

Definition at line 928 of file GLWidget.cpp.

Member Data Documentation

qhandle_t idGLDrawableWorld::lightDef
protected

Definition at line 84 of file GLWidget.h.

qhandle_t idGLDrawableWorld::modelDef
protected

Definition at line 85 of file GLWidget.h.

idRenderWorld* idGLDrawableWorld::world
protected

Definition at line 81 of file GLWidget.h.

idRenderModel* idGLDrawableWorld::worldModel
protected

Definition at line 82 of file GLWidget.h.

qhandle_t idGLDrawableWorld::worldModelDef
protected

Definition at line 83 of file GLWidget.h.


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