Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Clippings/createsprites.c/NewSprite.txt
nErr = NewSprite(&(gSprites[lIndex]), /* on return, the ID of the new sprite */ |
gSpriteWorld, /* the sprite world for this sprite */ |
gImageDescriptions[lIndex], /* image description of the spriteÕs image. */ |
*gCompressedPictures[lIndex], /* sprite image data */ |
&matrix, /* sprite matrix */ |
true, /* is sprite visible? */ |
lIndex); /* sprite layer */ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14