DDraceNetwork Documentation
Loading...
Searching...
No Matches
CRenderLayerEntityGame Class Referencefinal

#include <render_layer.h>

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

Public Member Functions

 CRenderLayerEntityGame (int GroupId, int LayerId, int Flags, CMapItemLayerTilemap *pLayerTilemap)
void Init () override
Public Member Functions inherited from CRenderLayerEntityBase
 CRenderLayerEntityBase (int GroupId, int LayerId, int Flags, CMapItemLayerTilemap *pLayerTilemap)
 ~CRenderLayerEntityBase () override=default
bool DoRender (const CRenderLayerParams &Params) override
Public Member Functions inherited from CRenderLayerTile
 CRenderLayerTile (int GroupId, int LayerId, int Flags, CMapItemLayerTilemap *pLayerTilemap)
 ~CRenderLayerTile () override=default
void Render (const CRenderLayerParams &Params) override
bool DoRender (const CRenderLayerParams &Params) override
void Init () override
void OnInit (IGraphics *pGraphics, ITextRender *pTextRender, CRenderMap *pRenderMap, std::shared_ptr< CEnvelopeManager > &pEnvelopeManager, IMap *pMap, IMapImages *pMapImages, std::optional< FRenderUploadCallback > &FRenderUploadCallbackOptional) override
virtual int GetDataIndex (unsigned int &TileSize) const
bool IsValid () const override
void Unload () override
Public Member Functions inherited from CRenderLayer
 CRenderLayer (int GroupId, int LayerId, int Flags)
virtual bool IsGroup () const
bool IsVisibleInClipRegion (const std::optional< CClipRegion > &ClipRegion) const
int GetGroup () const
Public Member Functions inherited from CRenderComponent
virtual ~CRenderComponent ()=default
IGraphicsGraphics ()
const IGraphicsGraphics () const
ITextRenderTextRender ()
CRenderMapRenderMap ()
void OnInit (IGraphics *pGraphics, ITextRender *pTextRender, CRenderMap *pRenderMap)
void OnInit (CRenderComponent *pRenderComponent)

Protected Member Functions

void RenderTileLayerWithTileBuffer (const ColorRGBA &Color, const CRenderLayerParams &Params) override
void RenderTileLayerNoTileBuffer (const ColorRGBA &Color, const CRenderLayerParams &Params) override
Protected Member Functions inherited from CRenderLayerEntityBase
ColorRGBA GetRenderColor (const CRenderLayerParams &Params) const override
IGraphics::CTextureHandle GetTexture () const override
Protected Member Functions inherited from CRenderLayerTile
virtual void * GetRawData () const
template<class T>
T * GetData () const
virtual void InitTileData ()
virtual void GetTileData (unsigned char *pIndex, unsigned char *pFlags, int *pAngleRotate, unsigned int x, unsigned int y, int CurOverlay) const
IGraphics::CTextureHandle GetTexture () const override
void UploadTileData (std::optional< CTileLayerVisuals > &VisualsOptional, int CurOverlay, bool AddAsSpeedup, bool IsGameLayer=false)
void RenderTileLayer (const ColorRGBA &Color, const CRenderLayerParams &Params, CTileLayerVisuals *pTileLayerVisuals=nullptr)
void RenderTileBorder (const ColorRGBA &Color, int BorderX0, int BorderY0, int BorderX1, int BorderY1, CTileLayerVisuals *pTileLayerVisuals)
void RenderKillTileBorder (const ColorRGBA &Color)
Protected Member Functions inherited from CRenderLayer
void UseTexture (IGraphics::CTextureHandle TextureHandle)
void RenderLoading () const

Private Member Functions

ColorRGBA GetDeathBorderColor () const

Additional Inherited Members

Protected Attributes inherited from CRenderLayerTile
CTilem_pTiles
std::optional< CRenderLayerTile::CTileLayerVisualsm_VisualTiles
CMapItemLayerTilemapm_pLayerTilemap
ColorRGBA m_Color
Protected Attributes inherited from CRenderLayer
int m_GroupId
int m_LayerId
int m_Flags
class IMapm_pMap = nullptr
IMapImagesm_pMapImages = nullptr
std::shared_ptr< CEnvelopeManagerm_pEnvelopeManager
std::optional< FRenderUploadCallbackm_RenderUploadCallback
std::optional< CClipRegionm_LayerClip

Constructor & Destructor Documentation

◆ CRenderLayerEntityGame()

CRenderLayerEntityGame::CRenderLayerEntityGame ( int GroupId,
int LayerId,
int Flags,
CMapItemLayerTilemap * pLayerTilemap )

Member Function Documentation

◆ GetDeathBorderColor()

ColorRGBA CRenderLayerEntityGame::GetDeathBorderColor ( ) const
private

◆ Init()

void CRenderLayerEntityGame::Init ( )
overridevirtual

Implements CRenderLayer.

◆ RenderTileLayerNoTileBuffer()

void CRenderLayerEntityGame::RenderTileLayerNoTileBuffer ( const ColorRGBA & Color,
const CRenderLayerParams & Params )
overrideprotectedvirtual

Reimplemented from CRenderLayerTile.

◆ RenderTileLayerWithTileBuffer()

void CRenderLayerEntityGame::RenderTileLayerWithTileBuffer ( const ColorRGBA & Color,
const CRenderLayerParams & Params )
overrideprotectedvirtual

Reimplemented from CRenderLayerTile.


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