#include <skins7.h>
|
int | Sizeof () const override |
|
void | OnInit () override |
|
const std::vector< CSkin > & | GetSkins () const |
|
const std::vector< CSkinPart > & | GetSkinParts (int Part) const |
|
const CSkinPart * | FindSkinPartOrNullptr (int Part, const char *pName, bool AllowSpecialPart) const |
|
const CSkinPart * | FindDefaultSkinPart (int Part) const |
|
const CSkinPart * | FindSkinPart (int Part, const char *pName, bool AllowSpecialPart) const |
|
void | RandomizeSkin (int Dummy) const |
|
ColorRGBA | GetColor (int Value, bool UseAlpha) const |
|
ColorRGBA | GetTeamColor (int UseCustomColors, int PartColor, int Team, int Part) const |
|
bool | ValidateSkinParts (char *apPartNames[protocol7::NUM_SKINPARTS], int *pUseCustomColors, int *pPartColors, int GameFlags) const |
|
bool | SaveSkinfile (const char *pName, int Dummy) |
|
bool | RemoveSkin (const CSkin *pSkin) |
|
IGraphics::CTextureHandle | XmasHatTexture () const |
|
IGraphics::CTextureHandle | BotDecorationTexture () const |
|
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) |
|
|
static const char *const | ms_apSkinPartNames [protocol7::NUM_SKINPARTS] = {"body", "marking", "decoration", "hands", "feet", "eyes"} |
|
static const char *const | ms_apSkinPartNamesLocalized [protocol7::NUM_SKINPARTS] = {Localizable("Body", "skins"), Localizable("Marking", "skins"), Localizable("Decoration", "skins"), Localizable("Hands", "skins"), Localizable("Feet", "skins"), Localizable("Eyes", "skins")} |
|
static const char *const | ms_apColorComponents [NUM_COLOR_COMPONENTS] = {"hue", "sat", "lgt", "alp"} |
|
static char * | ms_apSkinNameVariables [NUM_DUMMIES] = {0} |
|
static char * | ms_apSkinVariables [NUM_DUMMIES][protocol7::NUM_SKINPARTS] = {{0}} |
|
static int * | ms_apUCCVariables [NUM_DUMMIES][protocol7::NUM_SKINPARTS] = {{0}} |
|
static unsigned * | ms_apColorVariables [NUM_DUMMIES][protocol7::NUM_SKINPARTS] = {{0}} |
|
|
static int | SkinPartScan (const char *pName, int IsDir, int DirType, void *pUser) |
|
static int | SkinScan (const char *pName, int IsDir, int DirType, void *pUser) |
|
◆ anonymous enum
Enumerator |
---|
SKINFLAG_SPECIAL | |
SKINFLAG_STANDARD | |
NUM_COLOR_COMPONENTS | |
HAT_NUM | |
HAT_OFFSET_SIDE | |
◆ AddSkinFromConfigVariables()
void CSkins7::AddSkinFromConfigVariables |
( |
const char * |
pName, |
|
|
int |
Dummy |
|
) |
| |
|
private |
◆ BotDecorationTexture()
◆ FindDefaultSkinPart()
◆ FindSkinPart()
const CSkins7::CSkinPart * CSkins7::FindSkinPart |
( |
int |
Part, |
|
|
const char * |
pName, |
|
|
bool |
AllowSpecialPart |
|
) |
| const |
◆ FindSkinPartOrNullptr()
const CSkins7::CSkinPart * CSkins7::FindSkinPartOrNullptr |
( |
int |
Part, |
|
|
const char * |
pName, |
|
|
bool |
AllowSpecialPart |
|
) |
| const |
◆ GetColor()
ColorRGBA CSkins7::GetColor |
( |
int |
Value, |
|
|
bool |
UseAlpha |
|
) |
| const |
◆ GetSkinParts()
◆ GetSkins()
◆ GetTeamColor()
ColorRGBA CSkins7::GetTeamColor |
( |
int |
UseCustomColors, |
|
|
int |
PartColor, |
|
|
int |
Team, |
|
|
int |
Part |
|
) |
| const |
◆ InitPlaceholderSkinParts()
void CSkins7::InitPlaceholderSkinParts |
( |
| ) |
|
|
private |
◆ LoadBotDecoration()
void CSkins7::LoadBotDecoration |
( |
| ) |
|
|
private |
◆ LoadXmasHat()
void CSkins7::LoadXmasHat |
( |
| ) |
|
|
private |
◆ OnInit()
Called to let the components run initialization code.
Reimplemented from CComponent.
◆ RandomizeSkin()
void CSkins7::RandomizeSkin |
( |
int |
Dummy | ) |
const |
◆ RemoveSkin()
bool CSkins7::RemoveSkin |
( |
const CSkin * |
pSkin | ) |
|
◆ SaveSkinfile()
bool CSkins7::SaveSkinfile |
( |
const char * |
pName, |
|
|
int |
Dummy |
|
) |
| |
◆ Sizeof()
int CSkins7::Sizeof |
( |
| ) |
const |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
◆ SkinPartScan()
int CSkins7::SkinPartScan |
( |
const char * |
pName, |
|
|
int |
IsDir, |
|
|
int |
DirType, |
|
|
void * |
pUser |
|
) |
| |
|
staticprivate |
◆ SkinScan()
int CSkins7::SkinScan |
( |
const char * |
pName, |
|
|
int |
IsDir, |
|
|
int |
DirType, |
|
|
void * |
pUser |
|
) |
| |
|
staticprivate |
◆ ValidateSkinParts()
bool CSkins7::ValidateSkinParts |
( |
char * |
apPartNames[protocol7::NUM_SKINPARTS], |
|
|
int * |
pUseCustomColors, |
|
|
int * |
pPartColors, |
|
|
int |
GameFlags |
|
) |
| const |
◆ XmasHatTexture()
◆ m_aPlaceholderSkinParts
◆ m_avSkinParts
◆ m_BotTexture
◆ m_ScanningPart
int CSkins7::m_ScanningPart |
|
private |
◆ m_vSkins
std::vector<CSkin> CSkins7::m_vSkins |
|
private |
◆ m_XmasHatTexture
◆ ms_apColorComponents
const char *const CSkins7::ms_apColorComponents = {"hue", "sat", "lgt", "alp"} |
|
static |
◆ ms_apColorVariables
int unsigned * CSkins7::ms_apColorVariables = {{0}} |
|
static |
◆ ms_apSkinNameVariables
char * CSkins7::ms_apSkinNameVariables = {0} |
|
static |
◆ ms_apSkinPartNames
const char *const CSkins7::ms_apSkinPartNames = {"body", "marking", "decoration", "hands", "feet", "eyes"} |
|
static |
◆ ms_apSkinPartNamesLocalized
const char *const CSkins7::ms_apSkinPartNamesLocalized = {Localizable("Body", "skins"), Localizable("Marking", "skins"), Localizable("Decoration", "skins"), Localizable("Hands", "skins"), Localizable("Feet", "skins"), Localizable("Eyes", "skins")} |
|
static |
◆ ms_apSkinVariables
char * CSkins7::ms_apSkinVariables = {{0}} |
|
static |
◆ ms_apUCCVariables
int * CSkins7::ms_apUCCVariables = {{0}} |
|
static |
The documentation for this class was generated from the following files: