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:
@ -82,14 +82,14 @@ public:
|
||||
|
||||
/** Start the task: set up initial conditions or wait for resources to become available.
|
||||
Start will be called repeatedly until it returns true, indicating the task has begun. */
|
||||
virtual hsBool Start(plArmatureMod *avatar, plArmatureBrain *brain, double time, hsScalar elapsed);
|
||||
virtual hsBool Start(plArmatureMod *avatar, plArmatureBrain *brain, double time, float elapsed);
|
||||
|
||||
/** Run the task. Start is guaranteed to have returned true before Process() is called even once.
|
||||
Returns false when the task has finished and epilogue code has been executed. */
|
||||
virtual hsBool Process(plArmatureMod *avatar, plArmatureBrain *brain, double time, hsScalar elapsed);
|
||||
virtual hsBool Process(plArmatureMod *avatar, plArmatureBrain *brain, double time, float elapsed);
|
||||
|
||||
/** Clean up the task. This is guaranteed to be called when Process returns false. */
|
||||
virtual void Finish(plArmatureMod *avatar, plArmatureBrain *brain, double time, hsScalar elapsed);
|
||||
virtual void Finish(plArmatureMod *avatar, plArmatureBrain *brain, double time, float elapsed);
|
||||
|
||||
virtual void LeaveAge(plArmatureMod *avatar) {}
|
||||
|
||||
|
Reference in New Issue
Block a user