From 6595abcf144850cc23208db71ce0098d9921112e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 5 Feb 2015 20:17:16 -0500 Subject: XEEN: Moved _maeNames to a new Resources class --- engines/xeen/xeen.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/xeen/xeen.cpp') diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index d7a85fbbf8..d34e8edb21 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -43,6 +43,7 @@ XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc) _interface = nullptr; _map = nullptr; _party = nullptr; + _resources = nullptr; _saves = nullptr; _screen = nullptr; _scripts = nullptr; @@ -72,6 +73,7 @@ XeenEngine::~XeenEngine() { delete _spells; delete _town; delete _eventData; + delete _resources; delete _files; } @@ -84,6 +86,7 @@ void XeenEngine::initialize() { // Create sub-objects of the engine _files = new FileManager(this); + _resources = new Resources(); _combat = new Combat(this); _debugger = new Debugger(this); _events = new EventsManager(this); -- cgit v1.2.3