9 static int bgwidth, bgheight;
13 if(!(bgpix = img_load_pixels("data/menpg640.png", &bgwidth, &bgheight, IMG_FMT_RGB24))) {
14 fprintf(stderr, "failed to load menu bg image\n");
17 convimg_rgb24_rgb16(bgpix, bgpix, bgwidth, bgheight);
21 void menu_cleanup(void)
23 img_free_pixels(bgpix);
39 void menu_keyb(int key, int pressed)