#include "resources.h"
static Surface* bkg_title;
-static Surface* bkg_credits;
static Surface* logo;
static Surface* img_choose_subset;
for (int i = 1; i <= subset.levels; ++i)
{
Level level;
- level.load(subset.name, i);
+ level.load(subset.name, i, 0);
contrib_subset_menu->additem(MN_ACTION, level.name, 0, 0, i);
}
contrib_subset_menu->additem(MN_HL,"",0,0);
updatescreen();
/* Load images: */
- bkg_title = new Surface(datadir + "/images/title/background.jpg", IGNORE_ALPHA);
- bkg_credits = new Surface(datadir + "/images/background/oiltux.jpg", IGNORE_ALPHA);
+ bkg_title = new Surface(datadir + "/images/background/arctis.jpg", IGNORE_ALPHA);
logo = new Surface(datadir + "/images/title/logo.png", USE_ALPHA);
img_choose_subset = new Surface(datadir + "/images/status/choose-level-subset.png", USE_ALPHA);
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"
"are welcome to redistribute it under certain conditions; see the file COPYING\n"
"for details.\n",
- 0, 420, 0);
+ 0, screen->h - 70, 0);
/* Don't draw menu, if quit is true */
Menu* menu = Menu::current();
Menu::set_current(main_menu);
break;
case MNID_CREDITS:
- display_text_file("CREDITS", bkg_credits, SCROLL_SPEED_CREDITS);
+ display_text_file("CREDITS", bkg_title, SCROLL_SPEED_CREDITS);
Menu::set_current(main_menu);
break;
case MNID_QUITMAINMENU:
}
update_load_save_game_menu(load_game_menu);
+ Menu::set_current(main_menu);
update_time = st_get_ticks();
}
else if (process_load_game_menu())
free_contrib_menu();
delete bkg_title;
- delete bkg_credits;
delete logo;
delete img_choose_subset;
}