2024-05-17 11:47:48 -04:00
|
|
|
|
|
|
|
|
2024-08-16 16:34:06 -04:00
|
|
|
using namespace std;
|
2024-05-17 11:47:48 -04:00
|
|
|
|
2024-08-16 16:34:06 -04:00
|
|
|
#pragma once
|
2024-05-17 11:47:48 -04:00
|
|
|
|
2024-08-16 16:34:06 -04:00
|
|
|
#include "ddraw.h"
|
2024-05-17 11:47:48 -04:00
|
|
|
|
|
|
|
extern void DDSetDebug (BOOL bDebug);
|
|
|
|
extern IDirectDrawSurface * DDConnectBitmap(IDirectDraw *pdd, HBITMAP hbm);
|
|
|
|
extern IDirectDrawPalette * DDLoadPalette(IDirectDraw *pdd, LPCSTR szBitmap);
|
|
|
|
extern IDirectDrawSurface * DDLoadBitmap(IDirectDraw *pdd, LPCSTR szBitmap, int dx, int dy);
|
|
|
|
extern HRESULT DDReLoadBitmap(IDirectDrawSurface *pdds, LPCSTR szBitmap);
|
|
|
|
extern HRESULT DDCopyBitmap(IDirectDrawSurface *pdds, HBITMAP hbm, int x, int y, int dx, int dy);
|
|
|
|
extern DWORD DDColorMatch(IDirectDrawSurface *pdds, COLORREF rgb);
|
|
|
|
extern HRESULT DDSetColorKey(IDirectDrawSurface *pdds, COLORREF rgb);
|
|
|
|
extern HRESULT DDSetColorKey2(IDirectDrawSurface *pdds, COLORREF rgb1, COLORREF rgb2);
|
|
|
|
|
2024-08-16 16:34:06 -04:00
|
|
|
|