mirror of
https://github.com/DarkStore-3DS/Universal-Core.git
synced 2026-07-03 00:39:23 +00:00
Keep track of allocated sprite count
This commit is contained in:
+3
-1
@@ -16,7 +16,7 @@ private:
|
||||
bool _visibility;
|
||||
u16 *_gfx;
|
||||
|
||||
static bool _assigned[2][128];
|
||||
static u8 _assigned[2][128];
|
||||
|
||||
public:
|
||||
/**
|
||||
@@ -43,6 +43,8 @@ public:
|
||||
*/
|
||||
Sprite(bool top, SpriteSize size, SpriteColorFormat format, int x = 0, int y = 0, int priority = 0, int id = -1, int paletteAlpha = 15, int rotationIndex = -1, bool doubleSize = false, bool visible = true, bool vFlip = false, bool hFlip = false, bool mosaic = false);
|
||||
|
||||
Sprite(const Sprite &sprite);
|
||||
|
||||
~Sprite(void);
|
||||
|
||||
u16* gfx(void) const { return _gfx; }
|
||||
|
||||
Reference in New Issue
Block a user