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

#include <RenderWorld.h>

Inheritance diagram for idRenderWorld:
idRenderWorldLocal

Public Member Functions

virtual ~idRenderWorld ()
 
virtual bool InitFromMap (const char *mapName)=0
 
virtual qhandle_t AddEntityDef (const renderEntity_t *re)=0
 
virtual void UpdateEntityDef (qhandle_t entityHandle, const renderEntity_t *re)=0
 
virtual void FreeEntityDef (qhandle_t entityHandle)=0
 
virtual const renderEntity_tGetRenderEntity (qhandle_t entityHandle) const =0
 
virtual qhandle_t AddLightDef (const renderLight_t *rlight)=0
 
virtual void UpdateLightDef (qhandle_t lightHandle, const renderLight_t *rlight)=0
 
virtual void FreeLightDef (qhandle_t lightHandle)=0
 
virtual const renderLight_tGetRenderLight (qhandle_t lightHandle) const =0
 
virtual void GenerateAllInteractions ()=0
 
virtual bool CheckAreaForPortalSky (int areaNum)=0
 
virtual void ProjectDecalOntoWorld (const idFixedWinding &winding, const idVec3 &projectionOrigin, const bool parallel, const float fadeDepth, const idMaterial *material, const int startTime)=0
 
virtual void ProjectDecal (qhandle_t entityHandle, const idFixedWinding &winding, const idVec3 &projectionOrigin, const bool parallel, const float fadeDepth, const idMaterial *material, const int startTime)=0
 
virtual void ProjectOverlay (qhandle_t entityHandle, const idPlane localTextureAxis[2], const idMaterial *material)=0
 
virtual void RemoveDecals (qhandle_t entityHandle)=0
 
virtual void SetRenderView (const renderView_t *renderView)=0
 
virtual void RenderScene (const renderView_t *renderView)=0
 
virtual int NumPortals (void) const =0
 
virtual qhandle_t FindPortal (const idBounds &b) const =0
 
virtual void SetPortalState (qhandle_t portal, int blockingBits)=0
 
virtual int GetPortalState (qhandle_t portal)=0
 
virtual bool AreasAreConnected (int areaNum1, int areaNum2, portalConnection_t connection)=0
 
virtual int NumAreas (void) const =0
 
virtual int PointInArea (const idVec3 &point) const =0
 
virtual int BoundsInAreas (const idBounds &bounds, int *areas, int maxAreas) const =0
 
virtual int NumPortalsInArea (int areaNum)=0
 
virtual exitPortal_t GetPortal (int areaNum, int portalNum)=0
 
virtual guiPoint_t GuiTrace (qhandle_t entityHandle, const idVec3 start, const idVec3 end) const =0
 
virtual bool ModelTrace (modelTrace_t &trace, qhandle_t entityHandle, const idVec3 &start, const idVec3 &end, const float radius) const =0
 
virtual bool Trace (modelTrace_t &trace, const idVec3 &start, const idVec3 &end, const float radius, bool skipDynamic=true, bool skipPlayer=false) const =0
 
virtual bool FastWorldTrace (modelTrace_t &trace, const idVec3 &start, const idVec3 &end) const =0
 
virtual void StartWritingDemo (idDemoFile *demo)=0
 
virtual void StopWritingDemo ()=0
 
virtual bool ProcessDemoCommand (idDemoFile *readDemo, renderView_t *demoRenderView, int *demoTimeOffset)=0
 
virtual void RegenerateWorld ()=0
 
virtual void DebugClearLines (int time)=0
 
virtual void DebugLine (const idVec4 &color, const idVec3 &start, const idVec3 &end, const int lifetime=0, const bool depthTest=false)=0
 
virtual void DebugArrow (const idVec4 &color, const idVec3 &start, const idVec3 &end, int size, const int lifetime=0)=0
 
virtual void DebugWinding (const idVec4 &color, const idWinding &w, const idVec3 &origin, const idMat3 &axis, const int lifetime=0, const bool depthTest=false)=0
 
