Update for PR

Readd sprite tracker to not reuse indices
check for capacity when returning pool entries
Update script for printing memory map
This commit is contained in:
Rickey Fehr
2025-10-17 16:55:09 -07:00
parent d499abe2c4
commit 16059ab632
5 changed files with 43 additions and 7 deletions
+2 -1
View File
@@ -14,6 +14,7 @@ typedef struct
OBJ_ATTR *obj;
OBJ_AFFINE *aff;
POINT pos;
int idx;
} Sprite;
// A sprite object is a sprite that is selectable and movable in animation
@@ -66,4 +67,4 @@ Sprite* sprite_object_get_sprite(SpriteObject* sprite_object);
void sprite_object_set_focus(SpriteObject* sprite_object, bool focus);
bool sprite_object_is_focused(SpriteObject* sprite_object);
#endif // SPRITE_H
#endif // SPRITE_H