465 void ResolveSceneViews();
476 void ClearScreenScene();
485 void OnStartPause(
Message *pMsg);
497 void OnFreqEnded(
Message *pMsg);
528 static void CreateCommonLoaders();
536 static void CreateArenaLoader();
544 static void StartArenaLoad();
552 static void EnqueueArenaLoader();
582 long long mPreviousFrameNs;
590 std::vector<MetScreen *> mScreens;
613 int mShowTimingGraph;
615 int mShowRenderStats;
620 int mBootLoadPending;
627 std::list<int> mUnusedList;
631 int mDiscProblemPending;
681#ifdef VIDEO_STANDARD_PAL
691inline const char *LocalizedAssetSuffix() {
692 switch (GetLanguage()) {
693 case SCE_GERMAN_LANGUAGE:
695 case SCE_FRENCH_LANGUAGE:
697 case SCE_ITALIAN_LANGUAGE:
699 case SCE_SPANISH_LANGUAGE:
Mix-in for an object that takes part in a screen fade.
Definition fadeuser.h:28
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Translator from one raw controller reading to one front-end command.
Definition metcommandmap.h:28
Auto-repeat state for the front end, one record per controller.
Definition metcommandrepeater.h:19
Driver of the full-screen metagame fade.
Definition metfade.h:29
void OnReturnFromGame()
Do nothing.
void OnReturnToMenus()
Do nothing.
float mAnimationFrame
Current animation frame position of the front end.
Definition metrenderer.h:442
int IsLogoScreenActive()
Report whether the active panel is a MetLogoScreen.
void AddScreenView(Rnd::View *pView)
Attach the three animatable, drawable, and transformable subobjects of one view to the screen scene a...
static MetRenderer * sInstance
The one front-end renderer.
Definition metrenderer.h:565
void ForwardToPanel(Message *pMsg)
Hand a message to the active panel, when there is one.
virtual void OnFadeInDone()
Do nothing when a fade in finishes.
virtual void DrawSimple()
Draw the front-end scene and the debug overlays, and no screen.
void ForwardToPanelUnchecked(Message *pMsg)
Hand a message to the active panel without testing for one.
virtual void DispatchPriv(Message *pMsg)
Dispatch one front-end message.
void AddScreen(MetScreen *pScreen)
Append one screen to the screen stack.
virtual void Stop()
Stop the front end running.
void UnlockAllStages()
Send a MetUnlockStagesMsg to the active panel, when there is one.
virtual void Draw()
Draw the front-end scene, every screen, and the debug overlays.
virtual ~MetRenderer()
Release the screen stack, the two input helpers, and the fade.
void ClearBackgroundScene()
Release the animatable, drawable, and transformable lists of the background scene at mBackgroundScene...
void RemoveScreenView(Rnd::View *pView)
Detach one view from the screen scene at mScreenScene.
MetRenderer()
Construct the renderer and start the front-end load.
void SetActivePanel(MetScreen *pScreen)
Record one screen as the active panel.
friend class MetaGameWorld
Definition metrenderer.h:70
void AddBackgroundView(Rnd::View *pView)
Attach one view to the background scene at mBackgroundScene.
int mTitlePromptShowing
Zeroed by the constructor.
Definition metrenderer.h:572
int mMaxPadIndex
Highest pad index DispatchPriv() accepts a RawControllerMsg from.
Definition metrenderer.h:646
virtual void Update()
Advance the front end by one frame, including the boot and disc-problem phases.
void ActivatePanel(MetScreen *pScreen)
Make one screen the active panel and start it entering.
void RemoveScreen(MetScreen *pScreen)
Erase one screen from the screen stack and detach its view from the scene.
static void UnloadArenaLoader()
Unload the arena container.
void ResolveArenaView(int nSkipResolve)
Resolve Metagame_arena.view and attach it to the background scene.
virtual void Start()
Start the front end running.
virtual void UpdateSimple()
Advance every screen's animation frame.
static int PollArenaLoader(float *pfProgress)
Report how far the arena container load has advanced.
int mPanelActive
Flag that MetScreen sets when it activates a named sub-screen and clears when it activates none.
Definition metrenderer.h:454
virtual void OnFadeOutDone()
Promote the pending panel and start it entering.
void MoveScreenViewToFront(Rnd::View *pView)
Move a screen view to the front of the screen scene's draw order.
Base of every front-end screen.
Definition metscreen.h:212
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26
Event the game passes between a MsgSource and a MsgSink.
Definition rawcontrollermsg.h:24
RendererBase()
Start the queue with the router as its one sink.
Request to load one renderer file in the background.
Definition asyncloader.h:29
Root of a loadable scene.
Definition view.h:47
void ReleaseMetGlobal()
Unload the three common containers.
int ProgressMetGlobal(float &flProgress)
Report how far the three common container loads have advanced together.
void LoadMetGlobal()
Enqueue each common container load that is still pending.