38 std::string& description,
40 int& experience_modifier,
41 bool& victory_when_enemies_defeated,
48 virtual const std::string&
window_id()
const override;
Dialog for editing gamemap scenarios.
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
virtual const std::string & window_id() const override
The execute function.
editor_edit_scenario(std::string &id, std::string &name, std::string &description, int &turns, int &experience_modifier, bool &victory_when_enemies_defeated, bool &random_start_time)
Abstract base class for all modal dialogs.
base class of top level items, the only item which needs to store the final canvases to draw on.
#define DEFINE_SIMPLE_EXECUTE_WRAPPER(dialog)
Adds a bare-bonesstatic execute function to a dialog class that immediately invokes and return the re...