virtual void DebugCircle (const idVec4 &color, const idVec3 &origin, const idVec3 &dir, const float radius, const int numSteps, const int lifetime=0, const bool depthTest=false)=0
 
virtual void DebugSphere (const idVec4 &color, const idSphere &sphere, const int lifetime=0, bool depthTest=false)=0
 
virtual void DebugBounds (const idVec4 &color, const idBounds &bounds, const idVec3 &org=vec3_origin, const int lifetime=0)=0
 
virtual void DebugBox (const idVec4 &color, const idBox &box, const int lifetime=0)=0
 
virtual void DebugFrustum (const idVec4 &color, const idFrustum &frustum, const bool showFromOrigin=false, const int lifetime=0)=0
 
virtual void DebugCone (const idVec4 &color, const idVec3 &apex, const idVec3 &dir, float radius1, float radius2, const int lifetime=0)=0
 
virtual void DebugAxis (const idVec3 &origin, const idMat3 &axis)=0
 
virtual void DebugClearPolygons (int time)=0
 
virtual void DebugPolygon (const idVec4 &color, const idWinding &winding, const int lifeTime=0, const bool depthTest=false)=0
 
virtual void DrawText (const char *text, const idVec3 &origin, float scale, const idVec4 &color, const idMat3 &viewAxis, const int align=1, const int lifetime=0, bool depthTest=false)=0
 

Detailed Description

Definition at line 268 of file RenderWorld.h.

Constructor & Destructor Documentation

virtual idRenderWorld::~idRenderWorld ( )
inlinevirtual

Definition at line 270 of file RenderWorld.h.

Member Function Documentation

virtual qhandle_t idRenderWorld::AddEntityDef ( const renderEntity_t re)
pure virtual

Implemented in idRenderWorldLocal.

virtual qhandle_t idRenderWorld::AddLightDef ( const renderLight_t rlight)
pure virtual

Implemented in idRenderWorldLocal.

