mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-11 12:18:05 +00:00
SCI: Reduce header interdependencies a bit
svn-id: r47666
This commit is contained in:
parent
4ffec28103
commit
b124a0c1cd
@ -36,6 +36,7 @@
|
||||
#include "sci/engine/message.h"
|
||||
#include "sci/engine/savegame.h"
|
||||
#include "sci/engine/vm_types.h"
|
||||
#include "sci/engine/script.h" // for SCI_OBJ_EXPORTS and SCI_OBJ_SYNONYMS
|
||||
#include "sci/graphics/gui.h"
|
||||
#include "sci/sound/audio.h"
|
||||
#ifdef USE_OLD_MUSIC_FUNCTIONS
|
||||
@ -702,6 +703,7 @@ static void load_script(EngineState *s, Script *scr) {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Move thie function to a more appropriate place, such as vm.cpp or script.cpp
|
||||
void SegManager::reconstructScripts(EngineState *s) {
|
||||
uint i;
|
||||
SegmentObj *mobj;
|
||||
|
@ -26,6 +26,9 @@
|
||||
#include "sci/sci.h"
|
||||
#include "sci/resource.h"
|
||||
#include "sci/engine/state.h"
|
||||
#include "sci/engine/kernel.h"
|
||||
#include "sci/engine/script.h"
|
||||
|
||||
#include "common/util.h"
|
||||
|
||||
namespace Sci {
|
||||
|
@ -29,6 +29,8 @@
|
||||
#include "sci/console.h"
|
||||
#include "sci/debug.h"
|
||||
#include "sci/engine/state.h"
|
||||
#include "sci/engine/kernel.h"
|
||||
#include "sci/engine/script.h"
|
||||
|
||||
namespace Sci {
|
||||
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
#include "sci/engine/vm_types.h" // for reg_t
|
||||
#include "sci/engine/vm.h"
|
||||
#include "sci/engine/kernel.h" // for Kernel::_selectorCache
|
||||
|
||||
namespace Sci {
|
||||
|
||||
|
@ -37,8 +37,6 @@ namespace Common {
|
||||
|
||||
#include "sci/sci.h"
|
||||
#include "sci/resource.h"
|
||||
#include "sci/engine/kernel.h" // for kfunct_sig_pair_t
|
||||
#include "sci/engine/script.h"
|
||||
#include "sci/engine/seg_manager.h"
|
||||
|
||||
#include "sci/parser/vocabulary.h"
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include "sci/engine/kernel.h"
|
||||
#include "sci/engine/kernel_types.h"
|
||||
#include "sci/engine/seg_manager.h"
|
||||
#include "sci/engine/script.h"
|
||||
#include "sci/engine/gc.h"
|
||||
|
||||
namespace Sci {
|
||||
|
@ -35,6 +35,7 @@
|
||||
|
||||
#include "sci/engine/state.h"
|
||||
#include "sci/engine/kernel.h"
|
||||
#include "sci/engine/script.h" // for script_adjust_opcode_formats & script_free_breakpoints
|
||||
|
||||
#include "sci/sound/audio.h"
|
||||
#include "sci/sound/soundcmd.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user