#include <reports.hpp>
Public Member Functions | |
context (const display_context &dc, display &disp, const tod_manager &tod, boost::shared_ptr< wb::manager > wb, boost::optional< events::mouse_handler & > mhb) | |
const std::vector< team > & | teams () |
const unit_map & | units () |
const gamemap & | map () |
const display_context & | dc () |
display & | screen () |
const tod_manager & | tod () |
boost::shared_ptr< wb::manager > | wb () |
boost::optional < events::mouse_handler & > | mhb () |
Private Attributes | |
const display_context & | dc_ |
display & | disp_ |
const tod_manager & | tod_ |
boost::shared_ptr< wb::manager > | wb_ |
boost::optional < events::mouse_handler & > | mhb_ |
Definition at line 47 of file reports.hpp.
|
inline |
Definition at line 50 of file reports.hpp.
|
inline |
Definition at line 56 of file reports.hpp.
References dc_.
Referenced by get_selected_unit(), and get_visible_unit().
|
inline |
Definition at line 54 of file reports.hpp.
References dc_, and display_context::map().
Referenced by attack_info(), time_of_day_at(), unit_alignment(), unit_box_at(), unit_defense(), unit_moves(), and unit_status().
|
inline |
Definition at line 60 of file reports.hpp.
References mhb_.
|
inline |
Definition at line 57 of file reports.hpp.
References disp_.
Referenced by attack_info(), get_selected_unit(), get_visible_unit(), gray_inactive(), time_of_day_at(), unit_alignment(), unit_box_at(), unit_hp(), unit_moves(), unit_status(), and unit_weapons().
|
inline |
Definition at line 52 of file reports.hpp.
References dc_, and display_context::teams().
Referenced by attack_info(), get_selected_unit(), get_visible_unit(), time_of_day_at(), unit_box_at(), and unit_side().
|
inline |
Definition at line 58 of file reports.hpp.
References tod_.
Referenced by time_of_day_at(), and unit_box_at().
|
inline |
Definition at line 53 of file reports.hpp.
References dc_, and display_context::units().
Referenced by attack_info(), time_of_day_at(), unit_alignment(), unit_box_at(), and unit_weapons().
|
inline |
Definition at line 59 of file reports.hpp.
References wb_.
|
private |
|
private |
Definition at line 64 of file reports.hpp.
Referenced by screen().
|
private |
Definition at line 67 of file reports.hpp.
Referenced by mhb().
|
private |
Definition at line 65 of file reports.hpp.
Referenced by tod().
|
private |
Definition at line 66 of file reports.hpp.
Referenced by wb().