|
|
|
|
@ -114,14 +114,6 @@ private:
|
|
|
|
|
*/ |
|
|
|
|
[[nodiscard]] float getProgressToNextGameTick() const; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Specifies how many animations-fractions are displayed between two game ticks. this can be > 0, if animations are skipped or < 0 if the same animation is shown in multiple times (delay specified). |
|
|
|
|
*/ |
|
|
|
|
float tickModifier_; |
|
|
|
|
/**
|
|
|
|
|
* @brief Number of game ticks after the current animation sequence started |
|
|
|
|
*/ |
|
|
|
|
float ticksSinceSequenceStarted_; |
|
|
|
|
/**
|
|
|
|
|
* @brief Animation Frames that will be adjusted for the skipped Frames/game ticks |
|
|
|
|
*/ |
|
|
|
|
@ -130,6 +122,15 @@ private:
|
|
|
|
|
* @brief Animation Frames that wasn't shown from previous Animation |
|
|
|
|
*/ |
|
|
|
|
int8_t skippedFramesFromPreviousAnimation_; |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Specifies how many animations-fractions are displayed between two game ticks. this can be > 0, if animations are skipped or < 0 if the same animation is shown in multiple times (delay specified). |
|
|
|
|
*/ |
|
|
|
|
float tickModifier_; |
|
|
|
|
/**
|
|
|
|
|
* @brief Number of game ticks after the current animation sequence started |
|
|
|
|
*/ |
|
|
|
|
float ticksSinceSequenceStarted_; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
} // namespace devilution
|
|
|
|
|
|