- This wiki is out of date, use the continuation of this wiki instead
Restore modes
From FenixWiki
(Difference between revisions)
Revision as of 10:22, 28 June 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 15:57, 2 December 2007 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
Line 12: | Line 12: | ||
| NO_RESTORE || - -1 || - The background won't be restored (i.e. redrawn). | | 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. | + | | PARTIAL_RESTORE|| - 0 || - The background will be restored in areas where graphics have been painted or text written (default). |
|- | |- | ||
| COMPLETE_RESTORE || - 1 || - The background will be completely restored. | | COMPLETE_RESTORE || - 1 || - The background will be completely restored. | ||
|} | |} |
Revision as of 15:57, 2 December 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 dump modes.
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 (default). |
COMPLETE_RESTORE | - 1 | - The background will be completely restored. |