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

Restore modes

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 01:15, 3 May 2007 (edit)
Sandman (Talk | contribs)
m (Restoration modes moved to Restore modes)
← Previous diff
Revision as of 00:03, 4 May 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 6: Line 6:
See also [[dump_type]] and [[dump_modes|its constants]]. See also [[dump_type]] and [[dump_modes|its constants]].
 +== List ==
{| {|
| ''Constant'' || - ''Value'' || - ''Description'' | ''Constant'' || - ''Value'' || - ''Description''

Revision as of 00:03, 4 May 2007


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.

List

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