WINTERMUTE: Avoid including script_ext_math.h in base_game.cpp

This commit is contained in:
Einar Johan Trøan Sømåen 2012-12-02 20:46:26 +01:00
parent 674c625209
commit ea024cd203
3 changed files with 2 additions and 4 deletions

View File

@ -54,7 +54,6 @@
#include "engines/wintermute/base/scriptables/script_engine.h"
#include "engines/wintermute/base/scriptables/script_stack.h"
#include "engines/wintermute/base/scriptables/script.h"
#include "engines/wintermute/base/scriptables/script_ext_math.h"
#include "engines/wintermute/video/video_player.h"
#include "engines/wintermute/video/video_theora_player.h"
#include "engines/wintermute/utils/utils.h"
@ -405,7 +404,7 @@ bool BaseGame::initialize1() {
break;
}
_mathClass = new SXMath(this);
_mathClass = makeSXMath(this);
if (_mathClass == NULL) {
break;
}

View File

@ -138,7 +138,7 @@ public:
BaseRenderer *_renderer;
BaseSoundMgr *_soundMgr;
ScEngine *_scEngine;
SXMath *_mathClass;
BaseScriptable *_mathClass;
BaseSurfaceStorage *_surfaceStorage;
BaseFontStorage *_fontStorage;
BaseGame(const Common::String &gameId);

View File

@ -30,7 +30,6 @@
#include "engines/wintermute/base/scriptables/script_value.h"
#include "engines/wintermute/base/scriptables/script.h"
#include "engines/wintermute/base/scriptables/script_stack.h"
#include "engines/wintermute/base/scriptables/script_ext_math.h"
#include "engines/wintermute/base/base_engine.h"
#include "engines/wintermute/base/base_game.h"
#include "engines/wintermute/base/base_file_manager.h"