MCPcopy Create free account
hub / github.com/crossuo/crossuo / LoadSpritePixels

Function LoadSpritePixels

src/Managers/AnimationManager.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26CAnimationManager g_AnimationManager;
27
28void *LoadSpritePixels(int width, int height, uint16_t *pixels)
29{
30 auto spr = new CSprite();
31 spr->LoadSprite16(width, height, pixels);
32 return spr;
33}
34
35void DeleteSprite(void *ptr)
36{

Callers

nothing calls this directly

Calls 1

LoadSprite16Method · 0.80

Tested by

no test coverage detected