STARK: Move the service provider to a separate file
This commit is contained in:
parent
7f8f3789e5
commit
c93098e7af
18 changed files with 107 additions and 43 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "engines/stark/services/archiveloader.h"
|
||||
#include "engines/stark/services/global.h"
|
||||
#include "engines/stark/services/resourceprovider.h"
|
||||
#include "engines/stark/services/services.h"
|
||||
#include "engines/stark/services/stateprovider.h"
|
||||
#include "engines/stark/gfx/driver.h"
|
||||
#include "engines/stark/gfx/renderentry.h"
|
||||
|
@ -41,10 +42,6 @@
|
|||
#include "common/system.h"
|
||||
#include "audio/mixer.h"
|
||||
|
||||
namespace Common {
|
||||
DECLARE_SINGLETON(Stark::StarkServices);
|
||||
}
|
||||
|
||||
namespace Stark {
|
||||
|
||||
StarkEngine::StarkEngine(OSystem *syst, const ADGameDescription *gameDesc) :
|
||||
|
@ -84,7 +81,7 @@ StarkEngine::~StarkEngine() {
|
|||
}
|
||||
|
||||
Common::Error StarkEngine::run() {
|
||||
_console = new Console(this);
|
||||
_console = new Console();
|
||||
_gfx = GfxDriver::create();
|
||||
|
||||
// Get the screen prepared
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue