Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.9 KiB

  1. /*==========================================================================
  2. *
  3. * Copyright (c) 1995 - 1997 Microsoft Corporation. All Rights Reserved.
  4. * Copyright (C) 1994-1995 ATI Technologies Inc. All Rights Reserved.
  5. *
  6. * File: sprite.h
  7. * Content: sprite include file
  8. *
  9. ***************************************************************************/
  10. #ifndef __SPRITE_INCLUDED__
  11. #define __SPRITE_INCLUDED__
  12. HSPRITE *CreateSprite( USHORT, LONG, LONG, USHORT, USHORT, USHORT, USHORT, SHORT, BOOL );
  13. BOOL BitBltSprite( HSPRITE*, GFX_HBM, ACTION, DIRECTION, SHORT, SHORT, USHORT, USHORT );
  14. BOOL SetSpriteAction( HSPRITE*, ACTION, DIRECTION );
  15. ACTION GetSpriteAction( HSPRITE* );
  16. BOOL ChangeSpriteDirection( HSPRITE* );
  17. DIRECTION GetSpriteDirection( HSPRITE* );
  18. BOOL SetSpriteBitmap( HSPRITE*, USHORT );
  19. USHORT GetSpriteBitmap( HSPRITE* );
  20. BOOL SetSpriteActive( HSPRITE*, BOOL );
  21. BOOL GetSpriteActive( HSPRITE* );
  22. BOOL SetSpriteVelX( HSPRITE*, LONG, POSITION );
  23. LONG GetSpriteVelX( HSPRITE* );
  24. BOOL SetSpriteVelY( HSPRITE*, LONG, POSITION );
  25. LONG GetSpriteVelY( HSPRITE* );
  26. BOOL SetSpriteAccX( HSPRITE*, LONG, POSITION );
  27. LONG GetSpriteAccX( HSPRITE* );
  28. BOOL SetSpriteAccY( HSPRITE*, LONG, POSITION );
  29. LONG GetSpriteAccY( HSPRITE* );
  30. BOOL SetSpriteX( HSPRITE*, LONG, POSITION );
  31. LONG GetSpriteX( HSPRITE* );
  32. BOOL SetSpriteY( HSPRITE*, LONG, POSITION );
  33. LONG GetSpriteY( HSPRITE* );
  34. BOOL SetSpriteSwitch( HSPRITE*, LONG, POSITION );
  35. BOOL IncrementSpriteSwitch( HSPRITE*, LONG );
  36. BOOL SetSpriteSwitchType( HSPRITE*, SWITCHING );
  37. SWITCHING GetSpriteSwitchType( HSPRITE* );
  38. BOOL SetSpriteSwitchForward( HSPRITE*, BOOL );
  39. BOOL GetSpriteSwitchForward( HSPRITE* );
  40. BOOL SetSpriteSwitchDone( HSPRITE*, BOOL );
  41. BOOL GetSpriteSwitchDone( HSPRITE* );
  42. BOOL DisplaySprite( GFX_HBM, HSPRITE*, LONG );
  43. BOOL DestroySprite( HSPRITE* );
  44. #endif