diff src/video/ataricommon/SDL_ataric2p_s.h @ 734:0310bb01091f

New C2P conversion routine
author Patrice Mandin <patmandin@gmail.com>
date Wed, 12 Nov 2003 18:45:48 +0000
parents f6ffac90895c
children b8d311d90021
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_ataric2p_s.h	Wed Nov 05 23:11:05 2003 +0000
+++ b/src/video/ataricommon/SDL_ataric2p_s.h	Wed Nov 12 18:45:48 2003 +0000
@@ -32,17 +32,13 @@
 
 /*--- Variables ---*/
 
-extern Uint8 Atari_table_c2p[2048];	/* Used by conversions routines */
+extern Uint8 SDL_Atari_table_c2p[2048];	/* Used by conversions routines */
 
 /*--- Functions pointers ---*/
 
-/* Initialize conversion table */
-
-extern void (*Atari_C2pInit)(void);
-
 /* Convert a chunky screen to bitplane screen */
 
-extern void (*Atari_C2pConvert)(
+extern void (*SDL_Atari_C2pConvert)(
 	Uint8 *src,			/* Source screen (one byte=one pixel) */
 	Uint8 *dest,		/* Destination (4/8 bits planes) */
 	Uint32 width,		/* Dimensions of screen to convert */
@@ -54,13 +50,9 @@
 
 /*--- 8 bits functions ---*/
 
-/* Initialize conversion table */
-
-void Atari_C2pInit8(void);
-
 /* Convert a chunky screen to bitplane screen */
 
-void Atari_C2pConvert8(
+void SDL_Atari_C2pConvert8(
 	Uint8 *src,			/* Source screen (one byte=one pixel) */
 	Uint8 *dest,		/* Destination (8 bits planes) */
 	Uint32 width,		/* Dimensions of screen to convert */
@@ -72,13 +64,9 @@
 
 /*--- 4 bits functions ---*/
 
-/* Initialize conversion table */
-
-void Atari_C2pInit4(void);
-
 /* Convert a chunky screen to bitplane screen */
 
-void Atari_C2pConvert4(
+void SDL_Atari_C2pConvert4(
 	Uint8 *src,			/* Source screen (one byte=one pixel) */
 	Uint8 *dest,		/* Destination (4 bits planes) */
 	Uint32 width,		/* Dimensions of screen to convert */
@@ -90,6 +78,6 @@
 
 /* Conversion palette */
 
-void Atari_C2pConvert4_pal(Uint16 *lightpalette);
+void SDL_Atari_C2pConvert4_pal(Uint16 *lightpalette);
 
 #endif /* _ATARI_C2P_h */