Hey Stef,
What are your thoughts on making spriteNum in vdp_spr.c non-static? It would be useful to be able to manipulate the vdpSpriteCache manually while still being able to call VDP_updateSprites() when we're done.
djcc
static u16 spriteNum;
Moderator: Stef
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Yeah of course, it would be handy
To be honest i was thinking of deprecating the whole vdp_spr unit as it is not very convenient to work with but for that i need to provide lower access to the VDPSpriteCache structure in the sprite_eng.c file. A better solution would be to replace the vdpSpriteCache of vdp_spr by VDPSpriteCache of spr_eng but that would break many codes i guess so i have to think for a better solution.
