The Battle for Wesnoth  1.17.12+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 submerge, 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 submerge
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  submerge,
float  item_z_order = 0 

Definition at line 23 of file overlay.hpp.

◆ overlay() [2/2]

overlay::overlay ( const config cfg)

Definition at line 42 of file overlay.hpp.

Member Data Documentation

◆ halo

std::string overlay::halo

◆ halo_handle

halo::handle overlay::halo_handle

Definition at line 61 of file overlay.hpp.

◆ id

std::string overlay::id

Definition at line 59 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

◆ submerge

float overlay::submerge

◆ team_name

std::string overlay::team_name

Definition at line 57 of file overlay.hpp.

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

◆ visible_in_fog

bool overlay::visible_in_fog

◆ z_order

float overlay::z_order

Definition at line 64 of file overlay.hpp.

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