OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
AssetsManager Class Reference

#include <AssetsManager.h>

Public Member Functions

 AssetsManager ()
 
void releaseAllTextures ()
 
bool releaseImage (std::string_view name)
 
bool releaseSprite (std::string_view name)
 
bool releaseBitmap (std::string_view name)
 
GraphicsImagegetImage_ColorKey (std::string_view name, Color colorkey=colorTable.TealMask)
 
GraphicsImagegetImage_Paletted (std::string_view name)
 
GraphicsImagegetImage_Solid (std::string_view name)
 
GraphicsImagegetImage_Alpha (std::string_view name)
 
GraphicsImagegetImage_PCXFromIconsLOD (std::string_view name)
 
GraphicsImagegetBitmap (std::string_view name)
 
GraphicsImagegetSprite (std::string_view name)
 

Public Attributes

GraphicsImagewinnerCert { nullptr }
 
std::unique_ptr< GUIFontpFontBookOnlyShadow
 
std::unique_ptr< GUIFontpFontBookLloyds
 
std::unique_ptr< GUIFontpFontArrus
 
std::unique_ptr< GUIFontpFontLucida
 
std::unique_ptr< GUIFontpFontBookTitle
 
std::unique_ptr< GUIFontpFontBookCalendar
 
std::unique_ptr< GUIFontpFontCreate
 
std::unique_ptr< GUIFontpFontCChar
 
std::unique_ptr< GUIFontpFontComic
 
std::unique_ptr< GUIFontpFontSmallnum
 

Protected Attributes

std::unordered_map< std::string, GraphicsImage * > bitmaps
 
std::unordered_map< std::string, GraphicsImage * > sprites
 
std::unordered_map< std::string, GraphicsImage * > images
 

Constructor & Destructor Documentation

◆ AssetsManager()

AssetsManager::AssetsManager ( )
inline

Member Function Documentation

◆ getBitmap()

GraphicsImage * AssetsManager::getBitmap ( std::string_view  name)

◆ getImage_Alpha()

GraphicsImage * AssetsManager::getImage_Alpha ( std::string_view  name)

◆ getImage_ColorKey()

GraphicsImage * AssetsManager::getImage_ColorKey ( std::string_view  name,
Color  colorkey = colorTable.TealMask 
)

◆ getImage_Paletted()

GraphicsImage * AssetsManager::getImage_Paletted ( std::string_view  name)

◆ getImage_PCXFromIconsLOD()

GraphicsImage * AssetsManager::getImage_PCXFromIconsLOD ( std::string_view  name)

◆ getImage_Solid()

GraphicsImage * AssetsManager::getImage_Solid ( std::string_view  name)

◆ getSprite()

GraphicsImage * AssetsManager::getSprite ( std::string_view  name)

◆ releaseAllTextures()

void AssetsManager::releaseAllTextures ( )

◆ releaseBitmap()

bool AssetsManager::releaseBitmap ( std::string_view  name)

◆ releaseImage()

bool AssetsManager::releaseImage ( std::string_view  name)

◆ releaseSprite()

bool AssetsManager::releaseSprite ( std::string_view  name)

Member Data Documentation

◆ bitmaps

std::unordered_map<std::string, GraphicsImage *> AssetsManager::bitmaps
protected

◆ images

std::unordered_map<std::string, GraphicsImage *> AssetsManager::images
protected

◆ pFontArrus

std::unique_ptr<GUIFont> AssetsManager::pFontArrus

◆ pFontBookCalendar

std::unique_ptr<GUIFont> AssetsManager::pFontBookCalendar

◆ pFontBookLloyds

std::unique_ptr<GUIFont> AssetsManager::pFontBookLloyds

◆ pFontBookOnlyShadow

std::unique_ptr<GUIFont> AssetsManager::pFontBookOnlyShadow

◆ pFontBookTitle

std::unique_ptr<GUIFont> AssetsManager::pFontBookTitle

◆ pFontCChar

std::unique_ptr<GUIFont> AssetsManager::pFontCChar

◆ pFontComic

std::unique_ptr<GUIFont> AssetsManager::pFontComic

◆ pFontCreate

std::unique_ptr<GUIFont> AssetsManager::pFontCreate

◆ pFontLucida

std::unique_ptr<GUIFont> AssetsManager::pFontLucida

◆ pFontSmallnum

std::unique_ptr<GUIFont> AssetsManager::pFontSmallnum

◆ sprites

std::unordered_map<std::string, GraphicsImage *> AssetsManager::sprites
protected

◆ winnerCert

GraphicsImage* AssetsManager::winnerCert { nullptr }

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