|
wavelength 1.0.0
|
Arena of the Constructo levels, whose building parts collide with planes that move with the song. More...
#include <constructo.h>


Classes | |
| class | MovingPSPlane |
| A particle system that collides with a plane of a moving transformable, 0xc bytes. More... | |
Public Types | |
| enum | Level { kLevelP1 = 1 , kLevelP2 = 2 , kLevelP3 = 3 , kLevelP4 = 4 , kLevelBoss = 5 } |
| The level of the arena, from its name. More... | |
| Public Types inherited from GfxArena | |
| enum | PanelFlag { kPanelLowEnergy = 0x1 , kPanelBeat = 0x2 , kPanelFrequency = 0x4 } |
| The bits of mPanelFlags, in order of precedence from the last. More... | |
| typedef GfxArena *(* | Creator) (const char *pszName) |
| A function that builds an arena of a name, or reports null when the name is not its own. | |
Public Member Functions | |
| Constructo (const char *pszName) | |
| Construct the arena of a name. | |
| ~Constructo () override | |
| Destroy the arena. | |
| void | SetSongTicks (float fSongTicks) override |
| Fit the camera path to the song, and take the building parts out of the animation of their view to collide them with their planes. | |
| void | Poll (float fTick, float fTime) override |
| Poll the arena and advance the building parts. | |
| Public Member Functions inherited from GfxArena | |
| GfxArena (const char *pszName) | |
| Construct the arena of a name from the arena_paths entry of the gfx configuration. | |
| virtual | ~GfxArena () |
| Destroy the arena. | |
| virtual void | LoadConfig () |
| Read the configuration of the arena again, with its triggers from their file. | |
| void | LoadTriggers () |
| Start to stream the triggers of the arena, or mark them loaded when the arena has none. | |
| void | PollLoad (bool bHudLoaded) |
| Gather the objects of the arena once its file is read, and load the streamed triggers once they are ready. | |
| void | SetCamPath (RndTransAnim *pPath) |
| Set the camera path unless the arena found one. | |
| void | ResetPanels () |
| Return the panels to their resting look. | |
| void | SetEnergy (int nZone, float fEnergy) |
| Show the energy of the play field on the panels, unless a won result is shown. | |
| void | ShowResult (bool bWon) |
| Show the result of the song on the panels. | |
| void | HandleBeat (signed char nEvent) |
| Run the effect of a beat event of the song. | |
| const String & | GetName () const |
| DataArray * | GetConfig () const |
| void | SetLoader (RndLoader *pLoader) |
| RndView * | GetView () const |
| RndTransAnim * | GetCamPath () const |
| float | GetSongTicks () const |
| float | GetCamPathLength () const |
| int | GetUnlockIndex () const |
| RndEnviron * | GetEnviron () const |
| float | GetFreestyle () const |
| int | GetTriggersLoaded () const |
| AsyncStream * | GetTriggerStream () const |
Static Public Member Functions | |
| static GfxArena * | Create (const char *pszName) |
| Build the arena of a name that starts with Constructo. | |
| Static Public Member Functions inherited from GfxArena | |
| static GfxArena * | Create (const char *pszName) |
| Create the arena of a name, through the first registered creator that accepts the name or as a plain arena. | |
Additional Inherited Members | |
| Static Public Attributes inherited from GfxArena | |
| static constexpr int | kNumMovies = 4 |
| The number of movies of an arena, movie1.mov to movie4.mov. | |
| static constexpr int | kBeatMovie = 3 |
| The movie a beat plays. | |
| static Creator | sCreators [] |
| The creators of derived arenas, up to a null entry. | |
| static float | sLowEnergy |
| The energy at or below which the panels show snow, the second number of juice_blink_range. | |
| Protected Attributes inherited from GfxArena | |
| DataArray * | mConfig |
| float | mFrameScale |
Arena of the Constructo levels, whose building parts collide with planes that move with the song.
The RTTI identifies the class. The object is 0xac bytes.
| enum Constructo::Level |
|
explicit |
Construct the arena of a name.
| pszName | The arena. |
|
override |
Destroy the arena.
|
static |
Build the arena of a name that starts with Constructo.
| pszName | The arena. |
|
overridevirtual |
Fit the camera path to the song, and take the building parts out of the animation of their view to collide them with their planes.
| fSongTicks | The length of the song in ticks. |
Reimplemented from GfxArena.
|
overridevirtual |
Poll the arena and advance the building parts.
| fTick | The tick of the song. |
| fTime | The time of the display. |
Reimplemented from GfxArena.