X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fdemo.h;h=a3cc66a2d9b1c2e372f0732ae88b86ff715bb55d;hp=b55ad4d25a6a71c2e58d078189add2ade96423cb;hb=73f97e0d9dc83cad4aa7b53d900ea28390afed4f;hpb=4b1cef5f03023a4977c1a0dd0e7464fd4cc1044c diff --git a/src/demo.h b/src/demo.h index b55ad4d..a3cc66a 100644 --- a/src/demo.h +++ b/src/demo.h @@ -40,4 +40,10 @@ void mouse_orbit_update(float *theta, float *phi, float *dist); void draw_mouse_pointer(uint16_t *fb); +/* compiled sprites available */ +void cs_font(void *fb, int x, int y, int idx); + +/* helper to print text with cs_font */ +void cs_puts(void *fb, int x, int y, const char *str); + #endif /* DEMO_H_ */