gray.h Header File

Header File Index

Routines for grayscale graphics

 Functions
GrayAdjust
Adjusts grayscale support to make it flickerless.
GrayCheckRunning
Checks whether grayscale mode is active.
GrayDBufCleanup
Uninitializes grayscale double-buffering.
GrayDBufGetActiveIdx
Returns the index of the currently visible double buffer.
GrayDBufGetActivePlane
Returns a pointer to a specific plane of the currently visible buffer.
GrayDBufGetHiddenIdx
Returns the index of the currently invisible double buffer.
GrayDBufGetHiddenPlane
Returns a pointer to a specific plane of the currently hidden buffer.
GrayDBufGetPlane
Returns a pointer to a specific plane of a specific buffer.
GrayDBufInit
Initializes grayscale double-buffering mode.
GrayDBufSetActiveAMSPlane
Forces graphics routines to use selected plane of visible buffer.
GrayDBufSetActiveIdx
Sets the currently visible double buffer.
GrayDBufSetActiveIdxSync
Synchronizes and sets the currently visible double buffer.
GrayDBufSetAMSPlane
Forces graphics routines to use selected plane of a specific buffer.
GrayDBufSetHiddenAMSPlane
Forces graphics routines to use selected plane of hidden buffer.
GrayDBufToggle
Toggles the currently visible double buffer.
GrayDBufToggleSync
Synchronizes and toggles the currently visible double buffer.
GrayGetInt1Handler
Returns the interrupt handler executed by the grayscale algorithm.
GrayGetPlane
Gets the address of a grayscale plane.
GrayGetSwitchCount
Returns the current plane switch counter.
GrayGetVersionString
Returns the embedded grayscale support version string.
GrayMode
This function has become obsolete.
GrayOff
Deactivates grayscale mode.
GrayOn
Activates grayscale mode with four shades of gray.
GrayOnThrow
Activates grayscale mode, throwing an error if unsuccessful.
GraySetAMSPlane
Forces graphics routines to use selected plane.
GraySetInt1Handler
Sets the interrupt handler executed by the grayscale algorithm.
GraySetSwitchCount
Sets the current plane switch counter to a given value.
GrayWaitNSwitches
Waits for a given number of plane switches.
 Constants
GRAYDBUFFER_SIZE
Specifies the necessary size of a user-allocated double-buffer.
 Predefined Types
Bool
An enumeration to describe true or false values.
GrayModes
An enumeration to describe legal grayscale modes.
GrayPlanes
An enumeration to describe legal grayscale planes.
INT_HANDLER
A pointer to an interrupt handler.


See also: graph.h, sprites.h