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.
24 lines
528 B
24 lines
528 B
/** |
|
* @file dx.h |
|
* |
|
* Interface of functions setting up the graphics pipeline. |
|
*/ |
|
#ifndef __DX_H__ |
|
#define __DX_H__ |
|
|
|
extern IDirectDraw *lpDDInterface; |
|
extern IDirectDrawPalette *lpDDPalette; |
|
extern BYTE *gpBuffer; |
|
extern IDirectDrawSurface *lpDDSBackBuf; |
|
extern IDirectDrawSurface *lpDDSPrimary; |
|
extern char gbBackBuf; |
|
extern char gbEmulate; |
|
|
|
void dx_init(HWND hWnd); |
|
void lock_buf(BYTE idx); |
|
void unlock_buf(BYTE idx); |
|
void dx_cleanup(); |
|
void dx_reinit(); |
|
void j_dx_reinit(); |
|
|
|
#endif /* __DX_H__ */
|
|
|