#include
Public Member Functions | |
NavCapMask (unsigned caps) | |
operator unsigned () const | |
NavCapMask & | operator &= (unsigned rhs) |
NavCapMask & | operator|= (unsigned rhs) |
unsigned | GetLnmCaps () const |
void | SetLnmCaps (unsigned lnmData) |
unsigned | GetFullMask () const |
void | Serialize (TSerialize ser) |
Bit mask using ENavigationType.
To narrow the choice down to a single mesh, still making the rest of the system work as it did before, 's_lnmBits' are set aside to be used to discriminate among LNM meshes built for different agent types. Operators are overloaded so that non-LNM parts of the system never see the LNM part. LNM-aware parts can request the LNM bits explicitly.
Note also that the LNM bits aren't used as a bitmask.