Original Post
hey,
i've got a little question...
i'm doing 2D rpg game (baldur's gate - like) and i need to draw sprites in the correct order (sprite which is backmost must be drawn first and so on...) but the sprites are moving (they are changing their z order). And it has to be FAST.
And in addition the sprites are stored as classes of differnt type (i.e. Creature for creatures, GndCont for boxes, chests and so on). So the objects are pointers to these classes (you cannot simply use a cycle with array of pointers to one type of classes).
Can anybody help?
[edited by - zaasz on March 14, 2003 1:21:35 PM]