24 const std::string& halo_img,
25 const std::string& overlay_team_name,
26 const std::string& item_id,
29 float item_z_order = 0)
46 ,
name(cfg[
"name"].t_str())
50 ,
submerge(cfg[
"submerge"].to_double(0))
51 ,
z_order(cfg[
"z_order"].to_double(0))
A config object defines a single node in a WML file, with access to child nodes.
std::shared_ptr< halo_record > handle
Functions to load and save images from/to disk.
std::string img(const std::string &src, const std::string &align, const bool floating)
overlay(const std::string &img, const std::string &halo_img, const std::string &overlay_team_name, const std::string &item_id, const bool fogged, float submerge, float item_z_order=0)
overlay(const config &cfg)