File:  [RetroPC.NET] / np2 / vram / scrnsave.h
Revision 1.3: download - view: text, annotated - select for diffs
Sat Feb 12 21:40:39 2005 JST (20 years, 8 months ago) by yui
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, HEAD
fix...


enum {
	SCRNSAVE_1BIT	= 0,
	SCRNSAVE_4BIT	= 1,
	SCRNSAVE_8BIT	= 2,
	SCRNSAVE_24BIT	= 3
};

enum {
	SCRNSAVE_AUTO	= 0
};

typedef struct {
	int		width;
	int		height;
	UINT	pals;
	UINT	type;
} *SCRNSAVE;


#ifdef __cplusplus
extern "C" {
#endif

SCRNSAVE scrnsave_get(void);
void scrnsave_trash(SCRNSAVE hdl);
BRESULT scrnsave_writebmp(SCRNSAVE hdl, const OEMCHAR *filename, UINT flag);
BRESULT scrnsave_writegif(SCRNSAVE hdl, const OEMCHAR *filename, UINT flag);

#ifdef __cplusplus
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>