SCI Kernel Documentation/Picture Functions: Difference between revisions
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
<div align="center"><span style="font-size: 22pt">Picture Functions</span><br />''Author: [[Jeff Stephenson]] 1988-04-04''<br />''Revision by: [[David Slayback]] 1989-07-25''</div></div> | <div align="center"><span style="font-size: 22pt">Picture Functions</span><br />''Author: [[Jeff Stephenson]] 1988-04-04''<br />''Revision by: [[David Slayback]] 1989-07-25''</div></div> | ||
<br /> | |||
==<br /> Picture Functions == | ==<br /> Picture Functions == | ||
| Line 72: | Line 71: | ||
</blockquote> | </blockquote> | ||
==<br /> References == | |||
<references /><!-- Do not edit this section. It is autopopulated by <ref></ref> tags --> | |||
==<br /> Also See == | |||
< | |||
* [[:Category:Official Documentation|Official Documentation]] | |||
* [[:Category:Interpreter Articles|Interpreter Articles]] | |||
* [[:Category:Scripting Articles|Scripting Articles]] | |||
* [[Picture Resource (SCI)]] | |||
* [[SCI Specifications: Chapter 1 - Introduction#PIC|PIC in the SCI Specifications]] | |||
* [[:Category:Picture Resources|Picture Resource Articles]] | |||
| | ||
[[SCI Kernel Documentation | Table of Contents]] | [[Official SCI Documentation]]<br /> | ||
[[SCI Kernel Documentation|Table of Contents]] | |||
<span style="float: left">[[SCI Kernel Documentation/String Functions|< Previous: String Functions]]</span> | <span style="float: left">[[SCI Kernel Documentation/String Functions|< Previous: String Functions]]</span> | ||
<span style="float: right">[[SCI Kernel Documentation/Save-Restore Game Functions|Next: Save/Restore Game Functions >]]</span> | <span style="float: right">[[SCI Kernel Documentation/Save-Restore Game Functions|Next: Save/Restore Game Functions >]]</span> | ||
| | ||
[[Category:References]] | |||
[[Category:SCI References]] | |||
[[Category:Historical Pages]] | |||
[[Category:SCI Historical Pages]] | |||
[[Category:Development]] | |||
[[Category:SCI Development]] | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:SCI Documentation]] | [[Category:SCI Documentation]] | ||
[[Category:SCI | [[Category:Official Documentation]] | ||
[[Category:SCI | [[Category:Official SCI Documentation]] | ||
[[Category:SCI | [[Category:Technical Info]] | ||
[[Category:SCI Picture | [[Category:SCI Technical Info]] | ||
[[Category:Interpreter Articles]] | |||
[[Category:SCI Interpreter Articles]] | |||
[[Category:Scripting Articles]] | |||
[[Category:SCI Scripting Articles]] | |||
[[Category:Picture Resources]] | |||
[[Category:SCI Picture Resources]] | |||
Revision as of 10:33, 25 December 2025
Official SCI Documentation
Table of Contents
Picture Functions
(DrawPic picNum [showStyle] [clearPic] [pallete])
Clear the background screen, then draw picture number picNum in it. The picture will not be brought to the screen until the first Animate call following the DrawPic. To bring the picture to the screen immediately, call (Animate NULL).
The optional showStyle specifies the manner in which the kernel will bring the picture to the screen -- current possibilities are horizontal, vertical, left, and right wipe, horizontal and vertical shutter, iris in and out, dissolve, or just plain. See system.sh for the style constants.
If clearPic is FALSE, the current picture will overlay onto the existing picture, otherwise the default behavior will happen -- the previous picture will be cleared before being drawn.
palette, ranging from 0 - 3, will specify which of the 4 palettes to use to draw the picture. The default is 0.
(Show what)
Displays a given screen (visual, priority, or control) based on the value of what. This can be used for debugging to see why an actor is not able to enter a given area or why priorities aren't working properly. The values of what are one of
VMAP (visual screen -- you're generally displaying this) PMAP (priority screen -- objects will have their priorities displayed, and animation will continue on this screen) CMAP (control screen -- animation is stopped pending a keystroke when this screen is displayed, since you won't be able to see the Actors)
(PicNotValid [value])
Returns TRUE if the picture window is actually shown on the screen, FALSE if the screen needs to be updated. If [value] is passed, sets the status to [value].
(ShakeScreen num [dir])
num is how many times to shake the screen, and dir is the direction to do the shaking: 1=down(default), 2=right, 3=down/right
(CoordPri yCoord)
Returns the priority that corresponds to yCoord on the priority map.
References
Also See
- Official Documentation
- Interpreter Articles
- Scripting Articles
- Picture Resource (SCI)
- PIC in the SCI Specifications
- Picture Resource Articles
Official SCI Documentation
Table of Contents
< Previous: String Functions Next: Save/Restore Game Functions >