161 return mPullBackLevel;
171 return &mScreenJiggle;
185 float mPullBackLevel;
201 std::map<String, Algorithm>::iterator mAlgorithm;
212 void PlayIntro(
float flTick);
297 void UpdateZoom(
bool bImmediate);
Interpolator that follows an arctangent, which eases in and out of the range.
Definition interpolator.h:287
Reference-counted array of script data nodes.
Definition dataarray.h:20
Arena the play field flies through, with its camera path, its triggers, and the movies and the freque...
Definition gfxarena.h:28
Tunnel of tracks the players fly down, with the gems, the cameras of the players, and the effects dra...
Definition gfxtunnel.h:58
void SetZoom(float flZoom)
Set a pull back as a multiple of the far one, and start the pull back to it.
const Transform & GetCamera() const
Definition playercamfx.h:150
void Kick(float flAmount)
Kick the jiggle of the camera.
static void LoadConfig(DataArray *pConfig, DataArray *pDefaults, GfxTunnel *pTunnel, int nOption)
Load the shared settings, and register the algorithms.
const Vector3 * GetScreenJiggle() const
Definition playercamfx.h:170
int GetZoomedOut() const
Definition playercamfx.h:165
void SetZoomedOut(int nZoomedOut)
Select the far pull back, and start the pull back to it.
void(PlayerCamFX::* Algorithm)(GfxTunnel *, Transform &, Transform &, int, bool)
An algorithm that places the camera for a player.
Definition playercamfx.h:33
PlayerCamFX(int nPlayer, int nNumTracks, bool bBoss)
Find the camera objects and the intro animation.
void Reset(bool bNearPullBack)
Return the camera to its start.
void SetBlendAlgorithm(const char *pszName, float flBlend)
Blend in a second algorithm by its name.
float GetPullBackLevel() const
Definition playercamfx.h:160
const Transform & GetView() const
Definition playercamfx.h:155
void Poll(GfxTunnel *pTunnel, GfxArena *pArena, float flTick, float flTime)
Place the camera objects for a frame.
~PlayerCamFX()
Release the camera.
void SetSlide(const Transform *pXfm, float flBlend)
Slide the view towards a transform, or stop sliding.
void SetBlend(float flBlend)
Set the blend towards the second algorithm.
Stage that follows the frame like a damped spring.
Definition rndanimatable.h:469
Camera.
Definition rndcam.h:23
Animation of a transformable's local transform by rotation, translation, and scale keys.
Definition rndtransanim.h:20
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:14