OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4LandscapeRender Class Referenceabstract

#include <C4LandscapeRender.h>

Inheritance diagram for C4LandscapeRender:
[legend]
Collaboration diagram for C4LandscapeRender:
[legend]

Public Member Functions

 C4LandscapeRender ()
 
virtual ~C4LandscapeRender ()
 
virtual bool ReInit (int32_t iWidth, int32_t iHeight)=0
 
virtual bool Init (int32_t iWidth, int32_t iHeight, C4TextureMap *pTexs, C4GroupSet *pGraphics)=0
 
virtual void Clear ()=0
 
virtual C4Rect GetAffectedRect (C4Rect Rect)=0
 
virtual void Update (C4Rect Rect, C4Landscape *pSource)=0
 
virtual void Draw (const C4TargetFacet &cgo, const class C4FoWRegion *Light, uint32_t clrMod)=0
 

Protected Attributes

int32_t iWidth
 
int32_t iHeight
 
C4TextureMappTexs
 

Detailed Description

Definition at line 79 of file C4LandscapeRender.h.

Constructor & Destructor Documentation

C4LandscapeRender::C4LandscapeRender ( )
inline

Definition at line 82 of file C4LandscapeRender.h.

83  : iWidth(0), iHeight(0), pTexs(nullptr) { }
C4TextureMap * pTexs
virtual C4LandscapeRender::~C4LandscapeRender ( )
inlinevirtual

Definition at line 84 of file C4LandscapeRender.h.

85  {}

Member Function Documentation

virtual void C4LandscapeRender::Clear ( )
pure virtual

Implemented in C4LandscapeRenderGL.

virtual void C4LandscapeRender::Draw ( const C4TargetFacet cgo,
const class C4FoWRegion Light,
uint32_t  clrMod 
)
pure virtual
virtual C4Rect C4LandscapeRender::GetAffectedRect ( C4Rect  Rect)
pure virtual

Implemented in C4LandscapeRenderGL.

virtual bool C4LandscapeRender::Init ( int32_t  iWidth,
int32_t  iHeight,
C4TextureMap pTexs,
C4GroupSet pGraphics 
)
pure virtual

Implemented in C4LandscapeRenderGL.

virtual bool C4LandscapeRender::ReInit ( int32_t  iWidth,
int32_t  iHeight 
)
pure virtual

Implemented in C4LandscapeRenderGL.

virtual void C4LandscapeRender::Update ( C4Rect  Rect,
C4Landscape pSource 
)
pure virtual

Implemented in C4LandscapeRenderGL.

Member Data Documentation

int32_t C4LandscapeRender::iHeight
protected
int32_t C4LandscapeRender::iWidth
protected
C4TextureMap* C4LandscapeRender::pTexs
protected

Definition at line 89 of file C4LandscapeRender.h.

Referenced by C4LandscapeRenderGL::Init().


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