The Battle for Wesnoth  1.19.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 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 
)
inline

Definition at line 23 of file overlay.hpp.

◆ overlay() [2/2]

overlay::overlay ( const config cfg)
inline

Definition at line 42 of file overlay.hpp.

Member Data Documentation

◆ halo

std::string overlay::halo

Definition at line 56 of file overlay.hpp.

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

◆ 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::map_context::to_config().

◆ image

std::string overlay::image

◆ name

t_string overlay::name

◆ submerge

float overlay::submerge

Definition at line 63 of file overlay.hpp.

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

◆ team_name

std::string overlay::team_name

Definition at line 57 of file overlay.hpp.

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

◆ visible_in_fog

bool overlay::visible_in_fog

Definition at line 62 of file overlay.hpp.

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

◆ 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: