resonance 1.0.1
Loading...
Searching...
No Matches
metagameworld.h
Go to the documentation of this file.
1#pragma once
2
4
6class RendererBase;
7
27public:
38
46 virtual ~MetaGameWorld();
47
62 virtual void OnControllerReading(int nTag, int nPadIndex, int nButton, float flValue);
63
76
86
97
111
112private:
123 void CreateRenderer();
124
133 void KillRenderer();
134
135 // The front-end renderer, a MetNullRenderer or a MetRenderer. +0x04
136 RendererBase *mRenderer;
137 // Receives every controller reading ahead of the renderer. +0x08
138 InputCheatDetectorMet *mCheatDetector;
139};
Cheat detector for the front end.
Definition inputcheatdetectormet.h:22
virtual ~MetaGameWorld()
Release the cheat detector through its own table, then the renderer through KillRenderer().
virtual void OnControllerReading(int nTag, int nPadIndex, int nButton, float flValue)
Report a controller reading.
int IsAwaitingStart()
Report whether the title screen waits for Start, or 0 under the null renderer.
MetaGameWorld()
Build the renderer and the cheat detector.
void StartFrontEnd()
Start the front end running through RendererBase::Start().
void StopFrontEnd()
Stop the front end running through RendererBase::Stop().
RendererBase * GetRenderer()
Report the front-end renderer.
Base of every object that reads a controller directly.
Definition rawcontroller.h:19
Base of every renderer, with a message queue and a router of its own.
Definition rendererbase.h:27