libtonc
se_drawg.c File Reference
#include "tonc_types.h"
#include "tonc_tte.h"
#include "tonc_surface.h"

Macros

#define PXSIZE   sizeof(pixel_t)
 
#define PXPTR(psrf, x, y)    (pixel_t*)((psrf)->data + (y)*(psrf)->pitch + (x)*sizeof(pixel_t) )
 

Typedefs

typedef u16 pixel_t
 

Functions

void se_erase (int left, int top, int right, int bottom)
 Erase part of the regular tilemap canvas.
 
void se_drawg_w8h8 (uint gid)
 Character-plot for reg BGs using an 8x8 font.
 
void se_drawg_w8h16 (uint gid)
 Character-plot for reg BGs using an 8x16 font.
 
void se_drawg (uint gid)
 Character-plot for reg BGs, any sized font.
 
void se_drawg_s (uint gid)
 Character-plot for reg BGs, any sized, vertically tiled font.
 

Detailed Description

Author
J Vijn
Date
20070628 - 20070628