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

Eliminate hsScalar and hsFixed

Modern CPUs support floats just fine... hsFixed was crazy.
This commit is contained in:
2012-01-21 02:03:37 -05:00
parent 5027b5a4ac
commit e020651e4b
584 changed files with 5401 additions and 6399 deletions

View File

@ -498,7 +498,7 @@ hsBool plLinkEffectsMgr::MsgReceive(plMessage *msg)
return true;
}
const hsScalar kMaxTimeForLinkTrigger = 30.f;
const float kMaxTimeForLinkTrigger = 30.f;
// If we're not loading state, we're in the age. So this avatar coming in must be linking in.
// If the player is us, no prep is necessary.
@ -529,7 +529,7 @@ hsBool plLinkEffectsMgr::MsgReceive(plMessage *msg)
return hsKeyedObject::MsgReceive(msg);
}
void plLinkEffectsMgr::WaitForEffect(plKey linkKey, hsScalar time)
void plLinkEffectsMgr::WaitForEffect(plKey linkKey, float time)
{
plLinkEffectsTriggerMsg *msg = IFindLinkTriggerMsg(linkKey);
if (msg == nil)
@ -567,7 +567,7 @@ plMessage *plLinkEffectsMgr::WaitForEffect(plKey linkKey)
return callback;
}
void plLinkEffectsMgr::WaitForPseudoEffect(plKey linkKey, hsScalar time)
void plLinkEffectsMgr::WaitForPseudoEffect(plKey linkKey, float time)
{
plPseudoLinkEffectMsg* msg = IFindPseudo(linkKey);
if (msg == nil)