1 /* 2 ######################################## 3 #### WILL MOVE IN THE GFX DLL/SO 4 ######################################## 5 */ 6 7 8 /*************************************************************************/ 9 /* */ 10 /* TRANSitions_FX.H */ 11 /* */ 12 /* Some little transitions to make things appear 'cuter' */ 13 /* */ 14 /* If you have any idea for 'not-so-hard-to-program-nor-too-slow' FX */ 15 /* then do it or tell someone (e.g. ME [Zeograd]) to do so ;) */ 16 /* */ 17 /*************************************************************************/ 18 19 #ifndef _TRANS_FX_H_ 20 #define _TRANS_FX_H_ 21 22 #ifdef ALLEGRO 23 #include <allegro.h> 24 #endif 25 26 #include <string.h> 27 #include "cleantyp.h" 28 #include "pce.h" 29 30 extern const char nb_fadein; 31 extern const char nb_fadeout; 32 // used to know how many functions we have 33 34 35 #ifdef ALLEGRO 36 37 extern void (*fade_in_proc[5])(BITMAP*,unsigned,unsigned,unsigned,unsigned); 38 39 #else 40 41 extern void (*fade_in_proc[5])(UChar*,unsigned,unsigned,unsigned,unsigned); 42 43 #endif 44 45 extern void (*fade_out_proc[5])(unsigned,unsigned,unsigned,unsigned); 46 47 #endif 48