Initialize all members.
This commit is contained in:
parent
42e30eb72d
commit
85c8b83460
1 changed files with 25 additions and 6 deletions
|
@ -53,12 +53,31 @@ namespace {
|
|||
namespace editor2 {
|
||||
|
||||
editor_controller::editor_controller(const config &game_config, CVideo& video)
|
||||
: controller_base(SDL_GetTicks(), game_config, video)
|
||||
, mouse_handler_base(get_map()), rng_(NULL), rng_setter_(NULL)
|
||||
, map_context_(editor_map(game_config, 44, 33, t_translation::GRASS_LAND))
|
||||
, gui_(NULL), map_generator_(NULL), tooltip_manager_(video), floating_label_manager_(NULL)
|
||||
, do_quit_(false), quit_mode_(EXIT_ERROR)
|
||||
, toolbar_dirty_(true), auto_update_transitions_(true)
|
||||
: controller_base(SDL_GetTicks(), game_config, video)
|
||||
, mouse_handler_base(get_map())
|
||||
, rng_(NULL)
|
||||
, rng_setter_(NULL)
|
||||
, map_context_(editor_map(game_config, 44, 33, t_translation::GRASS_LAND))
|
||||
, gui_(NULL)
|
||||
, map_generator_(NULL)
|
||||
, size_specs_()
|
||||
, palette_()
|
||||
, brush_bar_()
|
||||
, prefs_disp_manager_(NULL)
|
||||
, tooltip_manager_(video)
|
||||
, floating_label_manager_(NULL)
|
||||
, do_quit_(false)
|
||||
, quit_mode_(EXIT_ERROR)
|
||||
, brushes_()
|
||||
, brush_(NULL)
|
||||
, mouse_actions_()
|
||||
, mouse_action_hints_()
|
||||
, mouse_action_(NULL)
|
||||
, toolbar_dirty_(true)
|
||||
, foreground_terrain_()
|
||||
, background_terrain_()
|
||||
, clipboard_()
|
||||
, auto_update_transitions_(true)
|
||||
{
|
||||
init(video);
|
||||
rng_ = new rand_rng::rng();
|
||||
|
|
Loading…
Add table
Reference in a new issue