File:  [RetroPC.NET] / np2 / vram / scrnsave.h
Revision 1.1: download - view: text, annotated - select for diffs
Tue Jun 22 00:19:15 2004 JST (21 years, 4 months ago) by yui
Branches: MAIN
CVS tags: VER_0_80, VER_0_79, HEAD
add gif encoder (T.Yui)


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);
BOOL scrnsave_writebmp(SCRNSAVE hdl, const char *filename, UINT flag);
BOOL scrnsave_writegif(SCRNSAVE hdl, const char *filename, UINT flag);

#ifdef __cplusplus
}
#endif


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