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.
#include "SoSystem.h"Go to the source code of this file.
Defines | |
| #define | SO_EFFECTS_MODE_NONE |
| No special effects (default). | |
| #define | SO_EFFECTS_MODE_BLEND |
| Alpha-blending (semi-transparency). | |
| #define | SO_EFFECTS_MODE_FADE_IN |
| Fade-in (brightness increase). | |
| #define | SO_EFFECTS_MODE_FADE_OUT |
| Fade-out (brightness decrease). | |
| #define | SO_EFFECTS_TARGET1_BG0 |
| 1st target pixel: BG0 | |
| #define | SO_EFFECTS_TARGET1_BG1 |
| 1st target pixel: BG1 | |
| #define | SO_EFFECTS_TARGET1_BG2 |
| 1st target pixel: BG2 | |
| #define | SO_EFFECTS_TARGET1_BG3 |
| 1st target pixel: BG3 | |
| #define | SO_EFFECTS_TARGET1_OBJ |
| 1st target pixel: OBJ | |
| #define | SO_EFFECTS_TARGET1_BD |
| 1st target pixel: BD | |
| #define | SO_EFFECTS_TARGET1_ALL |
| 1st target pixel: everything | |
| #define | SO_EFFECTS_TARGET2_BG0 |
| 2nd target pixel: BG0 | |
| #define | SO_EFFECTS_TARGET2_BG1 |
| 2nd target pixel: BG1 | |
| #define | SO_EFFECTS_TARGET2_BG2 |
| 2nd target pixel: BG2 | |
| #define | SO_EFFECTS_TARGET2_BG3 |
| 2nd target pixel: BG3 | |
| #define | SO_EFFECTS_TARGET2_OBJ |
| 2nd target pixel: OBJ | |
| #define | SO_EFFECTS_TARGET2_BD |
| 2nd target pixel: BD | |
| #define | SO_EFFECTS_TARGET2_ALL |
| 2nd target pixel: everything | |
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. | |