|
resonance 1.0.1
|
Arena screens for a solo game, driven by the player's juice. More...
#include <soloscreenanim.h>


Public Member Functions | |
| SoloScreenAnim (const std::vector< TnlArena::ScreenMesh > *pScreens, Rnd::Mat *pPlayerMat) | |
| Record the screens and the player's material, and resolve noise.mat. | |
| virtual | ~SoloScreenAnim () |
| virtual void | SetFrame (float flFrame) |
| Alternate the materials at level 2. | |
| virtual void | SetLevel (int nLevel) |
| Clamp the level to 0 through 2 and apply a changed one. | |
| Public Member Functions inherited from ScreenAnim | |
| virtual | ~ScreenAnim () |
| virtual void | UpdateLeaders () |
| Recompute the players the screens show after a score change. | |
Arena screens for a solo game, driven by the player's juice.
Its RTTI descriptor is at 0x008ef510. It derives publicly from ScreenAnim at offset 0. Its type function is at 0x0040c6c0 and its table at 0x008172a8. The object is 0x1c bytes. It inherits UpdateLeaders().
Level 0 shows noise.mat on every screen, level 1 the screens' own materials, and level 2 alternates the player's material with the screens' own materials every mPeriod ticks.
| SoloScreenAnim::SoloScreenAnim | ( | const std::vector< TnlArena::ScreenMesh > * | pScreens, |
| Rnd::Mat * | pPlayerMat ) |
Record the screens and the player's material, and resolve noise.mat.
Starts at level 1 with a period of 960 ticks.
| pScreens | TnlArena::mScreenMeshes. |
| pPlayerMat | The material of the one player. |
|
virtual |
|
virtual |
Alternate the materials at level 2.
At the start of each period the screens take the player's material in an even period and their own materials in an odd one. Other levels do nothing.
| flFrame | The song position, in MIDI ticks. |
Reimplemented from ScreenAnim.
|
virtual |
Clamp the level to 0 through 2 and apply a changed one.
A change puts noise.mat, the screens' own materials, or the player's material on every screen, and then runs script template 1019 with the new level.
| nLevel | The level. |
Reimplemented from ScreenAnim.