music_manager->halt_music();
char str[60];
- /* Level Intro: */
- clearscreen(0, 0, 0);
+
+ if (get_level()->img_bkgd)
+ get_level()->img_bkgd->draw(0, 0);
+ else
+ clearscreen(0, 0, 0);
sprintf(str, "%s", world->get_level()->name.c_str());
gold_text->drawf(str, 0, 200, A_HMIDDLE, A_TOP, 1);
{
char str[80];
- clearscreen(0, 0, 0);
+ if (get_level()->img_bkgd)
+ get_level()->img_bkgd->draw(0, 0);
+ else
+ clearscreen(0, 0, 0);
blue_text->drawf("GAMEOVER", 0, 200, A_HMIDDLE, A_TOP, 1);
{
char str[80];
- clearscreen(0, 0, 0);
+ if (get_level()->img_bkgd)
+ get_level()->img_bkgd->draw(0, 0);
+ else
+ clearscreen(0, 0, 0);
blue_text->drawf("Result:", 0, 200, A_HMIDDLE, A_TOP, 1);