The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
transient_end_level Struct Reference

The non-persistent part of end_level_data. More...

#include <game_end_exceptions.hpp>

Public Member Functions

 transient_end_level ()
 
void write (config &cfg) const
 

Public Attributes

bool carryover_report
 Should a summary of the scenario outcome be displayed? More...
 
bool linger_mode
 Should linger mode be invoked? More...
 
bool reveal_map
 Should we reveal map when game is ended? (Multiplayer only) More...
 

Detailed Description

The non-persistent part of end_level_data.

Definition at line 73 of file game_end_exceptions.hpp.

Constructor & Destructor Documentation

◆ transient_end_level()

transient_end_level::transient_end_level ( )

Definition at line 20 of file game_end_exceptions.cpp.

Member Function Documentation

◆ write()

void transient_end_level::write ( config cfg) const

Definition at line 69 of file game_end_exceptions.cpp.

References carryover_report, linger_mode, and reveal_map.

Member Data Documentation

◆ carryover_report

bool transient_end_level::carryover_report

Should a summary of the scenario outcome be displayed?

Definition at line 77 of file game_end_exceptions.hpp.

Referenced by carryover_show_gold(), playsingle_controller::do_end_level(), game_state::game_state(), and write().

◆ linger_mode

bool transient_end_level::linger_mode

Should linger mode be invoked?

Definition at line 78 of file game_end_exceptions.hpp.

Referenced by playsingle_controller::play_some(), and write().

◆ reveal_map

bool transient_end_level::reveal_map

Should we reveal map when game is ended? (Multiplayer only)

Definition at line 79 of file game_end_exceptions.hpp.

Referenced by play_controller::check_victory(), and write().


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