The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
wb::real_map Struct Reference

Ensures that the real unit map is active for the duration of the struct's life. More...

#include <manager.hpp>

Public Member Functions

 real_map ()
 
 ~real_map ()
 

Public Attributes

bool initial_planned_unit_map_
 
whiteboard_lock unit_map_lock_
 

Detailed Description

Ensures that the real unit map is active for the duration of the struct's life.

On destruction reverts to planned unit map if it was active when the struct was created.

Definition at line 279 of file manager.hpp.

Constructor & Destructor Documentation

wb::real_map::real_map ( )

Definition at line 1232 of file manager.cpp.

References initial_planned_unit_map_, and resources::whiteboard.

wb::real_map::~real_map ( )

Definition at line 1242 of file manager.cpp.

References initial_planned_unit_map_, and resources::whiteboard.

Member Data Documentation

bool wb::real_map::initial_planned_unit_map_

Definition at line 283 of file manager.hpp.

Referenced by real_map(), and ~real_map().

whiteboard_lock wb::real_map::unit_map_lock_

Definition at line 284 of file manager.hpp.


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