File:  [RetroPC.NET] / xmil / vram / palettes.h
Revision 1.2: download - view: text, annotated - select for diffs
Thu Aug 5 00:18:26 2004 JST (21 years, 2 months ago) by yui
Branches: MAIN
CVS tags: HEAD
fix...


#ifdef __cplusplus
extern "C" {
#endif

extern	RGB32	x1n_pal32[256];			// xm_palette
extern	RGB32	x1z_pal32[4096+8];		// GRPHPAL4096

#if defined(SUPPORT_16BPP)
extern	RGB16	x1n_pal16[256];			// xmil_pal16
extern	RGB16	x1z_pal16[4096+8];		// GRPHPAL16bit
#endif

extern	int		xm_palettes;
extern	BYTE	pal_renewal;

void pal_makegrad(RGB32 *pal, int pals, UINT32 bg, UINT32 fg);
void pals_cnv16pal(RGB16 *dst, const RGB32 *src, UINT pals);

void pal_settext(REG8 num);							// textpalette1
void pal_setgrph(REG8 bank, REG8 num);				// grphpalette1
void pal_setgrph4096(UINT num);						// grphpal4096
void palettes(void);
void reflesh_palette(void);

#ifdef __cplusplus
}
#endif


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