void init_buffer() { int i; display_sprite(screen_buffer_aligned, bitmap_hxc2001logo_bmp,(SCREEN_XRESOL-bitmap_hxc2001logo_bmp->Xsize), (SCREEN_YRESOL-bitmap_hxc2001logo_bmp->Ysize)); display_sprite(screen_buffer_aligned, bitmap_sdhxcfelogo_bmp,(SCREEN_XRESOL-bitmap_sdhxcfelogo_bmp->Xsize)/2, (SCREEN_YRESOL-bitmap_sdhxcfelogo_bmp->Ysize)); h_line(SCREEN_YRESOL-34,0xFFFF) ; h_line(SCREEN_YRESOL-((48+(3*8))+2),0xFFFF) ; h_line(8,0xFFFF) ; hxc_printf(0,0,SCREEN_YRESOL-(8*1),"Ver %s",VERSIONCODE); hxc_printf(1,0,0,"SDCard HxC Floppy Emulator Manager for Atari ST"); h_line(SCREEN_YRESOL-(48+20)+24-2,0xFFFF) ; hxc_printf(1,0,SCREEN_YRESOL-(48+20)+24,">>>Press HELP key for the function key list<<<"); i=1; hxc_printf(1,0,HELP_Y_POS+(i*8), "SDCard HxC Floppy Emulator file selector for Atari ST"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "(c) 2006-2011 HxC2001 / Jean-Francois DEL NERO"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "Check for updates on :"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "http://hxc2001.free.fr/floppy_drive_emulator/"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "Email : [email protected]"); i++; hxc_printf(1,0,HELP_Y_POS+(i*8), "V%s - %s",VERSIONCODE,DATECODE); }
/************************************************** * DISPLAY * DESCRIPION: Displays the input object unless clear is set * in which case the object is removed from the screen and * the background color is used instead. *************************************************/ void display_photon(struct Photon* photon, char clear) { display_sprite(&photon->sprite, clear); }
void Map::display_sprite(Sprite& sprite, const Rectangle& xy) { display_sprite(sprite, xy.get_x(), xy.get_y()); }