244 void ClearLevelLists();
260 int IsStageUnavailable(
int nStage);
268 void ShowStageBonus(
int nStage);
276 void ApplyStageStyles();
286 int IsLevelLocked(
int nLevel);
297 void RefreshIndicators(
int bStageLocked);
305 void ShowLevelTexts(
int nShowing);
313 void ShowWarning(
bool bShow);
321 void StyleLevel(
int bStageLocked,
const HxStr &levelName);
329 void ShowLevelDetails();
345 void LoadLevelTextures();
361 void RebuildLevelLists();
369 void UpdateSecretLevels(
int bUnlockAll);
377 void SetUpStages(
int bUnlockAll);
388 int IsStageBeaten(
CampaignStats &stats,
int nDifficulty,
int nStage);
396 void ShowIndicators(
int nShowing);
406 int IsStageSelectable(
int nStage);
420 std::vector<Rnd::Mat *> mTvMats;
421 std::vector<Rnd::Mat *> mTvLogoMats;
422 float mScrollLeftTime;
423 float mScrollRightTime;
433 std::vector<Rnd::Tex *> mLevelStateTexs;
434 std::vector<StatusSlot> mStatusSlots;
436 int mScrollDirection;
437 std::vector<Rnd::Mat *> mWonMats;
438 std::vector<Rnd::Mat *> mOpenMats;
439 std::vector<Rnd::Mat *> mLockedMats;
443 std::vector<ButtonStyle> mOpenStyles;
444 std::vector<ButtonStyle> mClosedStyles;
445 std::vector<Rnd::Mesh *> mStageWires;
446 std::vector<Rnd::Mesh *> mIndicatorWires;
447 std::vector<StageListEntry> mStageLevels[5];
448 std::vector<StageListEntry> mCustomLevels;
449 std::vector<StageListEntry> *mCurrentLevels;
450 int mSelectedLevel[6];
454 int mSuperSecretUnlocked;
Persisted progress across the whole campaign.
Definition campaignstats.h:35
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Front-end renderer that owns the screen stack and drives every MetScreen.
Definition metrenderer.h:68
MetScreen(MetRenderer *pRenderer, int nPriority, const HxStr &name, const HxStr &directory, const HxStr &file)
Construct a screen and start its container load.
virtual void EnterAndShow()
Rebuild the stages, caption the title, and show the screen.
virtual void PlaySlideSound(int nSelector)
Play the slide sound when the selected stage is selectable.
virtual void ResolveContainerViews()
Resolve the container objects.
virtual ~MetSoloStagesScreen()
Delete the two button lists and empty the level lists.
MetSoloStagesScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void UpdateIdle(float flTime)
Swap in loaded textures and run the television scroll.
virtual void BeginExit()
Blank the television and exit.
virtual void OnExitFinished()
Push the next screens once the exit finishes.
virtual void PlayCycleRightSound(int nSelector)
Play the cycle-right sound when the selected stage is available.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Move between stages, scroll the levels, or act on the selection.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Finish a scroll or a selection once its button stops alternating.
virtual void OnEnterFinished()
Show the television and load the selected level's textures.
static MetSoloStagesScreen * New(MetRenderer *pRenderer, int nPriority)
Allocate and construct the screen.
virtual void PlayCycleLeftSound(int nSelector)
Play the cycle-left sound when the selected stage is available.
Glyph atlas, either a host font description or a grid of cells inside a material texture.
Definition font.h:59
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Indexed triangle mesh with one material.
Definition mesh.h:46
Texture, as a bitmap path plus the load state of its mip levels.
Definition tex.h:43
Run of text drawn as a quad per glyph.
Definition text.h:57
Animation that drives one transformable from three keyframe channels.
Definition transanim.h:49
Root of a loadable scene.
Definition view.h:47
Pair of textures a screen alternates between, one shown while the other loads.
Definition texturepairrecord.h:30
The rendering engine.
Definition animhelper.h:3
One navigation command delivered to a screen.
Definition metscreen.h:46
Status panel material and the mesh that shows it.
Definition metsolostagesscreen.h:224
Rnd::Mat * mMat
Definition metsolostagesscreen.h:225
Rnd::Mesh * mMesh
Definition metsolostagesscreen.h:226