virtual bool idRenderWorld::AreasAreConnected ( int  areaNum1,
int  areaNum2,
portalConnection_t  connection 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual int idRenderWorld::BoundsInAreas ( const idBounds bounds,
int areas,
int  maxAreas 
) const
pure virtual

Implemented in idRenderWorldLocal.

virtual bool idRenderWorld::CheckAreaForPortalSky ( int  areaNum)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugArrow ( const idVec4 color,
const idVec3 start,
const idVec3 end,
int  size,
const int  lifetime = 0 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugAxis ( const idVec3 origin,
const idMat3 axis 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugBounds ( const idVec4 color,
const idBounds bounds,
const idVec3 org = vec3_origin,
const int  lifetime = 0 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugBox ( const idVec4 color,
const idBox box,
const int  lifetime = 0 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugCircle ( const idVec4 color,
const idVec3 origin,
const idVec3 dir,
const float  radius,
const int  numSteps,
const int  lifetime = 0,
const bool  depthTest = false 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugClearLines ( int  time)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugClearPolygons ( int  time)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugCone ( const idVec4 color,
const idVec3 apex,
const idVec3 dir,
float  radius1,
float  radius2,
const int  lifetime = 0 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugFrustum ( const idVec4 color,
const idFrustum frustum,
const bool  showFromOrigin = false,
const int  lifetime = 0 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugLine ( const idVec4 color,
const idVec3 start,
const idVec3 end,
const int  lifetime = 0,
const bool  depthTest = false 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugPolygon ( const idVec4 color,
const idWinding winding,
const int  lifeTime = 0,
const bool  depthTest = false 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugSphere ( const idVec4 color,
const idSphere sphere,
const int  lifetime = 0,
bool  depthTest = false 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DebugWinding ( const idVec4 color,
const idWinding w,
const idVec3 origin,
const idMat3 axis,
const int  lifetime = 0,
const bool  depthTest = false 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::DrawText ( const char *  text,
const idVec3 origin,
float  scale,
const idVec4 color,
const idMat3 viewAxis,
const int  align = 1,
const int  lifetime = 0,
bool  depthTest = false 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual bool idRenderWorld::FastWorldTrace ( modelTrace_t trace,
const idVec3 start,
const idVec3 end 
) const
pure virtual

Implemented in idRenderWorldLocal.

virtual qhandle_t idRenderWorld::FindPortal ( const idBounds b) const
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::FreeEntityDef ( qhandle_t  entityHandle)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::FreeLightDef ( qhandle_t  lightHandle)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::GenerateAllInteractions ( )
pure virtual

Implemented in idRenderWorldLocal.

virtual exitPortal_t idRenderWorld::GetPortal ( int  areaNum,
int  portalNum 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual int idRenderWorld::GetPortalState ( qhandle_t  portal)
pure virtual

Implemented in idRenderWorldLocal.

virtual const renderEntity_t* idRenderWorld::GetRenderEntity ( qhandle_t  entityHandle) const
pure virtual

Implemented in idRenderWorldLocal.

virtual const renderLight_t* idRenderWorld::GetRenderLight ( qhandle_t  lightHandle) const
pure virtual

Implemented in idRenderWorldLocal.

virtual guiPoint_t idRenderWorld::GuiTrace ( qhandle_t  entityHandle,
const idVec3  start,
const idVec3  end 
) const
pure virtual

Implemented in idRenderWorldLocal.

virtual bool idRenderWorld::InitFromMap ( const char *  mapName)
pure virtual

Implemented in idRenderWorldLocal.

virtual bool idRenderWorld::ModelTrace ( modelTrace_t trace,
qhandle_t  entityHandle,
const idVec3 start,
const idVec3 end,
const float  radius 
) const
pure virtual

Implemented in idRenderWorldLocal.

virtual int idRenderWorld::NumAreas ( void  ) const
pure virtual

Implemented in idRenderWorldLocal.

virtual int idRenderWorld::NumPortals ( void  ) const
pure virtual

Implemented in idRenderWorldLocal.

virtual int idRenderWorld::NumPortalsInArea ( int  areaNum)
pure virtual

Implemented in idRenderWorldLocal.

virtual int idRenderWorld::PointInArea ( const idVec3 point) const
pure virtual

Implemented in idRenderWorldLocal.

virtual bool idRenderWorld::ProcessDemoCommand ( idDemoFile readDemo,
renderView_t demoRenderView,
int demoTimeOffset 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::ProjectDecal ( qhandle_t  entityHandle,
const idFixedWinding winding,
const idVec3 projectionOrigin,
const bool  parallel,
const float  fadeDepth,
const idMaterial material,
const int  startTime 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::ProjectDecalOntoWorld ( const idFixedWinding winding,
const idVec3 projectionOrigin,
const bool  parallel,
const float  fadeDepth,
const idMaterial material,
const int  startTime 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::ProjectOverlay ( qhandle_t  entityHandle,
const idPlane  localTextureAxis[2],
const idMaterial material 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::RegenerateWorld ( )
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::RemoveDecals ( qhandle_t  entityHandle)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::RenderScene ( const renderView_t renderView)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::SetPortalState ( qhandle_t  portal,
int  blockingBits 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::SetRenderView ( const renderView_t renderView)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::StartWritingDemo ( idDemoFile demo)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::StopWritingDemo ( )
pure virtual

Implemented in idRenderWorldLocal.

virtual bool idRenderWorld::Trace ( modelTrace_t trace,
const idVec3 start,
const idVec3 end,
const float  radius,
bool  skipDynamic = true,
bool  skipPlayer = false 
) const
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::UpdateEntityDef ( qhandle_t  entityHandle,
const renderEntity_t re 
)
pure virtual

Implemented in idRenderWorldLocal.

virtual void idRenderWorld::UpdateLightDef ( qhandle_t  lightHandle,
const renderLight_t rlight 
)
pure virtual

Implemented in idRenderWorldLocal.


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