Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
Selection.h File Reference

Helper functions related to entity selection. More...

#include "simulation2/system/Entity.h"
#include "Player.h"
#include <vector>

Go to the source code of this file.

Namespaces

 EntitySelection
 

Functions

std::vector< entity_id_tEntitySelection::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_tEntitySelection::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_tEntitySelection::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...
 

Detailed Description

Helper functions related to entity selection.

Definition in file Selection.h.