Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: djgpp AT delorie DOT com From: admcs AT megsinet DOT net (Paul Schmidt) Subject: Can't get this to work (Allegro) Date: Mon, 7 Apr 1997 18:13:04 -0500 Message-ID: <19970407231303409.AAA166@ns1.megsinet.net> Could someone please tell me how I could get this to open notecard.pcx and display it (centered) on the mode 13h screen? Thanks in advance, Paul Schmidt #include #include int main() { BITMAP *card; PALETTE p; allegro_init(); get_palette(p); card = create_bitmap(200, 120); set_gfx_mode(GFX_VGA, 320, 200, 0, 0); card = load_pcx("notecard.pcx", p); blit(card, screen, 0, 0, 20, 20, 200, 120); getch(); return 0; } Paul Schmidt ADM Computer Services admcs AT megsinet DOT net ^---http://krypton.mankato.msus.edu/~hayden/geek.html to decode