resonance 1.0.1
Loading...
Searching...
No Matches
metnullrenderer.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/rendererbase.h"
4#include "game/gameparams.h"
5
6class HxStr;
7class Message;
9
25public:
37
45
55 virtual void DispatchPriv(Message *pMsg);
56
63 virtual void Update();
64
77 virtual void Draw();
78
79private:
93 void OnRawController(RawControllerMsg *pMsg);
94
106 static int ParseRuleset(const HxStr &ruleset);
107
108 GameParams mParams; // +0x48, the settings the ruleset fills
109 int mLoadPending; // +0x80, set while a ruleset load is pending
110 int mPlayerCount; // +0x84, the ruleset's player count
111};
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
virtual void Draw()
Start the game once the ruleset's level has loaded, then pump the timers in the front end.
virtual ~MetNullRenderer()
Destroy MetFreqMakerAssetManager through MetFreqMakerAssetManager::Destroy().
virtual void Update()
Unrecovered.
MetNullRenderer()
Construct the renderer and start the front-end loads.
virtual void DispatchPriv(Message *pMsg)
Handle one message.
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.