|
bool | CheckEntityInRect (CEntityHandle handle, const CCamera &camera, int sx0, int sy0, int sx1, int sy1, bool allowEditorSelectables) |
| Returns true if the given entity is visible in the given screen area. More...
|
|
entity_id_t | EntitySelection::PickEntityAtPoint (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::PickNonGaiaEntitiesInRect (CSimulation2 &simulation, const CCamera &camera, int sx0, int sy0, int sx1, int sy1, bool allowEditorSelectables) |
| Finds all selectable entities within the given screen coordinate rectangle, belonging to any given player (excluding Gaia). More...
|
|
template<typename Filter = DefaultComponentFilter> |
std::vector< entity_id_t > | EntitySelection::GetEntitiesWithComponentInRect (CSimulation2 &simulation, int cid, const CCamera &camera, int sx0, int sy0, int sx1, int sy1) |
|
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...
|
|