diff options
author | uruk | 2014-04-26 08:02:00 +0200 |
---|---|---|
committer | uruk | 2014-04-26 08:02:00 +0200 |
commit | b58965e4e62259fc000dd731f694a24244268983 (patch) | |
tree | a08ed7b77927adaa7c6bf354566d34c85d454fe0 /engines/cge2/cge2.cpp | |
parent | aad77304a8727ba1d2a1b802a95c7f8085d50853 (diff) | |
download | scummvm-rg350-b58965e4e62259fc000dd731f694a24244268983.tar.gz scummvm-rg350-b58965e4e62259fc000dd731f694a24244268983.tar.bz2 scummvm-rg350-b58965e4e62259fc000dd731f694a24244268983.zip |
CGE2: Add file I/O.
Diffstat (limited to 'engines/cge2/cge2.cpp')
-rw-r--r-- | engines/cge2/cge2.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp index 0b06cd0fb4..8f84f5e31a 100644 --- a/engines/cge2/cge2.cpp +++ b/engines/cge2/cge2.cpp @@ -31,11 +31,16 @@ namespace CGE2 { CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription) : Engine(syst), _gameDescription(gameDescription) { + _resman = nullptr; } CGE2Engine::~CGE2Engine() { } +void CGE2Engine::init() { + _resman = new ResourceManager(); +} + bool CGE2Engine::hasFeature(EngineFeature f) const { return false; } @@ -58,6 +63,7 @@ Common::Error CGE2Engine::saveGameState(int slot, const Common::String &desc) { } Common::Error CGE2Engine::run() { + init(); warning("STUB: CGE2Engine::run()"); return Common::kNoError; } |