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_ONE_OVER_N_MAX_N |
| Range of the one-over-N table. | |
| #define | SO_ONE_OVER_N_INDEX_Q |
| Number of bits for fraction of entries in the one-over-N table. (see g_OneOver). | |
| #define | SO_FADE_BITS |
| Number of bits allowed for fading-precision. | |
| #define | SO_FADE_STEPS |
| Number of fade steps allowed (see g_Fade). | |
| #define | SO_FADE_MAX |
| Maximum fade value (see g_Fade). | |
Variables | |
| const sofixedpoint * | g_Sine |
| For internal use only. Use the SO_SINE() macro istead. | |
| const sofixedpoint * | g_Cosine |
| For internal use only. Use the SO_COSINE() macro instead. | |
| const sofixedpoint | g_OneOver [SO_ONE_OVER_N_MAX_N<< SO_ONE_OVER_N_INDEX_Q] |
| Reciprocal table for fast 1/N calculations. | |
| const u8 | g_Fade [SO_FADE_STEPS *256] |
| Table for fast (cross)fading. | |