#include <mp_create_game.hpp>


Public Member Functions | |
| tmp_create_game (const config &cfg) | |
| void | update_map (twindow &window) |
| void | update_map_settings (twindow &window) |
Private Member Functions | |
| virtual const std::string & | window_id () const |
| Inherited from tdialog, implemented by REGISTER_DIALOG. | |
| void | pre_show (CVideo &video, twindow &window) |
| Inherited from tdialog. | |
| void | post_show (twindow &window) |
| Inherited from tdialog. | |
Private Attributes | |
| const config & | cfg_ |
| const config * | scenario_ |
| tfield_bool * | use_map_settings_ |
| All fields are also in the normal field vector, but they need to be manually controled as well so add the pointers here as well. | |
| tfield_bool * | fog_ |
| tfield_bool * | shroud_ |
| tfield_bool * | start_time_ |
| tfield_integer * | turns_ |
| tfield_integer * | gold_ |
| tfield_integer * | support_ |
| tfield_integer * | experience_ |
Definition at line 25 of file mp_create_game.hpp.
| gui2::tmp_create_game::tmp_create_game | ( | const config & | cfg | ) | [explicit] |
Definition at line 23 of file mp_create_game.cpp.
References preferences::fog(), preferences::random_start_time(), REGISTER_DIALOG, preferences::set_fog(), preferences::set_random_start_time(), preferences::set_shroud(), preferences::set_use_map_settings(), preferences::shroud(), and preferences::use_map_settings().

| void gui2::tmp_create_game::post_show | ( | twindow & | window | ) | [private, virtual] |
Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 117 of file mp_create_game.cpp.
References gui2::tlistbox::add_row().

Inherited from tdialog.
Reimplemented from gui2::tdialog.
Definition at line 63 of file mp_create_game.cpp.
| void gui2::tmp_create_game::update_map | ( | twindow & | window | ) |
Definition at line 124 of file mp_create_game.cpp.
| void gui2::tmp_create_game::update_map_settings | ( | twindow & | window | ) |
Definition at line 144 of file mp_create_game.cpp.
References cfg_, config::child_range(), scenario_, and gui2::tminimap::set_map_data().

| virtual const std::string& gui2::tmp_create_game::window_id | ( | ) | const [private, virtual] |
Inherited from tdialog, implemented by REGISTER_DIALOG.
Implements gui2::tdialog.
const config& gui2::tmp_create_game::cfg_ [private] |
Definition at line 42 of file mp_create_game.hpp.
Referenced by update_map_settings().
tfield_integer * gui2::tmp_create_game::experience_ [private] |
Definition at line 58 of file mp_create_game.hpp.
tfield_bool * gui2::tmp_create_game::fog_ [private] |
Definition at line 52 of file mp_create_game.hpp.
tfield_integer * gui2::tmp_create_game::gold_ [private] |
Definition at line 58 of file mp_create_game.hpp.
const config* gui2::tmp_create_game::scenario_ [private] |
Definition at line 44 of file mp_create_game.hpp.
Referenced by update_map_settings().
tfield_bool * gui2::tmp_create_game::shroud_ [private] |
Definition at line 52 of file mp_create_game.hpp.
tfield_bool * gui2::tmp_create_game::start_time_ [private] |
Definition at line 52 of file mp_create_game.hpp.
tfield_integer * gui2::tmp_create_game::support_ [private] |
Definition at line 58 of file mp_create_game.hpp.
tfield_integer* gui2::tmp_create_game::turns_ [private] |
Definition at line 58 of file mp_create_game.hpp.
All fields are also in the normal field vector, but they need to be manually controled as well so add the pointers here as well.
Definition at line 52 of file mp_create_game.hpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:22:34 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |