X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fdemo.h;h=a3cc66a2d9b1c2e372f0732ae88b86ff715bb55d;hb=815504923a05c5f22a756b021997983e512474e1;hp=b55ad4d25a6a71c2e58d078189add2ade96423cb;hpb=7deef4d5a20da09044bf7311c6ee274090cde5e6;p=dosdemo 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_ */