Page 1 of 1

improvement of some existing sprite functions

Posted: Wed Feb 01, 2006 1:38 pm
by Dr. Dri

Code: Select all

PreviousBuffer = UseBuffer(NewBuffer)
UseBuffer seems to return a IDirectDrawSurface pointer
It would be more useful get the sprite number (or -1 for the screen)

for example:

Code: Select all

buffer = UseBuffer(mysprite)
;draw some sprites
UseBuffer(buffer)

Code: Select all

SpriteWidth SpriteHeight SpriteDepth SpriteOutput SaveSprite...
I wish i could use thoses functions with the screen, by giving '-1' for the sprite number

Last request:
Why can't the Sprite3D display on the current buffer ?
It's a bit limited this way, isn't it ?

Dri :)