Difference between revisions of "Useful Routines"
From WikiPrizm
Jump to navigationJump to searchKermMartian (talk | contribs) |
|||
Line 16: | Line 16: | ||
=== SourceCoder-Compatible Sprites/Images === | === SourceCoder-Compatible Sprites/Images === | ||
+ | * [[CopySprite]] - Works for 16-bit images and sprites | ||
These routines work particularly well with the 8-bit, 2-bit, and 1-bit indexed data output from SourceCoder. | These routines work particularly well with the 8-bit, 2-bit, and 1-bit indexed data output from SourceCoder. | ||
* [[CopySpriteNBit]] - Works for 8-bit, 2-bit, and 1-bit indexed data | * [[CopySpriteNBit]] - Works for 8-bit, 2-bit, and 1-bit indexed data |
Revision as of 23:49, 12 January 2013
This will soon be populated with routines and child pages; in the meantime, please visit the following Cemetech thread:
http://www.cemetech.net/forum/viewtopic.php?t=6114
Contents
Keyboard Routines
Hardware Interface Routines
Graphical Routines
- CopySpriteMaskedAlpha - Copy a sprite with an alpha mask onto the screen
- HeightColor - Convert a value between a maximum and a minimum value into a color.
SourceCoder-Compatible Sprites/Images
- CopySprite - Works for 16-bit images and sprites
These routines work particularly well with the 8-bit, 2-bit, and 1-bit indexed data output from SourceCoder.
- CopySpriteNBit - Works for 8-bit, 2-bit, and 1-bit indexed data
- CopySpriteMasked2Bit - Treats one of the four 2-bit colors as a transparent color
Text
- PrintMiniFix - Print a text on the screen in mini/small (glyph) font
Menus
- Menu - Displays a menu system similar to Geometry plugin's one and returns the selected value.