The SGADE Documentation

the SGADE The Socrates Gameboy Advance Development Engine

The SGADE is a development library for the Nintendo Gameboy Advance. It's free for all uses and is distributed without guarantees. For more information visit the SGADE page.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoEffects.c File Reference

#include "SoEffects.h"
#include "SoDebug.h"

Defines

#define SO_REG_EFFECTS_BLD_CNT
 Specifies types of color special effects and the target pixels.

#define SO_REG_EFFECTS_BLD_ALPHA
 Specifies color special effects coefficient EVA and EVB.

#define SO_REG_EFFECTS_BLD_Y
 Specifies color special effects coefficient EVY.


Functions

void SoEffectsSetMode (u16 a_Mode, u16 a_Target1, u16 a_Target2)
 Changes color special effects mode and specifies the two target surfaces.

void SoEffectsSetBlend (u16 a_CoeffEVA, u16 a_CoeffEVB)
 Specifies the coefficients used in alpha-blending processing.

void SoEffectsSetFade (u16 a_CoeffEVY)
 Specifies the coefficient used in brightness processing.


Detailed Description

Copyright (C) 2002 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt

Author:
Gabriele Scibilia
Date:
February 4 2002
See the SoEffects module for more information.


Define Documentation

#define SO_REG_EFFECTS_BLD_ALPHA
 

Specifies color special effects coefficient EVA and EVB.

For internal use only.

#define SO_REG_EFFECTS_BLD_CNT
 

Specifies types of color special effects and the target pixels.

For internal use only.

#define SO_REG_EFFECTS_BLD_Y
 

Specifies color special effects coefficient EVY.

For internal use only.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.