tonc_surface.c File Reference

#include <string.h>
#include "tonc_surface.h"
#include "tonc_video.h"


void srf_init (TSurface *srf, enum ESurfaceType type, const void *data, uint width, uint height, uint bpp, u16 *pal)
 Initalize a surface for type formatted graphics.
void srf_pal_copy (const TSurface *dst, const TSurface *src, uint count)
 Copy count colors from src's palette to dst's palette.
void * srf_get_ptr (const TSurface *srf, uint x, uint y)
 Get the byte address of coordinates (x, y) on the surface.

Detailed Description

J Vijn
20080409 - 20080409

Generated on Mon Aug 25 17:03:56 2008 for libtonc by  doxygen 1.5.3