Pyrogenesis
13997
|
Helper functions related to entity selection. More...
Go to the source code of this file.
Namespaces | |
EntitySelection | |
Functions | |
std::vector< entity_id_t > | EntitySelection::PickEntitiesAtPoint (CSimulation2 &simulation, const CCamera &camera, int screenX, int screenY, player_id_t player, bool allowEditorSelectables) |
Finds all selectable entities under the given screen coordinates. More... | |
std::vector< entity_id_t > | EntitySelection::PickEntitiesInRect (CSimulation2 &simulation, const CCamera &camera, int sx0, int sy0, int sx1, int sy1, player_id_t owner, bool allowEditorSelectables) |
Finds all selectable entities within the given screen coordinate rectangle, belonging to the given player. More... | |
std::vector< entity_id_t > | EntitySelection::PickSimilarEntities (CSimulation2 &simulation, const CCamera &camera, const std::string &templateName, player_id_t owner, bool includeOffScreen, bool matchRank, bool allowEditorSelectables, bool allowFoundations) |
Finds all entities with the given entity template name, belonging to the given player. More... | |
Helper functions related to entity selection.
Definition in file Selection.h.