Man Linux: Main Page and Category List

NAME

       exupdate  -  Supporting  different  screen  update  methods in a single
       program. Allegro game programming library.

SYNOPSIS

       #include <allegro.h>

       Example exupdate

DESCRIPTION

       This  program  demonstrates  how  to  support  double  buffering,  page
       flipping,  and triple buffering as options within a single program, and
       how to make things run at a constant rate no matter what the  speed  of
       your  computer.  You  have to use this example from the command line to
       specify as first parameter a number which represents the type of  video
       update you want: 1 for double buffering with memory bitmaps, 2 for page
       flipping, 3 for triple buffering and 4 for double buffering with system
       bitmaps.  After this, a dialog allows you to select a screen resolution
       and finally you will see a kaleidoscopic animation, along with a frames
       per second counter on the top left of the screen.

SEE ALSO

       BITMAP(3alleg),      END_OF_FUNCTION(3alleg),      END_OF_MAIN(3alleg),
       LOCK_FUNCTION(3alleg),     LOCK_VARIABLE(3alleg),      PALETTE(3alleg),
       SCREEN_H(3alleg),       SCREEN_W(3alleg),       acquire_bitmap(3alleg),
       allegro_error(3alleg),  allegro_init(3alleg),  allegro_message(3alleg),
       bitmap_color_depth(3alleg),     blit(3alleg),     clear_bitmap(3alleg),
       create_bitmap(3alleg),                    create_system_bitmap(3alleg),
       create_video_bitmap(3alleg),                   desktop_palette(3alleg),
       destroy_bitmap(3alleg),  enable_triple_buffer(3alleg),  fixcos(3alleg),
       fixed(3alleg),    fixmul(3alleg),    fixsin(3alleg),    fixtoi(3alleg),
       font(3alleg),       ftofix(3alleg),       generate_332_palette(3alleg),
       gfx_capabilities(3alleg),                   gfx_mode_select_ex(3alleg),
       install_int_ex(3alleg),                       install_keyboard(3alleg),
       install_mouse(3alleg),    install_timer(3alleg),    keypressed(3alleg),
       line(3alleg),           makecol(3alleg),           poll_scroll(3alleg),
       release_bitmap(3alleg),  request_video_bitmap(3alleg),  screen(3alleg),
       set_color_depth(3alleg),   set_gfx_mode(3alleg),   set_palette(3alleg),
       show_video_bitmap(3alleg),  textout_ex(3alleg),  textprintf_ex(3alleg),
       triangle(3alleg), vsync(3alleg), xor_mode(3alleg)