44 std::unique_ptr<editor_action>
clone()
const override;
45 void extend(
const editor_map& map,
const std::set<map_location>& locs)
override;
62 std::unique_ptr<editor_action>
clone()
const override;
63 void extend(
const editor_map& map,
const std::set<map_location>& locs)
override;
79 std::unique_ptr<editor_action>
clone()
const override;
95 std::unique_ptr<editor_action>
clone()
const override;
111 std::unique_ptr<editor_action>
clone()
const override;
Base class for area-affecting actions.
Deselect the given locations.
std::unique_ptr< editor_action > perform(map_context &mc) const override
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
void extend(const editor_map &map, const std::set< map_location > &locs) override
The crux of the extendable contract.
std::unique_ptr< editor_action > clone() const override
Action cloning.
const std::string & get_name() const override
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
editor_action_deselect(const std::set< map_location > &area)
const std::string & get_name() const override
std::unique_ptr< editor_action > perform(map_context &mc) const override
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
std::unique_ptr< editor_action > clone() const override
Action cloning.
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
editor_action_select_all()
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
const std::string & get_name() const override
std::unique_ptr< editor_action > clone() const override
Action cloning.
editor_action_select_inverse()
std::unique_ptr< editor_action > perform(map_context &mc) const override
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
const std::string & get_name() const override
std::unique_ptr< editor_action > perform(map_context &mc) const override
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
editor_action_select_none()
std::unique_ptr< editor_action > clone() const override
Action cloning.
Select the given locations.
void extend(const editor_map &map, const std::set< map_location > &locs) override
The crux of the extendable contract.
editor_action_select(const std::set< map_location > &area)
const std::string & get_name() const override
std::unique_ptr< editor_action > perform(map_context &mc) const override
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
void perform_without_undo(map_context &mc) const override
Perform the action without creating an undo action.
std::unique_ptr< editor_action > clone() const override
Action cloning.
Base class for all editor actions.
This class adds extra editor-specific functionality to a normal gamemap.
This class wraps around a map to provide a concise interface for the editor to work with.
Manage the empty-palette in the editor.