exupdate man page on DragonFly
Printed from http://www.polarhome.com/service/man/?qf=exupdate&af=0&tf=2&of=DragonFly
exupdate(3) Allegro manual exupdate(3)
NAME
exupdate - Supporting different screen update methods in a single pro‐
gram. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
Example exupdate
DESCRIPTION
This program demonstrates how to support double buffering, page flip‐
ping, 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 flip‐
ping, 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(3), END_OF_FUNCTION(3), END_OF_MAIN(3), LOCK_FUNCTION(3),
LOCK_VARIABLE(3), PALETTE(3), SCREEN_H(3), SCREEN_W(3), acquire_bit‐
map(3), allegro_error(3), allegro_init(3), allegro_message(3), bit‐
map_color_depth(3), blit(3), clear_bitmap(3), create_bitmap(3), cre‐
ate_system_bitmap(3), create_video_bitmap(3), desktop_palette(3),
destroy_bitmap(3), enable_triple_buffer(3), fixcos(3), fixed(3), fix‐
mul(3), fixsin(3), fixtoi(3), font(3), ftofix(3), generate_332_pal‐
ette(3), gfx_capabilities(3), gfx_mode_select_ex(3), install_int_ex(3),
install_keyboard(3), install_mouse(3), install_timer(3), keypressed(3),
line(3), makecol(3), poll_scroll(3), release_bitmap(3),
request_video_bitmap(3), screen(3), set_color_depth(3),
set_gfx_mode(3), set_palette(3), show_video_bitmap(3), textout_ex(3),
textprintf_ex(3), triangle(3), vsync(3), xor_mode(3)
Allegro version 4.4.2 exupdate(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|