diff options
author | Paul Gilbert | 2013-06-12 22:13:52 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-06-12 22:13:52 -0400 |
commit | e24e181a2a7ca734550c75905ea6e8c079d4a20d (patch) | |
tree | b002faea343f56d574c1d848634e80f16fe727c1 /engines/voyeur/utils.cpp | |
parent | f9b2c62bcd9522d67efde81af95b6c5401013f21 (diff) | |
download | scummvm-rg350-e24e181a2a7ca734550c75905ea6e8c079d4a20d.tar.gz scummvm-rg350-e24e181a2a7ca734550c75905ea6e8c079d4a20d.tar.bz2 scummvm-rg350-e24e181a2a7ca734550c75905ea6e8c079d4a20d.zip |
VOYEUR: Work implementing the lock display screen
Diffstat (limited to 'engines/voyeur/utils.cpp')
-rw-r--r-- | engines/voyeur/utils.cpp | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/engines/voyeur/utils.cpp b/engines/voyeur/utils.cpp index 4ddfd71f6d..a5745e67cb 100644 --- a/engines/voyeur/utils.cpp +++ b/engines/voyeur/utils.cpp @@ -21,11 +21,35 @@ */ #include "voyeur/utils.h" +#include "common/savefile.h" namespace Voyeur { -void LockClass::getSysData() { +LockTime::LockTime() { + field0 = field1 = field2 = field3 = 0; +} + +void LockClass::getSysDate() { + +} + +void LockClass::getThePassword() { + field0 = 26; + _password = "3333"; + fieldE = field16; + field12 = field1A; + fieldC = -1; + + // TODO: Original loaded 'VOYEUR.DAT' here to get most recent game's password. + // We'll want to transform this to proper savegames in ScummVM +} + +void LockClass::saveThePassword() { + //TODO +} +Common::String LockClass::getDateString() { + return Common::String(); } } // End of namespace Voyeur |