mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Rename parameters id -> Id
This commit is contained in:
parent
25c4270cb4
commit
51d0d76e11
|
@ -95,9 +95,9 @@ void CRenderTools::GetSpriteScale(struct CDataSprite *pSprite, float &ScaleX, fl
|
||||||
GetSpriteScaleImpl(w, h, ScaleX, ScaleY);
|
GetSpriteScaleImpl(w, h, ScaleX, ScaleY);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CRenderTools::GetSpriteScale(int id, float &ScaleX, float &ScaleY)
|
void CRenderTools::GetSpriteScale(int Id, float &ScaleX, float &ScaleY)
|
||||||
{
|
{
|
||||||
GetSpriteScale(&g_pData->m_aSprites[id], ScaleX, ScaleY);
|
GetSpriteScale(&g_pData->m_aSprites[Id], ScaleX, ScaleY);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CRenderTools::GetSpriteScaleImpl(int Width, int Height, float &ScaleX, float &ScaleY)
|
void CRenderTools::GetSpriteScaleImpl(int Width, int Height, float &ScaleX, float &ScaleY)
|
||||||
|
|
|
@ -69,11 +69,11 @@ public:
|
||||||
void Init(class IGraphics *pGraphics, class ITextRender *pTextRender);
|
void Init(class IGraphics *pGraphics, class ITextRender *pTextRender);
|
||||||
|
|
||||||
void SelectSprite(struct CDataSprite *pSprite, int Flags = 0, int sx = 0, int sy = 0);
|
void SelectSprite(struct CDataSprite *pSprite, int Flags = 0, int sx = 0, int sy = 0);
|
||||||
void SelectSprite(int id, int Flags = 0, int sx = 0, int sy = 0);
|
void SelectSprite(int Id, int Flags = 0, int sx = 0, int sy = 0);
|
||||||
|
|
||||||
void GetSpriteScale(client_data7::CDataSprite *pSprite, float &ScaleX, float &ScaleY);
|
void GetSpriteScale(client_data7::CDataSprite *pSprite, float &ScaleX, float &ScaleY);
|
||||||
void GetSpriteScale(struct CDataSprite *pSprite, float &ScaleX, float &ScaleY);
|
void GetSpriteScale(struct CDataSprite *pSprite, float &ScaleX, float &ScaleY);
|
||||||
void GetSpriteScale(int id, float &ScaleX, float &ScaleY);
|
void GetSpriteScale(int Id, float &ScaleX, float &ScaleY);
|
||||||
void GetSpriteScaleImpl(int Width, int Height, float &ScaleX, float &ScaleY);
|
void GetSpriteScaleImpl(int Width, int Height, float &ScaleX, float &ScaleY);
|
||||||
|
|
||||||
void DrawSprite(float x, float y, float size);
|
void DrawSprite(float x, float y, float size);
|
||||||
|
|
Loading…
Reference in a new issue