fixed 16bpp offsets in csprite generator (hardcoded for now)
[dosdemo] / src / demo.h
index b55ad4d..a3cc66a 100644 (file)
@@ -40,4 +40,10 @@ void mouse_orbit_update(float *theta, float *phi, float *dist);
 
 void draw_mouse_pointer(uint16_t *fb);
 
 
 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_ */
 #endif /* DEMO_H_ */