26 #ifndef EDITOR_ACTION_SELECT_HPP
27 #define EDITOR_ACTION_SELECT_HPP
48 const char*
get_name()
const {
return "select"; }
64 const char*
get_name()
const {
return "deselect"; }
79 const char*
get_name()
const {
return "select_all"; }
94 const char*
get_name()
const {
return "select_none"; }
109 const char*
get_name()
const {
return "select_inverse"; }
void perform_without_undo(map_context &mc) const
Perform the action without creating an undo action.
void perform_without_undo(map_context &mc) const
Perform the action without creating an undo action.
editor_action_select_inverse * clone() const
Action cloning.
editor_action * perform(map_context &mc) const
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
editor_action_deselect * clone() const
Action cloning.
Base class for area-affecting actions.
editor_action_select_none()
editor_action_deselect(const std::set< map_location > &area)
void perform_without_undo(map_context &mc) const
Perform the action without creating an undo action.
void perform_without_undo(map_context &mc) const
Perform the action without creating an undo action.
editor_action_select(const std::set< map_location > &area)
editor_action_select_all * clone() const
Action cloning.
editor_action_select_all()
const char * get_name() const
const char * get_name() const
Select the given locations.
void perform_without_undo(map_context &mc) const
Perform the action without creating an undo action.
Manage the empty-palette in the editor.
This class adds extra editor-specific functionality to a normal gamemap.
Base class for all editor actions.
editor_action_select * clone() const
Action cloning.
const char * get_name() const
editor_action_select_none * clone() const
Action cloning.
This class wraps around a map to provide a concise interface for the editor to work with...
const char * get_name() const
editor_action * perform(map_context &mc) const
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)
The crux of the extendable contract.
editor_action_select_inverse * perform(map_context &mc) const
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)
The crux of the extendable contract.
editor_action_select_inverse()
editor_action_select * perform(map_context &mc) const
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
Deselect the given locations.
editor_action_select * perform(map_context &mc) const
Perform the action, returning an undo action that, when performed, shall reverse any effects of this ...
const char * get_name() const