#include "tonc_memmap.h"
#include "tonc_core.h"
Functions | |
void * | tonccpy (void *dst, const void *src, uint size) |
VRAM-safe cpy. | |
void * | __toncset (void *dst, u32 fill, uint size) |
VRAM-safe memset, internal routine. | |
int | sqran (int seed) |
u32 | octant (int x, int y) |
Get the octant that (x, y) is in. | |
u32 | octant_rot (int x0, int y0) |
Get the rotated octant that (x, y) is in. | |
Variables | |
const u8 | oam_sizes [3][4][2] |
const BG_AFFINE | bg_aff_default = { 256, 0, 0, 256, 0, 0 } |
const u32 | __snd_rates [12] |
int | __qran_seed = 42 |
COLOR * | vid_page = vid_mem_back |
const u32 __snd_rates[12] |
Initial value:
{ 8013, 7566, 7144, 6742, 6362, 6005, 5666, 5346, 5048, 4766, 4499, 4246 }
const u8 oam_sizes[3][4][2] |
Initial value:
{ { { 8, 8}, {16,16}, {32,32}, {64,64} }, { {16, 8}, {32, 8}, {32,16}, {64,32} }, { { 8,16}, { 8,32}, {16,32}, {32,64} }, }