diff options
author | Max Horn | 2002-12-16 12:12:31 +0000 |
---|---|---|
committer | Max Horn | 2002-12-16 12:12:31 +0000 |
commit | c4b6fa7f70a6a8fdad10460230fb160e78ad5df2 (patch) | |
tree | 861960e88c2864341bb137b88a1dbead514e33a4 /scumm/vars.cpp | |
parent | 254d8c81f9b50839247709103edc0dc85934bc42 (diff) | |
download | scummvm-rg350-c4b6fa7f70a6a8fdad10460230fb160e78ad5df2.tar.gz scummvm-rg350-c4b6fa7f70a6a8fdad10460230fb160e78ad5df2.tar.bz2 scummvm-rg350-c4b6fa7f70a6a8fdad10460230fb160e78ad5df2.zip |
refactoring: use inheritance to mode the relations between the various engine versions. E.g. the V6 opcodes are now in Scumm_v6, the V5 opcodes in Scumm_v5 (from which we now derive v2-v4. which is a bit odd - maybe we should move the v5 opcodes to Scumm_v3 ?)
svn-id: r5994
Diffstat (limited to 'scumm/vars.cpp')
-rw-r--r-- | scumm/vars.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp index 6a869db347..4b7d32861e 100644 --- a/scumm/vars.cpp +++ b/scumm/vars.cpp @@ -24,9 +24,8 @@ #include "stdafx.h" #include "scumm.h" -void Scumm::setupScummVarsOld() +void Scumm::setupScummVars() { - VAR_EGO = 1; VAR_CAMERA_POS_X = 2; VAR_HAVE_MSG = 3; @@ -112,7 +111,7 @@ void Scumm::setupScummVarsOld() } -void Scumm::setupScummVarsNew() +void Scumm_v7::setupScummVars() { VAR_MOUSE_X = 1; VAR_MOUSE_Y = 2; |