3#ifndef GAME_CLIENT_RENDER_H
4#define GAME_CLIENT_RENDER_H
67 void ApplyColors(
bool CustomColoredSkin,
int ColorBody,
int ColorFeet)
112 PartColor =
ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f);
120 if(!Texture.IsValid())
215 void DrawSprite(
float x,
float y,
float Size)
const;
216 void DrawSprite(
float x,
float y,
float ScaledWidth,
float ScaledHeight)
const;
242 void RenderTileRectangle(
int RectX,
int RectY,
int RectW,
int RectH,
unsigned char IndexIn,
unsigned char IndexOut,
float Scale,
ColorRGBA Color,
int RenderFlags)
const;
247 void CalcScreenParams(
float Aspect,
float Zoom,
float *pWidth,
float *pHeight);
248 void MapScreenToWorld(
float CenterX,
float CenterY,
float ParallaxX,
float ParallaxY,
249 float ParallaxZoom,
float OffsetX,
float OffsetY,
float Aspect,
float Zoom,
float *pPoints);
Definition: animstate.h:9
Definition: datafile.h:24
int m_NumPoints
Definition: render.h:168
int NumPointsMax() const
Definition: render_map.cpp:100
int NumPoints() const override
Definition: render_map.cpp:95
int m_StartPoint
Definition: render.h:167
CEnvPoint * m_pPoints
Definition: render.h:170
int m_NumPointsMax
Definition: render.h:169
int StartPoint() const
Definition: render_map.cpp:90
CEnvPointBezier_upstream * m_pPointsBezierUpstream
Definition: render.h:172
const CEnvPointBezier * GetBezier(int Index) const override
Definition: render_map.cpp:116
CEnvPointBezier * m_pPointsBezier
Definition: render.h:171
const CEnvPoint * GetPoint(int Index) const override
Definition: render_map.cpp:105
void SetPointsRange(int StartPoint, int NumPoints)
Definition: render_map.cpp:84
CMapBasedEnvelopePointAccess(class CDataFileReader *pReader)
Definition: render_map.cpp:25
Definition: mapitems.h:539
Definition: mapitems.h:548
ColorRGBA m_BotColor
Definition: render.h:130
void Reset()
Definition: render.h:105
IGraphics::CTextureHandle m_aTextures[protocol7::NUM_SKINPARTS]
Definition: render.h:125
bool Valid() const
Definition: render.h:117
ColorRGBA m_aColors[protocol7::NUM_SKINPARTS]
Definition: render.h:126
int m_HatSpriteIndex
Definition: render.h:129
IGraphics::CTextureHandle m_HatTexture
Definition: render.h:127
IGraphics::CTextureHandle m_BotTexture
Definition: render.h:128
void Apply(const CSkin *pSkin)
Definition: render.h:59
void Reset()
Definition: render.h:41
bool Valid() const
Definition: render.h:97
ColorRGBA m_BloodColor
Definition: render.h:88
void ApplyColors(bool CustomColoredSkin, int ColorBody, int ColorFeet)
Definition: render.h:67
bool m_CustomColoredSkin
Definition: render.h:87
CTeeRenderInfo()
Definition: render.h:36
bool m_GotAirJump
Definition: render.h:93
ColorRGBA m_ColorBody
Definition: render.h:90
CSkin::SSkinTextures m_ColorableRenderSkin
Definition: render.h:83
bool m_FeetFlipped
Definition: render.h:95
CSkin::SSkinTextures m_OriginalRenderSkin
Definition: render.h:82
int m_TeeRenderFlags
Definition: render.h:94
ColorRGBA m_ColorFeet
Definition: render.h:91
CSkin::SSkinMetrics m_SkinMetrics
Definition: render.h:85
CSixup m_aSixup[NUM_DUMMIES]
Definition: render.h:133
float m_Size
Definition: render.h:92
Definition: mapitems.h:532
Definition: mapitems.h:236
Definition: mapitems.h:565
static constexpr const float DARKEST_LGT
Definition: color.h:178
virtual const CEnvPointBezier * GetBezier(int Index) const =0
virtual ~IEnvelopePointAccess()=default
virtual int NumPoints() const =0
virtual const CEnvPoint * GetPoint(int Index) const =0
Definition: graphics.h:200
bool IsValid() const
Definition: graphics.h:210
Definition: graphics.h:183
Definition: textrender.h:312
@ NUM_DUMMIES
Definition: enums.h:8
@ NUM_SKINPARTS
Definition: protocol7.h:36
@ SPRITE_FLAG_FLIP_X
Definition: render.h:148
@ TILERENDERFLAG_EXTEND
Definition: render.h:153
@ SPRITE_FLAG_FLIP_Y
Definition: render.h:147
@ LAYERRENDERFLAG_OPAQUE
Definition: render.h:150
@ LAYERRENDERFLAG_TRANSPARENT
Definition: render.h:151
void(* ENVELOPE_EVAL)(int TimeOffsetMillis, int Env, ColorRGBA &Result, size_t Channels, void *pUser)
Definition: render.h:185
@ TEE_EFFECT_SPARKLE
Definition: render.h:141
@ TEE_NO_WEAPON
Definition: render.h:140
@ TEE_EFFECT_FROZEN
Definition: render.h:139
Definition: client_data.h:29
Definition: mapitems.h:406
Definition: mapitems.h:395
Definition: mapitems.h:378
Definition: mapitems.h:298
Definition: mapitems.h:223
void Reset()
Definition: skin.h:137
IGraphics::CTextureHandle m_Body
Definition: skin.h:22
void Reset()
Definition: skin.h:33
SSkinMetrics m_Metrics
Definition: skin.h:148
SSkinTextures m_ColorableSkin
Definition: skin.h:59
SSkinTextures m_OriginalSkin
Definition: skin.h:58
ColorRGBA m_BloodColor
Definition: skin.h:60
Definition: client_data7.h:32