![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Interface for ICmpObstructionManager Test functions to filter out unwanted shapes.
More...
#include <ICmpObstructionManager.h>

Public Types | |
| typedef ICmpObstructionManager::tag_t | tag_t |
| typedef ICmpObstructionManager::flags_t | flags_t |
Public Member Functions | |
| virtual | ~IObstructionTestFilter () |
| virtual bool | TestShape (tag_t tag, flags_t flags, entity_id_t group, entity_id_t group2) const =0 |
| Return true if the shape with the specified parameters should be tested for collisions. More... | |
Interface for ICmpObstructionManager Test functions to filter out unwanted shapes.
|
inlinevirtual |
|
pure virtual |
Return true if the shape with the specified parameters should be tested for collisions.
This is called for all shapes that would collide, and also for some that wouldn't.
| tag | tag of shape being tested |
| flags | set of EFlags for the shape |
| group | the control group of the shape (typically the shape's unit, or the unit's formation controller, or 0) |
| group2 | an optional secondary control group of the shape, or INVALID_ENTITY if none specified. Currently exists only for static shapes. |
Implemented in NullObstructionFilter, StationaryOnlyObstructionFilter, ControlGroupMovementObstructionFilter, SkipControlGroupsRequireFlagObstructionFilter, SkipTagRequireControlGroupsAndFlagObstructionFilter, SkipTagObstructionFilter, SkipTagAndControlGroupObstructionFilter, and SkipTagRequireFlagsObstructionFilter.