ScummVM API documentation
phonograph_cylinder.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_PHONOGRAPH_CYLINDER_H
23#define TITANIC_PHONOGRAPH_CYLINDER_H
24
25#include "titanic/carry/carry.h"
26
27namespace Titanic {
28
30 DECLARE_MESSAGE_MAP;
31 bool UseWithOtherMsg(CUseWithOtherMsg *msg);
32 bool QueryCylinderMsg(CQueryCylinderMsg *msg);
33 bool RecordOntoCylinderMsg(CRecordOntoCylinderMsg *msg);
34 bool SetMusicControlsMsg(CSetMusicControlsMsg *msg);
35 bool ErasePhonographCylinderMsg(CErasePhonographCylinderMsg *msg);
36private:
37 CString _itemName;
38 int _bellsPitchControl;
39 int _bellsSpeedControl;
40 bool _bellsMuteControl;
41 bool _bellsDirectionControl;
42 bool _bellsInversionControl;
43 int _snakeSpeedControl;
44 int _snakePitchControl;
45 bool _snakeMuteControl;
46 bool _snakeInversionControl;
47 bool _snakeDirectionControl;
48 int _pianoSpeedControl;
49 int _pianoPitchControl;
50 bool _pianoMuteControl;
51 bool _pianoInversionControl;
52 bool _pianoDirectionControl;
53 int _bassSpeedControl;
54 int _bassPitchControl;
55 bool _bassMuteControl;
56 bool _bassInversionControl;
57 bool _bassDirectionControl;
58public:
59 CLASSDEF;
61
65 void save(SimpleFile *file, int indent) override;
66
70 void load(SimpleFile *file) override;
71};
72
73} // End of namespace Titanic
74
75#endif /* TITANIC_PHONOGRAPH_CYLINDER_H */
Definition: carry.h:31
Definition: messages.h:292
Definition: phonograph_cylinder.h:29
void load(SimpleFile *file) override
void save(SimpleFile *file, int indent) override
Definition: messages.h:349
Definition: messages.h:354
Definition: messages.h:371
Definition: string.h:40
Definition: messages.h:409
Definition: simple_file.h:49