The Battle for Wesnoth  1.17.0-dev
Public Member Functions | Public Attributes | List of all members
overlay Struct Reference

#include <overlay.hpp>

Public Member Functions

 overlay (const std::string &img, const std::string &halo_img, halo::handle handle, const std::string &overlay_team_name, const std::string &item_id, const bool fogged, float item_z_order=0)
 overlay (const config &cfg)

Public Attributes

std::string image
std::string halo
std::string team_name
t_string name
std::string id
halo::handle halo_handle
bool visible_in_fog
float z_order

Detailed Description

Definition at line 20 of file overlay.hpp.

Constructor & Destructor Documentation

◆ overlay() [1/2]

overlay::overlay ( const std::string &  img,
const std::string &  halo_img,
halo::handle  handle,
const std::string &  overlay_team_name,
const std::string &  item_id,
const bool  fogged,
float  item_z_order = 0 

Definition at line 23 of file overlay.hpp.

◆ overlay() [2/2]

overlay::overlay ( const config cfg)

Definition at line 40 of file overlay.hpp.

Member Data Documentation

◆ halo

std::string overlay::halo

◆ halo_handle

halo::handle overlay::halo_handle

Definition at line 58 of file overlay.hpp.

◆ id

std::string overlay::id

Definition at line 56 of file overlay.hpp.

Referenced by editor::item_palette::get_id(), and editor::map_context::to_config().

◆ image

std::string overlay::image

◆ name

t_string overlay::name

◆ team_name

std::string overlay::team_name

Definition at line 54 of file overlay.hpp.

Referenced by display::parse_team_overlays(), and editor::map_context::to_config().

◆ visible_in_fog

bool overlay::visible_in_fog

Definition at line 59 of file overlay.hpp.

Referenced by editor::map_context::to_config().

◆ z_order

float overlay::z_order

Definition at line 60 of file overlay.hpp.

The documentation for this struct was generated from the following file: