DDraceNetwork Docs
|
#include <mapimages.h>
Public Member Functions | |
CMapImages () | |
virtual int | Sizeof () const override |
IGraphics::CTextureHandle | Get (int Index) const |
int | Num () const |
void | OnMapLoadImpl (class CLayers *pLayers, class IMap *pMap) |
virtual void | OnMapLoad () override |
virtual void | OnInit () override |
void | LoadBackground (class CLayers *pLayers, class IMap *pMap) |
IGraphics::CTextureHandle | GetEntities (EMapImageEntityLayerType EntityLayerType) |
IGraphics::CTextureHandle | GetSpeedupArrow () |
IGraphics::CTextureHandle | GetOverlayBottom () |
IGraphics::CTextureHandle | GetOverlayTop () |
IGraphics::CTextureHandle | GetOverlayCenter () |
void | SetTextureScale (int Scale) |
int | GetTextureScale () const |
void | ChangeEntitiesPath (const char *pPath) |
Public Member Functions inherited from CComponent | |
virtual | ~CComponent () |
virtual int | Sizeof () const =0 |
class CGameClient * | GameClient () const |
class IClient * | Client () const |
virtual void | OnStateChange (int NewState, int OldState) |
virtual void | OnConsoleInit () |
virtual void | OnInit () |
virtual void | OnShutdown () |
virtual void | OnReset () |
virtual void | OnWindowResize () |
virtual void | OnRefreshSkins () |
virtual void | OnRender () |
virtual void | OnNewSnapshot () |
virtual void | OnRelease () |
virtual void | OnMapLoad () |
virtual void | OnMessage (int Msg, void *pRawMsg) |
virtual bool | OnCursorMove (float x, float y, IInput::ECursorType CursorType) |
virtual bool | OnInput (const IInput::CEvent &Event) |
Private Member Functions | |
void | InitOverlayTextures () |
IGraphics::CTextureHandle | UploadEntityLayerText (int TextureSize, int MaxWidth, int YOffset) |
void | UpdateEntityLayerText (CImageInfo &TextImage, int TextureSize, int MaxWidth, int YOffset, int NumbersPower, int MaxNumber=-1) |
Static Private Member Functions | |
static void | ConchainClTextEntitiesSize (IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData) |
Friends | |
class | CBackground |
class | CMenuBackground |
Additional Inherited Members | |
Protected Member Functions inherited from CComponent | |
class IKernel * | Kernel () const |
class IEngine * | Engine () const |
class IGraphics * | Graphics () const |
class ITextRender * | TextRender () const |
class IInput * | Input () const |
class IStorage * | Storage () const |
class CUi * | Ui () const |
class ISound * | Sound () const |
class CRenderTools * | RenderTools () const |
class IConfigManager * | ConfigManager () const |
class CConfig * | Config () const |
class IConsole * | Console () const |
class IDemoPlayer * | DemoPlayer () const |
class IDemoRecorder * | DemoRecorder (int Recorder) const |
class IFavorites * | Favorites () const |
class IServerBrowser * | ServerBrowser () const |
class CLayers * | Layers () const |
class CCollision * | Collision () const |
int64_t | time () const |
float | LocalTime () const |
class IHttp * | Http () const |
Protected Attributes inherited from CComponent | |
CGameClient * | m_pClient |
CMapImages::CMapImages | ( | ) |
void CMapImages::ChangeEntitiesPath | ( | const char * | pPath | ) |
|
staticprivate |
|
inline |
IGraphics::CTextureHandle CMapImages::GetEntities | ( | EMapImageEntityLayerType | EntityLayerType | ) |
IGraphics::CTextureHandle CMapImages::GetOverlayBottom | ( | ) |
IGraphics::CTextureHandle CMapImages::GetOverlayCenter | ( | ) |
IGraphics::CTextureHandle CMapImages::GetOverlayTop | ( | ) |
IGraphics::CTextureHandle CMapImages::GetSpeedupArrow | ( | ) |
int CMapImages::GetTextureScale | ( | ) | const |
|
private |
|
inline |
|
overridevirtual |
Called to let the components run initialization code.
Reimplemented from CComponent.
|
overridevirtual |
Called on map load.
Reimplemented from CComponent.
void CMapImages::SetTextureScale | ( | int | Scale | ) |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
|
private |
|
private |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |