PLANE.H
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:

Windows编程

开发平台:

Visual C++

  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: plane.h
  7.  *  Content: planes include file
  8.  *
  9.  ***************************************************************************/
  10. #ifndef __PLANE_INCLUDED__
  11. #define __PLANE_INCLUDED__
  12. HPLANE *CreatePlane( USHORT, USHORT, USHORT );
  13. BOOL    TilePlane( HPLANE*, HBITMAPLIST*, HPOSLIST* );
  14. BOOL    SurfacePlane( HPLANE*, HSURFACELIST* );
  15. BOOL    SetSurface( HPLANE*, HSPRITE* );
  16. BOOL    GetSurface( HPLANE*, HSPRITE* );
  17. BOOL    SetPlaneX( HPLANE*, LONG, POSITION );
  18. LONG    GetPlaneX( HPLANE* );
  19. BOOL    SetPlaneY( HPLANE*, LONG, POSITION );
  20. LONG    GetPlaneY( HPLANE* );
  21. BOOL    SetPlaneSlideX( HPLANE*, LONG, POSITION );
  22. BOOL    SetPlaneVelX( HPLANE*, LONG, POSITION );
  23. BOOL    SetPlaneIncremX( HPLANE*, LONG, POSITION );
  24. BOOL    ScrollPlane( HSPRITE* );
  25. BOOL    DisplayPlane( GFX_HBM, HPLANE* );
  26. BOOL    DestroyPlane( HPLANE* );
  27. #endif