3#ifndef GAME_CLIENT_RENDER_H
4#define GAME_CLIENT_RENDER_H
106 void ApplyColors(
bool CustomColoredSkin,
int ColorBody,
int ColorFeet)
109 if(CustomColoredSkin)
148 Texture.Invalidate();
152 Texture.Invalidate();
Definition mapitems.h:518
Definition mapitems.h:507
Definition mapitems.h:486
std::function< void()> m_RefreshCallback
Definition render.h:187
void SetRefreshCallback(const std::function< void()> &RefreshCallback)
Definition render.h:199
const CSkinDescriptor & SkinDescriptor() const
Definition render.h:198
CSkinDescriptor m_SkinDescriptor
Definition render.h:186
CManagedTeeRenderInfo(const CTeeRenderInfo &TeeRenderInfo, const CSkinDescriptor &SkinDescriptor)
Definition render.h:190
const CTeeRenderInfo & TeeRenderInfo() const
Definition render.h:197
friend class CGameClient
Definition render.h:184
CTeeRenderInfo m_TeeRenderInfo
Definition render.h:185
CTeeRenderInfo & TeeRenderInfo()
Definition render.h:196
Definition mapitems.h:408
Definition mapitems.h:337
bool m_BotDecoration
Definition render.h:48
bool operator!=(const CSixup &Other) const
Definition render.h:53
bool operator==(const CSixup &Other) const
Definition render.cpp:80
void Reset()
Definition render.cpp:70
char m_aaSkinPartNames[protocol7::NUM_SKINPARTS][protocol7::MAX_SKIN_LENGTH]
Definition render.h:47
bool m_XmasHat
Definition render.h:49
CSixup m_aSixup[NUM_DUMMIES]
Definition render.h:55
bool operator!=(const CSkinDescriptor &Other) const
Definition render.h:61
bool operator==(const CSkinDescriptor &Other) const
Definition render.cpp:41
unsigned m_Flags
Definition render.h:40
@ FLAG_SIX
Definition render.h:37
@ FLAG_SEVEN
Definition render.h:38
bool IsValid() const
Definition render.cpp:36
void Reset()
Definition render.cpp:26
CSkinDescriptor()
Definition render.cpp:21
char m_aSkinName[MAX_SKIN_LENGTH]
Definition render.h:42
CSkinMetrics m_Metrics
Definition skin.h:87
ColorRGBA m_BloodColor
Definition skin.h:35
CSkinTextures m_OriginalSkin
Definition skin.h:33
CSkinTextures m_ColorableSkin
Definition skin.h:34
Definition mapitems.h:642
Definition mapitems.h:651
ColorRGBA m_BotColor
Definition render.h:171
bool m_aUseCustomColors[protocol7::NUM_SKINPARTS]
Definition render.h:165
void Reset()
Definition render.h:144
ColorRGBA m_BloodColor
Definition render.h:167
IGraphics::CTextureHandle m_aColorableTextures[protocol7::NUM_SKINPARTS]
Definition render.h:164
IGraphics::CTextureHandle m_aOriginalTextures[protocol7::NUM_SKINPARTS]
Definition render.h:163
const IGraphics::CTextureHandle & PartTexture(int Part) const
Definition render.h:173
ColorRGBA m_aColors[protocol7::NUM_SKINPARTS]
Definition render.h:166
int m_HatSpriteIndex
Definition render.h:170
IGraphics::CTextureHandle m_HatTexture
Definition render.h:168
IGraphics::CTextureHandle m_BotTexture
Definition render.h:169
void Apply(const CSkin *pSkin)
Definition render.h:90
void Reset()
Definition render.h:72
bool Valid() const
Definition render.h:136
ColorRGBA m_BloodColor
Definition render.h:127
void ApplySkin(const CTeeRenderInfo &TeeRenderInfo)
Definition render.h:98
void ApplyColors(bool CustomColoredSkin, int ColorBody, int ColorFeet)
Definition render.h:106
bool m_CustomColoredSkin
Definition render.h:126
CTeeRenderInfo()
Definition render.h:67
bool m_GotAirJump
Definition render.h:132
CSkin::CSkinMetrics m_SkinMetrics
Definition render.h:124
ColorRGBA m_ColorBody
Definition render.h:129
bool m_FeetFlipped
Definition render.h:134
CSkin::CSkinTextures m_ColorableRenderSkin
Definition render.h:122
CSkin::CSkinTextures m_OriginalRenderSkin
Definition render.h:121
int m_TeeRenderFlags
Definition render.h:133
ColorRGBA m_ColorFeet
Definition render.h:130
CSixup m_aSixup[NUM_DUMMIES]
Definition render.h:179
float m_Size
Definition render.h:131
Definition mapitems.h:635
Definition mapitems.h:351
Definition mapitems.h:668
static constexpr const float DARKEST_LGT
Definition color.h:150
Definition graphics.h:206
Definition graphics.h:189
Definition textrender.h:291
constexpr T color_cast(const F &)=delete
@ NUM_DUMMIES
Definition enums.h:8
@ MAX_SKIN_LENGTH
Definition protocol.h:101
@ MAX_SKIN_LENGTH
Definition protocol7.h:73
@ NUM_SKINPARTS
Definition protocol7.h:46
@ TEE_EFFECT_SPARKLE
Definition render.h:207
@ TEE_NO_WEAPON
Definition render.h:206
@ TEE_EFFECT_FROZEN
Definition render.h:205
vector2_base< float > vec2
Definition vmath.h:161