Rename some game_config key and add a reminder/test...

...about an unused feature (random titlescreen images)
This commit is contained in:
Ali El Gariani 2010-08-04 03:22:13 +00:00
parent e7cd46c86e
commit 6bcbae2f92
2 changed files with 7 additions and 14 deletions

View file

@ -76,17 +76,10 @@
footprint_teleport_enter="footsteps/teleport-in.png"
footprint_teleport_exit="footsteps/teleport-out.png"
#
# title may be a comma-separated list of images that will be randomly
# selected for the titlescreen background. Currently we have only the
# map of the central areas of the Great Continent.
#
# TODO: add more images when we get them!
#
title="maps/wesnoth.png"
logo="misc/logo.png"
icon="wesnoth-icon-small.png"
# List of images that will be randomly selected for the titlescreen background
game_title="maps/wesnoth.png,maps/wesnoth.png"
game_logo="misc/logo.png"
game_icon="wesnoth-icon-small.png"
moved_ball_image="misc/ball-moved.png"
unmoved_ball_image="misc/ball-unmoved.png"

View file

@ -185,9 +185,9 @@ namespace game_config
{
using namespace game_config::images;
game_icon = v["icon"].str();
game_title = v["title"].str();
game_logo = v["logo"].str();
game_icon = v["game_icon"].str();
game_title = v["game_title"].str();
game_logo = v["game_logo"].str();
moved_ball = v["moved_ball_image"].str();
unmoved_ball = v["unmoved_ball_image"].str();