#include "sgl.h" Uint16 mode; void slColOffsetOn( mode );
Uint16 mode - Screen affected by color offset value.
void - returns nothing.
Apply color offset to NBG1 and NBG3.
slColOffsetOn ( NBG1ON | NBG3ON ); Disable all BG color offsets.
slColOffsetOn ( OFF );
slColOffsetOff | slColOffsetAUse | slColOffsetBUse | slColOffsetA |
slColOffsetB | slColOffsetScrn | VDP2_CLOFEN |
#include "sgl.h" Uint16 mode; void slColOffsetOff( mode );
Uint16 mode - Screen that is not affected by color offset values.
void - returns nothing.
slColOffsetOff ( NBG2ON | NBG3ON );
slColOffsetOn | slColOffsetAUse | slColOffsetBUse | slColOffsetA |
slColOffsetB | slColOffsetScrn |
#include "sgl.h" Uint16 mode; void slColOffsetAUse( mode );
Uint16 mode - Screen affected by color offset value.
void - returns nothing.
slColOffsetA ( 35, 23, 12 ); : slColOffsetAUse ( NBG0ON );
slColOffsetOn | slColOffsetOff | slColOffsetBUse | slColOffsetA |
slColOffsetB | slColOffsetScrn | VDP2_CLOFEN |
#include "sgl.h" Uint16 mode; void slColOffsetBUse( mode );
Uint16 mode - Screen affected by color offset value.
void - returns nothing.
slColOffsetB ( 35, 23, 12 ); : slColOffsetBUse ( NBG0ON );
slColOffsetOn | slColOffsetOff | slColOffsetAUse | slColOffsetA |
slColOffsetB | slColOffsetScrn | VDP2_CLOFEN |
#include "sgl.h" Sint16 r, g, b; void slColOffsetA( r, g, b ); void slColOffsetB( r, g, b );
Sint16 r - Offset value for red.
Sint16 g - Green offset value.
Sint16 b - Offset value of blue.
void - returns nothing.
slColOffsetA ( 35, 23, 12 ); : slColOffsetAUse ( NBG0ON );
slColOffsetOn | slColOffsetOff | slColOffsetAUse | slColOffsetBUse |
slColOffsetScrn | VDP2_COAR | VDP2_COAG | VDP2_COAB |
VDP2_COBR | VDP2_COBG | VDP2_COBB |
#include "sgl.h" Uint16 mode_a; Uint16 mode_b; void slColOffsetScrn( mode_a, mode_b );
Uint16 mode_a - Screen affected by color offset (A) (described later).
Uint16 mode_b - Screen affected by color offset (B) (described later).
void - returns nothing.
slColOffsetScrn ( NBG1ON | NBG2ON , NBG0ON | NBG3ON );
VDP2_CLOFEN | VDP2_CLOFSL |