- Menu::label_font = white_big_text;
- Menu::field_font = gold_text;
-
- Button::info_font = white_small_text;
-
- int i;
-
- sprite_manager = new SpriteManager(datadir + "/images/supertux.strf");
-
- /* Tuxes: */
- smalltux_star = sprite_manager->load("smalltux-star");
- bigtux_star = sprite_manager->load("bigtux-star");
- smalltux_gameover = sprite_manager->load("smalltux-gameover");
-
- char img_name[1024];
- for (int i = 0; i < GROWING_FRAMES; i++)
- {
- sprintf(img_name, "%s/images/shared/tux-grow-left-%i.png", datadir.c_str(), i+1);
- growingtux_left[i] = new Surface(img_name, true);
-
- sprintf(img_name, "%s/images/shared/tux-grow-right-%i.png", datadir.c_str(), i+1);
- growingtux_right[i] = new Surface(img_name, true);
- }
-
- small_tux = new TuxBodyParts();
- small_tux->head = NULL;
- small_tux->body = sprite_manager->load("small-tux-body");
- small_tux->arms = sprite_manager->load("small-tux-arms");
- small_tux->feet = NULL;
-
- big_tux = new TuxBodyParts();
- big_tux->head = sprite_manager->load("big-tux-head");
- big_tux->body = sprite_manager->load("big-tux-body");
- big_tux->arms = sprite_manager->load("big-tux-arms");
- big_tux->feet = sprite_manager->load("big-tux-feet");
-
- fire_tux = new TuxBodyParts();
- fire_tux->head = sprite_manager->load("big-fire-tux-head");
- fire_tux->body = sprite_manager->load("big-tux-body");
- fire_tux->arms = sprite_manager->load("big-tux-arms");
- fire_tux->feet = sprite_manager->load("big-tux-feet");
-
- ice_tux = new TuxBodyParts();
- ice_tux->head = sprite_manager->load("big-tux-head");
- ice_tux->body = sprite_manager->load("big-tux-body");
- ice_tux->arms = sprite_manager->load("big-tux-arms");
- ice_tux->feet = sprite_manager->load("big-tux-feet");
-
- /* Load Bad Guys resources */
- badguyspecs_manager = new BadGuySpecsManager(datadir + "/badguys.strf");
-
- /* Water: */
- img_water = new Surface(datadir + "/images/shared/water.png", false);
-
- img_waves[0] = new Surface(datadir + "/images/shared/waves-0.png",
- true);
-
- img_waves[1] = new Surface(datadir + "/images/shared/waves-1.png",
- true);
-
-
- img_waves[2] = new Surface(datadir + "/images/shared/waves-2.png",
- true);
-
-
- /* Pole: */
-
- img_pole = new Surface(datadir + "/images/shared/pole.png", true);
- img_poletop = new Surface(datadir + "/images/shared/poletop.png",
- true);
-
-
- /* Flag: */
-
- img_flag[0] = new Surface(datadir + "/images/shared/flag-0.png",
- true);
- img_flag[1] = new Surface(datadir + "/images/shared/flag-1.png",
- true);
-
-
- /* Cloud: */