libtonc
tonc_core.c File Reference
#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 uint __snd_rates [12]
 
int __qran_seed = 42
 
COLORvid_page = vid_mem_back
 

Detailed Description

Author
J Vijn
Date
20060508 - 20060508