Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
PartitionFilterLineOfSight Class Reference

#include <PartitionManager.h>

Inherits PartitionFilter.

Public Member Functions

 PartitionFilterLineOfSight (const Object *obj)
 
virtual Bool allow (Object *objOther)
 

Detailed Description

Reject any objects that are not within clear line-of-sight of a given object. "Line of sight" takes into account terrain (ie, no hills between 'em) but does not yet take into account structures. Note that this requires more computation that other filters, so this should generally put toward the end of the filter list so that simpler filters can reject other (simpler) cases earlier.

Definition at line 720 of file PartitionManager.h.

Constructor & Destructor Documentation

◆ PartitionFilterLineOfSight()

PartitionFilterLineOfSight::PartitionFilterLineOfSight ( const Object * obj)

Definition at line 5334 of file PartitionManager.cpp.

Member Function Documentation

◆ allow()

Bool PartitionFilterLineOfSight::allow ( Object * objOther)
virtual

Implements PartitionFilter.

Definition at line 5340 of file PartitionManager.cpp.


The documentation for this class was generated from the following files: