Wire in the new wooden background as game_title_background.
This commit is contained in:
parent
de865c3406
commit
9575893446
3 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
|
||||
[images]
|
||||
game_title="maps/wesnoth.png"
|
||||
game_title_background="maps/background.jpg"
|
||||
|
||||
moved_orb="misc/orb-moved.png"
|
||||
unmoved_orb="misc/orb-unmoved.png"
|
||||
|
|
|
@ -69,6 +69,7 @@ namespace game_config
|
|||
|
||||
namespace images {
|
||||
std::string game_title,
|
||||
game_title_background,
|
||||
// orbs and hp/xp bar
|
||||
moved_orb,
|
||||
unmoved_orb,
|
||||
|
@ -195,6 +196,7 @@ namespace game_config
|
|||
if(const config &i = v.child("images")){
|
||||
using namespace game_config::images;
|
||||
game_title = i["game_title"].str();
|
||||
game_title_background = i["game_title_background"].str();
|
||||
|
||||
moved_orb = i["moved_orb"].str();
|
||||
unmoved_orb = i["unmoved_orb"].str();
|
||||
|
|
|
@ -75,6 +75,7 @@ namespace game_config
|
|||
|
||||
namespace images {
|
||||
extern std::string game_title,
|
||||
game_title_background,
|
||||
// orbs and hp/xp bar
|
||||
moved_orb,
|
||||
unmoved_orb,
|
||||
|
|
Loading…
Add table
Reference in a new issue