ScummVM API documentation
arboretum_gate.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef TITANIC_ARBORETUM_GATE_H
23#define TITANIC_ARBORETUM_GATE_H
24
25#include "titanic/core/background.h"
26#include "titanic/messages/messages.h"
27#include "titanic/messages/mouse_messages.h"
28
29namespace Titanic {
30
32 DECLARE_MESSAGE_MAP;
33 bool ChangeSeasonMsg(CChangeSeasonMsg *msg);
34 bool ActMsg(CActMsg *msg);
35 bool MovieEndMsg(CMovieEndMsg *msg);
36 bool LeaveViewMsg(CLeaveViewMsg *msg);
37 bool TurnOff(CTurnOff *msg);
38 bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
39 bool EnterViewMsg(CEnterViewMsg *msg);
40 bool TurnOn(CTurnOn *msg);
41private:
42 static bool _gotSpeechCentre;
43 static bool _disabled;
44 static int _initialFrame;
45private:
46 Season _seasonNum;
47 CString _arboretumViewName;
48 int _unused1;
49 int _startFrameSpringOff;
50 int _endFrameSpringOff;
51 int _startFrameSummerOff;
52 int _endFrameSummerOff;
53 int _startFrameAutumnOff2;
54 int _endFrameAutumnOff2;
55 int _startFrameAutumnOff1;
56 int _endFrameAutumnOff1;
57 int _startFrameWinterOff2;
58 int _endFrameWinterOff2;
59 int _startFrameWinterOff1;
60 int _endFrameWinterOff1;
61 int _startFrameSpringOn;
62 int _endFrameSpringOn;
63 int _startFrameSummerOn;
64 int _endFrameSummerOn;
65 int _startFrameAutumnOn1;
66 int _endFrameAutumnOn1;
67 int _startFrameAutumnOn2;
68 int _endFrameAutumnOn2;
69 int _startFrameWinterOn1;
70 int _endFrameWinterOn1;
71 int _startFrameWinterOn2;
72 int _endFrameWinterOn2;
73 CString _exitViewName;
74public:
75 CLASSDEF;
77
81 void save(SimpleFile *file, int indent) override;
82
86 void load(SimpleFile *file) override;
87};
88
89} // End of namespace Titanic
90
91#endif /* TITANIC_ARBORETUM_GATE_H */
Definition: messages.h:256
Definition: arboretum_gate.h:31
void save(SimpleFile *file, int indent) override
void load(SimpleFile *file) override
Definition: background.h:30
Definition: messages.h:266
Definition: messages.h:291
Definition: messages.h:312
Definition: mouse_messages.h:71
Definition: messages.h:321
Definition: string.h:40
Definition: messages.h:405
Definition: messages.h:406
Definition: simple_file.h:49