/** The execute function see @ref tdialog for more information. */
	static bool execute(int side,
						std::string& team_name,
						std::string& user_team_name,
						int& gold,
						int& income,
						int& village_income,
						int& village_support,
						bool& fog,
						bool& share_view,
						bool& shroud,
						bool& share_maps,
						team::CONTROLLER& controller,
						int controller_num,
						bool& no_leader,
						bool& hidden,
						CVideo& video)
	{
		return teditor_edit_side(side,
								 team_name,
								 user_team_name,
								 gold,
								 income,
								 village_income,
								 village_support,
								 fog,
								 share_view,
								 shroud,
								 share_maps,
								 controller,
								 controller_num,
								 no_leader,
								 hidden).show(video);
	}
Exemple #2
0
	/** The execute function see @ref tdialog for more information. */
	static bool execute(editor::editor_team_info& info, CVideo& video)
	{
		return teditor_edit_side(info).show(video);
	}