mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 02:39:56 +00:00
AVALANCHE: Instantiate finished classes in the engine.
This commit is contained in:
parent
8398250387
commit
dd40c1896b
@ -46,6 +46,9 @@ namespace Avalanche {
|
||||
_system = syst;
|
||||
_console = new AvalancheConsole(this);
|
||||
_rnd = 0;
|
||||
|
||||
_gyro.setParent(this);
|
||||
_enhanced.setParent(this);
|
||||
}
|
||||
|
||||
AvalancheEngine::~AvalancheEngine() {
|
||||
|
@ -29,6 +29,8 @@
|
||||
#define AVALANCHE_H
|
||||
|
||||
#include "avalanche/console.h"
|
||||
#include "avalanche/gyro2.h"
|
||||
#include "avalanche/enhanced2.h"
|
||||
|
||||
#include "engines/engine.h"
|
||||
#include "engines/advancedDetector.h"
|
||||
@ -45,6 +47,10 @@ static const int kSavegameVersion = 1;
|
||||
|
||||
class AvalancheEngine : public Engine {
|
||||
public:
|
||||
Gyro _gyro;
|
||||
Enhanced _enhanced;
|
||||
|
||||
|
||||
AvalancheEngine(OSystem *syst, const AvalancheGameDescription *gd);
|
||||
~AvalancheEngine();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user