diff options
author | Eugene Sandulenko | 2005-05-08 03:08:11 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-05-08 03:08:11 +0000 |
commit | 8e5bf3c0925aeef59a7dafb9fb7e42b4c0482c37 (patch) | |
tree | ac0d74fce22227ab0e98b6c5eb2bbcfe0d070aeb /scumm/vars.cpp | |
parent | d9b81f4ab8472c453607a283555ed415fe4d202e (diff) | |
download | scummvm-rg350-8e5bf3c0925aeef59a7dafb9fb7e42b4c0482c37.tar.gz scummvm-rg350-8e5bf3c0925aeef59a7dafb9fb7e42b4c0482c37.tar.bz2 scummvm-rg350-8e5bf3c0925aeef59a7dafb9fb7e42b4c0482c37.zip |
Initial support for intensive floating point compuitations used in
Putt-Putt Race. Still incomplete.
svn-id: r17949
Diffstat (limited to 'scumm/vars.cpp')
-rw-r--r-- | scumm/vars.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp index 55d5920ff0..bf2d5d9692 100644 --- a/scumm/vars.cpp +++ b/scumm/vars.cpp @@ -24,6 +24,7 @@ #include "stdafx.h" #include "common/config-manager.h" #include "scumm/scumm.h" +#include "scumm/logic_he.h" #include "scumm/intern.h" #include "sound/mididrv.h" @@ -566,9 +567,12 @@ void ScummEngine_v90he::initScummVars() { if (_heversion >= 95) { VAR(VAR_NUM_SPRITE_GROUPS) = MAX(64, _numSprites / 4) - 1; VAR(VAR_NUM_SPRITES) = _numSprites - 1; - VAR(VAR_U32_VERSION) = -1; VAR(VAR_WIZ_TCOLOR) = 5; } + + if (_heversion >= 98) { + VAR(VAR_U32_VERSION) = _logicHE->versionID(); + } } void ScummEngine_v99he::initScummVars() { |