1,079
edits
(Merging of the SCI documentation. Done) |
m (Fix pseudocode display) |
||
Line 144: | Line 144: | ||
The general pseudocode for Animate goes as follows: | The general pseudocode for Animate goes as follows: | ||
< | <pre> | ||
0. Backup PicNotValid: PicNotValid' := PicNotValid | 0. Backup PicNotValid: PicNotValid' := PicNotValid | ||
1. If we don't have a new cast: | 1. If we don't have a new cast: | ||
Line 195: | Line 195: | ||
22.1.2. Clear the underbits | 22.1.2. Clear the underbits | ||
22.2. [24] if DISPOSE_ME is set, call view::dispose to dispose it | 22.2. [24] if DISPOSE_ME is set, call view::dispose to dispose it | ||
</ | </pre> | ||
With the sub-algorithm being: | With the sub-algorithm being: | ||
< | <pre> | ||
1. For each view from the cast list: | 1. For each view from the cast list: | ||
1.1. [2] If NO_UPDATE is set: | 1.1. [2] If NO_UPDATE is set: | ||
Line 223: | Line 223: | ||
14.1. If NO_UPDATE is set and IS_HIDDEN is clear: | 14.1. If NO_UPDATE is set and IS_HIDDEN is clear: | ||
14.1.1. [15] Draw the view | 14.1.1. [15] Draw the view | ||
</ | </pre> | ||
Note that the ReAnimate subfunction (0x0D) of the Graph kernel call redraws parts of the maps using the cast list created by Animate, whereas the ShowBits call (0x0C) copies parts of the active map to the physical screen. | Note that the ReAnimate subfunction (0x0D) of the Graph kernel call redraws parts of the maps using the cast list created by Animate, whereas the ShowBits call (0x0C) copies parts of the active map to the physical screen. |
edits