aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/mads_logic.h
diff options
context:
space:
mode:
authorPaul Gilbert2011-05-15 09:23:02 +1000
committerPaul Gilbert2011-05-15 09:23:02 +1000
commit0bcfbd3cbdc4910e40635846844b1d356b1ae82e (patch)
tree2c67bee46a4c46de877cf583a79c2da79951260a /engines/m4/mads_logic.h
parent82343f6649fed0a8b315e31c8b5177e4840b76e4 (diff)
downloadscummvm-rg350-0bcfbd3cbdc4910e40635846844b1d356b1ae82e.tar.gz
scummvm-rg350-0bcfbd3cbdc4910e40635846844b1d356b1ae82e.tar.bz2
scummvm-rg350-0bcfbd3cbdc4910e40635846844b1d356b1ae82e.zip
M4: Replaced the trouble variable data map code with direct statements.
Since there aren't expected to be all that many engine variables needed, this seems a cleaner overall implementation.
Diffstat (limited to 'engines/m4/mads_logic.h')
-rw-r--r--engines/m4/mads_logic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/mads_logic.h b/engines/m4/mads_logic.h
index 861a56880c..016adb2ebf 100644
--- a/engines/m4/mads_logic.h
+++ b/engines/m4/mads_logic.h
@@ -85,14 +85,14 @@ private:
void getSceneSpriteSet();
void getAnimName();
- DataMap &dataMap();
+ uint32 getDataValue(int dataId);
+ void setDataValue(int dataId, uint16 dataValue);
void getCallParameters(int numParams, Common::Stack<ScriptVar> &stack, ScriptVar *callParams);
public:
MadsSceneLogic() { _scriptsData = NULL; }
~MadsSceneLogic() { delete _scriptsData; }
void initialiseScripts();
- void initialiseDataMap();
void selectScene(int sceneNum);
void setupScene();