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

@ -118,8 +118,8 @@ public:
kModeSize = 0xff
} fMode;
static const hsScalar kDefaultFadeIn;
static const hsScalar kDefaultFadeOut;
static const float kDefaultFadeIn;
static const float kDefaultFadeOut;
/** Default constructor for the class factory and descendants. */
plAvBrainGeneric();
@ -154,7 +154,7 @@ public:
virtual void Activate(plArmatureModBase *avMod);
/** Advance the current stage and swap in a new stage if necessary. */
virtual hsBool Apply(double timeNow, hsScalar elapsed);
virtual hsBool Apply(double timeNow, float elapsed);
/** Remove all our stages and release control of the armature. */
virtual void Deactivate();
@ -283,8 +283,8 @@ protected:
hsBool IProcessFadeIn(double time, float elapsed);
hsBool IProcessFadeOut(double time, float elapsed);
hsBool ISwitchStages(int oldStage, int newStage, float delta, hsBool setTime, hsScalar newTime,
float fadeNew, hsScalar fadeOld, double worldTime);
hsBool ISwitchStages(int oldStage, int newStage, float delta, hsBool setTime, float newTime,
float fadeNew, float fadeOld, double worldTime);
void IEnterMoveMode(double time); // we've just entered and we're about to begin animating.
void IExitMoveMode(); // we're done animating; clean up