wavelength 1.0.0
Loading...
Searching...
No Matches
constructo.h
Go to the documentation of this file.
1#pragma once
2
3#include <list>
4
5#include "gfx/gfxarena.h"
8
15class Constructo : public GfxArena {
16public:
18 enum Level {
24 };
25
32 public:
40 void Update(float fFrame);
41
44 char mAxis;
45 };
46
54 explicit Constructo(const char *pszName);
55
64 static GfxArena *Create(const char *pszName);
65
72 ~Constructo() override;
73
82 void SetSongTicks(float fSongTicks) override;
83
92 void Poll(float fTick, float fTime) override;
93
94private:
95 Level mLevel;
96 std::list<MovingPSPlane> mPlanes;
97};
A particle system that collides with a plane of a moving transformable, 0xc bytes.
Definition constructo.h:31
void Update(float fFrame)
Set the collision plane from the transformable and advance the particles.
RndTransformable * mPlane
Definition constructo.h:43
char mAxis
Definition constructo.h:44
RndParticleSys * mParticles
Definition constructo.h:42
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 co...
Level
The level of the arena, from its name.
Definition constructo.h:18
@ kLevelP1
Definition constructo.h:19
@ kLevelP2
Definition constructo.h:20
@ kLevelP4
Definition constructo.h:22
@ kLevelP3
Definition constructo.h:21
@ kLevelBoss
Definition constructo.h:23
Constructo(const char *pszName)
Construct the arena of a name.
~Constructo() override
Destroy the arena.
void Poll(float fTick, float fTime) override
Poll the arena and advance the building parts.
static GfxArena * Create(const char *pszName)
Build the arena of a name that starts with Constructo.
GfxArena(const char *pszName)
Construct the arena of a name from the arena_paths entry of the gfx configuration.
Emitter that spawns, moves, and fades a population of particles.
Definition rndparticlesys.h:69
Mix-in for an object with a local transform and a world transform derived from its parent's.
Definition rndtransformable.h:17