diff options
author | Max Horn | 2003-10-08 21:59:23 +0000 |
---|---|---|
committer | Max Horn | 2003-10-08 21:59:23 +0000 |
commit | d1773647159f9ef1393d7a1d33204de5886edce5 (patch) | |
tree | d31f1a3689fa34a525671f21d7a858fe8570762f /sword2 | |
parent | 3c78c0929c553fd67016f87c6cdc38d3f50d7ca2 (diff) | |
download | scummvm-rg350-d1773647159f9ef1393d7a1d33204de5886edce5.tar.gz scummvm-rg350-d1773647159f9ef1393d7a1d33204de5886edce5.tar.bz2 scummvm-rg350-d1773647159f9ef1393d7a1d33204de5886edce5.zip |
new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
svn-id: r10687
Diffstat (limited to 'sword2')
-rw-r--r-- | sword2/sword2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/sword2.cpp b/sword2/sword2.cpp index 214ffbbcf1..731850fae6 100644 --- a/sword2/sword2.cpp +++ b/sword2/sword2.cpp @@ -20,7 +20,7 @@ #include "stdafx.h" #include "base/gameDetector.h" #include "base/plugins.h" -#include "common/config-file.h" +#include "common/config-manager.h" #include "bs2/build_display.h" #include "bs2/console.h" #include "bs2/controls.h" @@ -105,9 +105,9 @@ Sword2Engine::Sword2Engine(GameDetector *detector, OSystem *syst) _features = detector->_game.features; _gameId = detector->_game.id; _game_name = strdup(detector->_gameFileName.c_str()); - _bootParam = detector->_bootParam; - _saveSlot = detector->_save_slot; - _debugLevel = detector->_debugLevel; + _bootParam = ConfMan.getInt("boot_param"); + _saveSlot = ConfMan.getInt("save_slot"); + _debugLevel = ConfMan.getInt("debuglevel"); // Setup mixer if (!_mixer->bindToSystem(syst)) |