This wiki is out of date, use the continuation of this wiki instead

Restore modes

From FenixWiki

Revision as of 01:14, 3 May 2007 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Definition

Restore modes are used to define the type of restoration, needed to be applied to the screen background, by assigning them to the global variable restore_type. This influences if and how the background is restored after each frame.

See also dump_type and its constants.

Constant - Value - Description
NO_RESTORE - -1 - The background won't be restored (i.e. redrawn).
PARTIAL_RESTORE - 0 - The background will be restored in areas where graphics have been painted or text written.
COMPLETE_RESTORE - 1 - The background will be completely restored.
Personal tools