logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

exbitmap - Loading and displaying PCX and BMP files. Allegro game programming library.

Description

       This  program  demonstrates how to load and display a bitmap file.  You have to use this example from the
       command line to specify as first parameter a graphic file in one of Allegro's supported formats.  If  the
       file is loaded successfully, it will be displayed until you press a key.

Name

       exbitmap - Loading and displaying PCX and BMP files. Allegro game programming library.

See Also

BITMAP(3alleg4),    END_OF_MAIN(3alleg4),    PALETTE(3alleg4),    SCREEN_H(3alleg4),   SCREEN_W(3alleg4),
       allegro_error(3alleg4),       allegro_init(3alleg4),       allegro_message(3alleg4),       blit(3alleg4),
       destroy_bitmap(3alleg4),      install_keyboard(3alleg4),      load_bitmap(3alleg4),     readkey(3alleg4),
       screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4)

Allegro                                           version 4.4.3                                exbitmap(3alleg4)

Synopsis

#include<allegro.h>Exampleexbitmap

See Also