1 #ifndef _DJGPP_INCLUDE_HCD_H 2 #define _DJGPP_INCLUDE_HCD_H 3 4 #include "cleantyp.h" 5 #include "pce.h" 6 #include "lsmp3.h" 7 8 #if defined(DOS) || defined(linux) 9 #include "libamp.h" 10 #endif 11 12 extern UInt32 HCD_first_track; 13 /* first track of emulated cd */ 14 15 extern UInt32 HCD_last_track; 16 /* last track of emulated cd */ 17 18 extern UInt32 HCD_frame_at_beginning_of_track; 19 /* nb of frame when this track started, 20 * used to make subtitle 21 */ 22 23 extern char HCD_cover_filename[256]; 24 25 extern FILE * HCD_iso_FILE; 26 27 28 #ifdef ALLEGRO 29 30 extern PACKFILE * HCD_packed_iso_FILE; 31 32 #endif 33 34 #ifdef SDL_mixer 35 #include "osd_linux_sdl_music.h" 36 #endif 37 38 #ifdef OGG_SUPPORT 39 #include "ogglength.h" 40 #endif 41 42 int fill_HCD_info(char* name); 43 44 void HCD_play_sectors(int begin_sect, int sect_len, char repeat); 45 46 void HCD_pause_playing(); 47 48 void HCD_play_track(UChar track, char repeat); 49 50 void HCD_shutdown(); 51 52 void HCD_handle_subtitle(); 53 54 void HCD_iso_read_sector(unsigned char *p, UInt32 dum, UInt32 result); 55 56 void HCD_cd_read_sector(unsigned char *p, UInt32 dum, UInt32 result); 57 58 #endif 59