From c4b6fa7f70a6a8fdad10460230fb160e78ad5df2 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 16 Dec 2002 12:12:31 +0000 Subject: 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 --- scumm/vars.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scumm/vars.cpp') 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; -- cgit v1.2.3