274 void OnPointAmount(
Message *pMsg);
291 int mDrawTimingGraph;
293 int mDrawRenderStats;
295 std::vector<Cell> mCells;
307 std::vector<Rnd::View *> mLocalViews;
362#ifdef VIDEO_STANDARD_PAL
Game-side driver of the tunnel the in-game renderer draws.
Definition apptunnel.h:88
Event the game passes between a MsgSource and a MsgSink.
Definition barstatusmsg.h:34
std::bitset< kEffectCount > Effects
One bit per effect kind.
Definition barstatusmsg.h:45
Event the game passes between a MsgSource and a MsgSink.
Definition gamebeginmsg.h:21
Settings a game session is started with.
Definition gameparams.h:42
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26
Head-up display the in-game renderer draws over the tunnel.
Definition overlay.h:32
One participant in a session, local or remote.
Definition player.h:39
RendererBase()
Start the queue with the router as its one sink.
In-game renderer that drives the tunnel, the overlay, and the arena for one game.
Definition renderer.h:56
static int PollCommon(float *pflProgress)
Poll the common loads, three or, in the European release, four.
float mSongTick
The song tick PollMessages() last sampled, in MIDI ticks.
Definition renderer.h:287
Renderer()
Build the tunnel, overlay, and arena for the game about to start.
static int PollLevel(float *pflProgress)
Poll the arena and level loads.
virtual void PollMessages()
Sample the song clock, then deliver every queued message.
static void LoadCommon()
Start the three common loads unless they have already started.
virtual void Draw()
Draw the frame.
virtual void DispatchPriv(Message *pMsg)
Dispatch one message.
virtual void Update()
Advance everything the renderer draws to the sampled song tick.
static int IsLevelLoaded(const HxStr &arena, const HxStr &level)
Report whether one arena and level are loaded.
virtual ~Renderer()
Release the three sinks and clear g_pRenderer.
static void LoadLevel(const GameParams ¶ms)
Start the level and arena loads for one game unless they are already the ones loaded.
Cell * GetCell(int nTrack, int nBar)
Look up the cell for one track and bar.
static void UnloadLevel()
Delete the level and arena loaders and forget both names.
static void UnloadCommon()
Release the level loads and then the three common loads.
Request to load one renderer file in the background.
Definition asyncloader.h:29
Root of a loadable scene.
Definition view.h:47
Pausable view of scheduler time, together with the tempo that maps it to a song position.
Definition tickclock.h:40
Game-side controller of the arena screens around the tunnel.
Definition tnlarena.h:39
The rendering engine.
Definition animhelper.h:3
Scheduling of timed commands.
Definition activefilter.h:9
RndAsyncLoader * g_pTunnelLoader
Loader for tunnel/tunnel_new.rnd.
RndAsyncLoader * g_pLevelLoader
Loader for the level Renderer::LoadLevel() last started.
int g_nLsdMode
Switch that selects the alternative GS draw context in Renderer::Draw().
Renderer * g_pRenderer
The renderer that exists, or null.
RndAsyncLoader * g_pLaunchLoader
Loader for tunnel/launch.rnd.
HxStr g_levelName
Level name g_pLevelLoader was started for, empty when none.
HxStr g_arenaName
Arena name g_pArenaLoader was started for, empty when none.
RndAsyncLoader * g_pHudLoader
Loader for hud/hud.rnd.
RndAsyncLoader * g_pArenaLoader
Loader for the arena Renderer::LoadLevel() last started.
One cell of the bar grid, a plain record of the last BarStatusMsg state per track and bar.
Definition renderer.h:65
BarStatusMsg::Effects mEffects
Definition renderer.h:69
int mEnabled
Definition renderer.h:67
Player * mPlayer
Definition renderer.h:66
int mBar
Definition renderer.h:70
int mPowerup
Definition renderer.h:68