4 extern int fb_width, fb_height, fb_bpp;
5 extern void *fb_pixels;
6 extern unsigned long time_msec;
7 extern int mouse_x, mouse_y;
8 extern unsigned int mouse_bmask;
10 int demo_init(int argc, char **argv);
11 void demo_cleanup(void);
15 void demo_keyboard(int key, int state);
17 /* defined in main_*.c */
19 unsigned long get_msec(void);
20 void set_palette(int idx, int r, int g, int b);