mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
WINTERMUTE: Avoid including script_ext_math.h in base_game.cpp
This commit is contained in:
parent
674c625209
commit
ea024cd203
@ -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;
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ public:
|
||||
BaseRenderer *_renderer;
|
||||
BaseSoundMgr *_soundMgr;
|
||||
ScEngine *_scEngine;
|
||||
SXMath *_mathClass;
|
||||
BaseScriptable *_mathClass;
|
||||
BaseSurfaceStorage *_surfaceStorage;
|
||||
BaseFontStorage *_fontStorage;
|
||||
BaseGame(const Common::String &gameId);
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user