1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Obliterate hsBool

This commit is contained in:
2012-07-11 01:28:00 -04:00
parent 5f78b33db4
commit a709e17069
1041 changed files with 7889 additions and 8070 deletions

View File

@ -64,15 +64,15 @@ public:
plNetGroupId(const plLocation& id, const uint8_t flags) : fId(id), fFlags(flags) { }
plNetGroupId(const plLocation& id) : fId(id), fFlags(0) { }
hsBool IsConstant() { return (fFlags & kNetGroupConstant) != 0; }
void SetConstant(hsBool constantGroup) { fFlags &= constantGroup ? kNetGroupConstant : 0; }
bool IsConstant() { return (fFlags & kNetGroupConstant) != 0; }
void SetConstant(bool constantGroup) { fFlags &= constantGroup ? kNetGroupConstant : 0; }
plLocation& Room() { return fId; }
const char* GetDesc() const { return fDesc.c_str(); }
void SetDesc(const char* c) { fDesc = c; }
hsBool operator==(const plNetGroupId& netGroup) const { return fId == netGroup.fId; }
hsBool operator!=(const plNetGroupId& netGroup) const { return fId != netGroup.fId; }
bool operator==(const plNetGroupId& netGroup) const { return fId == netGroup.fId; }
bool operator!=(const plNetGroupId& netGroup) const { return fId != netGroup.fId; }
bool operator<(const plNetGroupId& netGroup) const { return fId < netGroup.fId; }
// read and write to hsStream