diff options
author | Paul Gilbert | 2014-02-01 15:18:27 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-01 15:18:27 -0500 |
commit | 10f9c2fb039a901b938229ca77eded3a3ef4fa75 (patch) | |
tree | 6a53cbf1f644f039e6447b479aa8041457407c3e /engines/voyeur/voyeur.h | |
parent | 971fd6304fca2b31c8f92f8a3bf2606b1f0a4e0f (diff) | |
download | scummvm-rg350-10f9c2fb039a901b938229ca77eded3a3ef4fa75.tar.gz scummvm-rg350-10f9c2fb039a901b938229ca77eded3a3ef4fa75.tar.bz2 scummvm-rg350-10f9c2fb039a901b938229ca77eded3a3ef4fa75.zip |
VOYEUR: Added method comments for SVoy and some of VoyeurEngine class methods
Diffstat (limited to 'engines/voyeur/voyeur.h')
-rw-r--r-- | engines/voyeur/voyeur.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/engines/voyeur/voyeur.h b/engines/voyeur/voyeur.h index e4b950d90f..f39c4a2d1d 100644 --- a/engines/voyeur/voyeur.h +++ b/engines/voyeur/voyeur.h @@ -177,9 +177,6 @@ public: int _playStampGroupId; int _currentVocId; - /** - * Id for the current video, audio, or evidence scene being viewed - */ int _audioVideoId; const int *_resolvePtr; int _iForceDeath; // CHECKME: The original initializes it in ESP_init() @@ -259,7 +256,16 @@ public: */ void doScroll(const Common::Point &pt); + /** + * Check for phone call + */ void checkPhoneCall(); + + /** + * Display evidence sequence from within a room + * Suspension of disbelief needed to believe that recording from a distance, + * you could still flip through the often pages of evidence for a single hotspot. + */ void doEvidDisplay(int evidId, int eventId); /** @@ -285,6 +291,9 @@ public: #define VOYEUR_SAVEGAME_VERSION 1 +/** + * Header for Voyeur savegame files + */ struct VoyeurSavegameHeader { uint8 _version; Common::String _saveName; @@ -293,7 +302,14 @@ struct VoyeurSavegameHeader { int _saveHour, _saveMinutes; int _totalFrames; + /** + * Read in the header from the specified file + */ bool read(Common::InSaveFile *f); + + /** + * Write out header information to the specified file + */ void write(Common::OutSaveFile *f, VoyeurEngine *vm, const Common::String &saveName); }; |