1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 02:51:27 +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

@ -196,7 +196,7 @@ double plTimerShare::IncSysSeconds()
return fSysSeconds;
}
void plTimerShare::SetRealTime(hsBool realTime)
void plTimerShare::SetRealTime(bool realTime)
{
fRunningFrameTime = !realTime;
if( realTime )

View File

@ -57,7 +57,7 @@ plTimerCallbackManager::~plTimerCallbackManager()
delete fCallbacks.Pop();
}
hsBool plTimerCallbackManager::MsgReceive(plMessage* msg)
bool plTimerCallbackManager::MsgReceive(plMessage* msg)
{
plTimeMsg* pTimeMsg = plTimeMsg::ConvertNoRef(msg);
int i = fCallbacks.Count();
@ -106,7 +106,7 @@ plTimerCallback* plTimerCallbackManager::NewTimer(float time, plMessage* pMsg)
return t;
}
hsBool plTimerCallbackManager::CancelCallback(plTimerCallback* pTimer)
bool plTimerCallbackManager::CancelCallback(plTimerCallback* pTimer)
{
for (int i = 0; i < fCallbacks.Count(); i++)
{
@ -118,7 +118,7 @@ hsBool plTimerCallbackManager::CancelCallback(plTimerCallback* pTimer)
return false;
}
hsBool plTimerCallbackManager::CancelCallbacksToKey(const plKey& key)
bool plTimerCallbackManager::CancelCallbacksToKey(const plKey& key)
{
const plKey rKey;
bool removed = false;
@ -181,12 +181,12 @@ void plgTimerCallbackMgr::Init()
plgDispatch::Dispatch()->RegisterForExactType( plTimeMsg::Index(), fMgr->GetKey() );
}
hsBool plgTimerCallbackMgr::CancelCallback(plTimerCallback* pTimer)
bool plgTimerCallbackMgr::CancelCallback(plTimerCallback* pTimer)
{
return (fMgr->CancelCallback(pTimer));
}
hsBool plgTimerCallbackMgr::CancelCallbacksToKey(const plKey& key)
bool plgTimerCallbackMgr::CancelCallbacksToKey(const plKey& key)
{
return (fMgr->CancelCallbacksToKey(key));
}

View File

@ -73,11 +73,11 @@ public:
GETINTERFACE_ANY( plTimerCallbackManager, hsKeyedObject );
virtual plTimerCallback* NewTimer(float time, plMessage* pMsg);
hsBool CancelCallback(plTimerCallback* pTimer);
hsBool CancelCallbacksToKey(const plKey& key);
bool CancelCallback(plTimerCallback* pTimer);
bool CancelCallbacksToKey(const plKey& key);
virtual hsBool MsgReceive(plMessage* msg);
virtual bool MsgReceive(plMessage* msg);
virtual void Read(hsStream* stream, hsResMgr* mgr);
virtual void Write(hsStream* stream, hsResMgr* mgr);
@ -101,8 +101,8 @@ public:
static void SetTheTimerCallbackMgr(plTimerCallbackManager *mgr) { fMgr = mgr; }
static plTimerCallback* NewTimer(float time, plMessage* pMsg) { return (fMgr->NewTimer(time, pMsg)); }
static hsBool CancelCallback(plTimerCallback* pTimer);
static hsBool CancelCallbacksToKey(const plKey& key);
static bool CancelCallback(plTimerCallback* pTimer);
static bool CancelCallbacksToKey(const plKey& key);
};