www.pudn.com > XmudOSr.rar > FacePlate.h
#ifndef __FACEPLATE_H__ #define __FACEPLATE_H__ void Free2DSurfaces(); HRESULT Draw2DSurFaces(); HRESULT Create2DSurfaces(LPDIRECTDRAW); HRESULT DDSetColorKey(IDirectDrawSurface *pdds, COLORREF rgb); DWORD DDColorMatch(IDirectDrawSurface *pdds, COLORREF rgb); IDirectDrawSurface * DDLoadBitmap(IDirectDraw *pdd, LPCTSTR tszBitmap, int dx, int dy); void DDReLoadBitmap(IDirectDrawSurface *pdds, LPCTSTR tszBitmap, int dx, int dy); HRESULT DDCopyBitmap(IDirectDrawSurface *pdds, HBITMAP hbm, int x, int y, int dx, int dy); BOOL LoadBitmapInfo(LPCTSTR,BITMAP &); void MyGetTextExtentPoint32(char *string,long len,SIZE *Size,BOOL bFlag); void DrawGameString(char *string,LPRECT lpRect,UINT uFormat ,COLORREF TextColor,COLORREF BkColor,BOOL bFlag); void DrawInterLace(); void DrawProgress(BOOL bLogon); HRESULT getObject( int x, int y, LPDIRECTDRAWSURFACE surf, LPRECT src, DWORD flags ); HRESULT bltObject( int x, int y, LPDIRECTDRAWSURFACE surf, LPRECT src, DWORD flags ); HRESULT bltButtonObject( LPRECT rctar, LPRECT src, LPDIRECTDRAWSURFACE surf, DWORD flags ); void bltScore( char *num, int x, int y ,LPRECT src,LPDIRECTDRAWSURFACE surf); void ReleaseD3DScreen(); void ShowErrorMsg(char *szErrorMsg); #endif