|
resonance 1.0.1
|
Animation of the head-up display posed by a ramp. More...
#include <ovyassembly.h>

Public Member Functions | |
| OvyAssembly (const HxStr &name, float flFrom, float flTo, float flDuration) | |
| Resolve the animation, rewind it to frame 0, and set the ramp's range. | |
| void | SetTarget (float flTarget) |
| Start the animation moving toward a raw ramp position. | |
| void | Jump (float flTarget) |
| Move the animation to a raw ramp position at once. | |
| void | Execute (float flTime) |
| Advance the ramp and pose the animation on its value while it moves. | |
Public Attributes | |
| LinearAnim | mRamp |
Animation of the head-up display posed by a ramp.
The class is not polymorphic and emits no RTTI. Its name comes from the debugging symbols of the North American demo release. The demo's Slide() and Snap() have the same instructions as SetTarget() and Jump(), and the demo's constructor takes the same arguments. The head-up display panel embeds two, at +0x58 over <layout> assembly.view and at +0x74 over HUD1 label swap.tnm.
| OvyAssembly::OvyAssembly | ( | const HxStr & | name, |
| float | flFrom, | ||
| float | flTo, | ||
| float | flDuration ) |
Resolve the animation, rewind it to frame 0, and set the ramp's range.
The panel inlines the body twice, and this copy has no caller.
| name | The object name of the animation. |
| flFrom | The frame at raw ramp position 0. |
| flTo | The frame at raw ramp position 1. |
| flDuration | The time the ramp takes to cover the range. |
| void OvyAssembly::SetTarget | ( | float | flTarget | ) |
Start the animation moving toward a raw ramp position.
The out-of-line copy has no caller. The title is inferred.
| flTarget | The raw target. |
| void OvyAssembly::Jump | ( | float | flTarget | ) |
Move the animation to a raw ramp position at once.
The out-of-line copy has no caller. The title is inferred.
| flTarget | The raw target. |
| void OvyAssembly::Execute | ( | float | flTime | ) |
Advance the ramp and pose the animation on its value while it moves.
The panel inlines the body, and this copy has no caller.
| flTime | The time the ramp runs against. |
| LinearAnim OvyAssembly::mRamp |