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/data.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/data.h')
-rw-r--r-- | engines/voyeur/data.h | 52 |
1 files changed, 42 insertions, 10 deletions
diff --git a/engines/voyeur/data.h b/engines/voyeur/data.h index db6ec988d7..b798e3880c 100644 --- a/engines/voyeur/data.h +++ b/engines/voyeur/data.h @@ -129,16 +129,6 @@ public: int _field4F0; int _field4F2; - /** - * Total number of game events that have occurred - */ - int _eventCount; - - /** - * List of game events that have occurred - */ - VoyeurEvent _events[TOTAL_EVENTS]; - int _field4376; int _field4378; int _field437A; @@ -152,6 +142,9 @@ public: int _curICF1; int _fadeICF0; int _policeEvent; + + int _eventCount; + VoyeurEvent _events[TOTAL_EVENTS]; public: SVoy(); void setVm(VoyeurEngine *vm); @@ -167,15 +160,54 @@ public: void addEvent(int hour, int minute, VoyeurEventType type, int audioVideoId, int on, int off, int dead); + /** + * Adds the start of a video event happening + */ void addVideoEventStart(); + + /** + * Adds the finish of a video event happening + */ void addVideoEventEnd(); + + /** + * Adds the start of an audio event happening + */ void addAudioEventStart(); + + /** + * Adsd the finish of an audio event happening + */ void addAudioEventEnd(); + + /** + * Adds the start of an evidence event happening + */ void addEvidEventStart(int v); + + /** + * Adds the finish of an evidence event happening + */ void addEvidEventEnd(int totalPages); + + /** + * Adds the start of a computer event happening + */ void addComputerEventStart(); + + /** + * Adds the finish of a computer event happening + */ void addComputerEventEnd(int v); + + /** + * Review a previously recorded evidence event + */ void reviewAnEvidEvent(int eventIndex); + + /** + * Review a previously recorded computer event + */ void reviewComputerEvent(int eventIndex); }; |