1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 04:09:16 +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

@ -79,7 +79,7 @@ plArmatureBrain::~plArmatureBrain()
delete fCurTask;
}
hsBool plArmatureBrain::Apply(double timeNow, hsScalar elapsed)
hsBool plArmatureBrain::Apply(double timeNow, float elapsed)
{
IProcessTasks(timeNow, elapsed);
fArmature->ApplyAnimations(timeNow, elapsed);
@ -167,7 +167,7 @@ hsBool plArmatureBrain::MsgReceive(plMessage * msg)
return false;
}
void plArmatureBrain::IProcessTasks(double time, hsScalar elapsed)
void plArmatureBrain::IProcessTasks(double time, float elapsed)
{
if (!fCurTask || !fCurTask->Process(plArmatureMod::ConvertNoRef(fArmature), this, time, elapsed))
{