Graphic effects
[Memory map bit(fields)]
Window macros | |
#define | WIN_BG0 0x0001 |
Windowed bg 0. | |
#define | WIN_BG1 0x0002 |
Windowed bg 1. | |
#define | WIN_BG2 0x0004 |
Windowed bg 2. | |
#define | WIN_BG3 0x0008 |
Windowed bg 3. | |
#define | WIN_OBJ 0x0010 |
Windowed objects. | |
#define | WIN_ALL 0x001F |
All layers in window. | |
#define | WIN_BLD 0x0020 |
Windowed blending. | |
#define | WIN_LAYER_MASK 0x003F |
Windowed bg 0. | |
#define | WIN_LAYER_SHIFT 0 |
Windowed bg 0. | |
#define | WIN_LAYER(n) ((n)<<WIN_LAYER_SHIFT) |
Windowed bg 0. | |
#define | WIN_BUILD(low, high) ( ((high)<<8) | (low) ) |
Windowed bg 0. | |
#define | WININ_BUILD(win0, win1) WIN_BUILD(win0, win1) |
Windowed bg 0. | |
#define | WINOUT_BUILD(out, obj) WIN_BUILD(out, obj) |
Windowed bg 0. | |
Mosaic macros | |
#define | MOS_BH_MASK 0x000F |
#define | MOS_BH_SHIFT 0 |
#define | MOS_BH(n) ((n)<<MOS_BH_SHIFT) |
#define | MOS_BV_MASK 0x00F0 |
#define | MOS_BV_SHIFT 4 |
#define | MOS_BV(n) ((n)<<MOS_BV_SHIFT) |
#define | MOS_OH_MASK 0x0F00 |
#define | MOS_OH_SHIFT 8 |
#define | MOS_OH(n) ((n)<<MOS_OH_SHIFT) |
#define | MOS_OV_MASK 0xF000 |
#define | MOS_OV_SHIFT 12 |
#define | MOS_OV(n) ((n)<<MOS_OV_SHIFT) |
#define | MOS_BUILD(bh, bv, oh, ov) ( (((ov)&15)<<12) | (((oh)&15)<<8) | (((bv)&15)<<4)| ((bh)&15) ) |
Generated on Mon Aug 25 17:03:57 2008 for libtonc by 1.5.3