|
|
| version 1.1, 2004/08/01 05:31:31 | version 1.4, 2004/08/07 12:10:27 |
|---|---|
| Line 3 | Line 3 |
| extern "C" { | extern "C" { |
| #endif | #endif |
| extern RGB32 x1n_pal32[256]; // xm_palette | extern RGB32 x1n_pal32[256]; // xm_palette |
| extern RGB32 x1z_pal32[4096+8]; // GRPHPAL4096 | extern RGB32 x1z_pal32[4096+8]; // GRPHPAL4096 |
| Line 12 extern RGB16 x1n_pal16[256]; // xmil_p | Line 11 extern RGB16 x1n_pal16[256]; // xmil_p |
| extern RGB16 x1z_pal16[4096+8]; // GRPHPAL16bit | extern RGB16 x1z_pal16[4096+8]; // GRPHPAL16bit |
| #endif | #endif |
| extern int xm_palettes; | extern int xm_palettes; |
| void pal_makegrad(RGB32 *pal, int pals, UINT32 bg, UINT32 fg); | |
| void pals_cnv16pal(RGB16 *dst, const RGB32 *src, UINT pals); | |
| extern RGB32 TEXTPALS[24]; | void pal_settext(REG8 num); // textpalette1 |
| extern RGB32 GRPHPALS[2][16]; | void pal_setgrph(REG8 bank, REG8 num); // grphpalette1 |
| extern RGB32 GRPHPALS64[2][64]; | void pal_setgrph4096(UINT num); // grphpal4096 |
| extern BYTE pal_renewal; | void pal_update(void); |
| void textpalette1(BYTE num); | |
| void grphpalette1(BYTE bank, BYTE num); | |
| void grphpal4096(WORD num); | |
| void reflesh_palette(void); | |
| void pals_cnv16pal(RGB16 *dst, const RGB32 *src, UINT pals); | void pal_reset(void); |
| void pal_makegrad(RGB32 *pal, int pals, DWORD bg, DWORD fg); | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |