.\" Generated by the Allegro makedoc utility .TH exupdate 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME exupdate \- Supporting different screen update methods in a single program. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B Example exupdate .SH 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. .SH SEE ALSO .BR BITMAP (3alleg4), .BR END_OF_FUNCTION (3alleg4), .BR END_OF_MAIN (3alleg4), .BR LOCK_FUNCTION (3alleg4), .BR LOCK_VARIABLE (3alleg4), .BR PALETTE (3alleg4), .BR SCREEN_H (3alleg4), .BR SCREEN_W (3alleg4), .BR acquire_bitmap (3alleg4), .BR allegro_error (3alleg4), .BR allegro_init (3alleg4), .BR allegro_message (3alleg4), .BR bitmap_color_depth (3alleg4), .BR blit (3alleg4), .BR clear_bitmap (3alleg4), .BR create_bitmap (3alleg4), .BR create_system_bitmap (3alleg4), .BR create_video_bitmap (3alleg4), .BR desktop_palette (3alleg4), .BR destroy_bitmap (3alleg4), .BR enable_triple_buffer (3alleg4), .BR fixcos (3alleg4), .BR fixed (3alleg4), .BR fixmul (3alleg4), .BR fixsin (3alleg4), .BR fixtoi (3alleg4), .BR font (3alleg4), .BR ftofix (3alleg4), .BR generate_332_palette (3alleg4), .BR gfx_capabilities (3alleg4), .BR gfx_mode_select_ex (3alleg4), .BR install_int_ex (3alleg4), .BR install_keyboard (3alleg4), .BR install_mouse (3alleg4), .BR install_timer (3alleg4), .BR keypressed (3alleg4), .BR line (3alleg4), .BR makecol (3alleg4), .BR poll_scroll (3alleg4), .BR release_bitmap (3alleg4), .BR request_video_bitmap (3alleg4), .BR screen (3alleg4), .BR set_color_depth (3alleg4), .BR set_gfx_mode (3alleg4), .BR set_palette (3alleg4), .BR show_video_bitmap (3alleg4), .BR textout_ex (3alleg4), .BR textprintf_ex (3alleg4), .BR triangle (3alleg4), .BR vsync (3alleg4), .BR xor_mode (3alleg4)