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:
@ -243,7 +243,7 @@ void plNetClientMgr::IRemoveCloneRoom()
|
||||
//
|
||||
// turn null send on/off. Null send does everything except actually send the msg out on the socket
|
||||
//
|
||||
void plNetClientMgr::SetNullSend(hsBool on)
|
||||
void plNetClientMgr::SetNullSend(bool on)
|
||||
{
|
||||
}
|
||||
|
||||
@ -850,7 +850,7 @@ int plNetClientMgr::IsLocallyOwned(const plSynchedObject* obj) const
|
||||
//
|
||||
// return localPlayer ptr
|
||||
//
|
||||
plSynchedObject* plNetClientMgr::GetLocalPlayer(hsBool forceLoad) const
|
||||
plSynchedObject* plNetClientMgr::GetLocalPlayer(bool forceLoad) const
|
||||
{
|
||||
if (forceLoad)
|
||||
return fLocalPlayerKey ? plSynchedObject::ConvertNoRef(fLocalPlayerKey->GetObjectPtr()) : nil;
|
||||
@ -895,12 +895,12 @@ plSynchedObject* plNetClientMgr::GetRemotePlayer(int i) const
|
||||
//
|
||||
// check if a key si a remote player
|
||||
//
|
||||
hsBool plNetClientMgr::IsRemotePlayerKey(const plKey pKey, int *idx)
|
||||
bool plNetClientMgr::IsRemotePlayerKey(const plKey pKey, int *idx)
|
||||
{
|
||||
if (pKey)
|
||||
{
|
||||
plKeyVec::iterator result=std::find(fRemotePlayerKeys.begin(), fRemotePlayerKeys.end(), pKey);
|
||||
hsBool found = result!=fRemotePlayerKeys.end();
|
||||
bool found = result!=fRemotePlayerKeys.end();
|
||||
if (idx)
|
||||
*idx = found ? result-fRemotePlayerKeys.begin() : -1;
|
||||
return found;
|
||||
@ -924,7 +924,7 @@ void plNetClientMgr::AddRemotePlayerKey(plKey pKey)
|
||||
//
|
||||
// MsgReceive handler for plasma messages
|
||||
//
|
||||
hsBool plNetClientMgr::MsgReceive( plMessage* msg )
|
||||
bool plNetClientMgr::MsgReceive( plMessage* msg )
|
||||
{
|
||||
if (plNetLinkingMgr::GetInstance()->MsgReceive( msg ))
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user