MCPcopy Create free account
hub / github.com/ddnet/ddnet / SelectSprite7

Method SelectSprite7

src/engine/client/graphics_threaded_sprites.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void CGraphics_Threaded::SelectSprite7(int Id, int Flags)
40{
41 dbg_assert(Id >= 0 && Id < client_data7::g_pData->m_NumSprites, "Id invalid");
42 SelectSprite(&client_data7::g_pData->m_aSprites[Id], Flags);
43}
44
45void CGraphics_Threaded::GetSpriteScale(const CDataSprite *pSprite, float &ScaleX, float &ScaleY) const
46{

Callers 2

RenderTee7Method · 0.80
RenderHand7Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected