font.h
334 Bytes
/*
* Simple font definition, including method for translating font into sprite
*/
#ifndef _FONT_H_
#define _FONT_H_
#include <PR/sp.h>
typedef struct {
int width;
int height;
char *index_string;
Bitmap *bitmaps;
char *img;
} Font;
int drawString(char *s, Font *font, int width, int height, Sprite *sp);
#endif