GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FLI_BMP_DIRTY_FROM (3)

NAME

fli_bmp_dirty_from, fli_bmp_dirty_to - Indicate which parts of the image have changed. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

extern int fli_bmp_dirty_from;

extern int fli_bmp_dirty_to;

DESCRIPTION

These variables are set by next_fli_frame() to indicate which part of the fli_bitmap has changed since the last call to reset_fli_variables(). If fli_bmp_dirty_from is greater than fli_bmp_dirty_to, the bitmap has not changed, otherwise lines fli_bmp_dirty_from to fli_bmp_dirty_to (inclusive) have altered. You can use these when copying the fli_bitmap onto the screen, to avoid moving data unnecessarily. Example:

   if (fli_bmp_dirty_from <= fli_bmp_dirty_to)
      blit(fli_bitmap, screen, 0, fli_bmp_dirty_from,
           0, fli_bmp_dirty_from, fli_bitmap->w,
           fli_bmp_dirty_to - fli_bmp_dirty_from + 1);

SEE ALSO

fli_bitmap(3), reset_fli_variables(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro FLI_BMP_DIRTY_FROM (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.