ScummVM API documentation
config.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 TINSEL_CONFIG_H
23#define TINSEL_CONFIG_H
24
25#include "tinsel/dw.h"
26
27namespace Tinsel {
28
29// double click timer initial value
30enum {
31 DOUBLE_CLICK_TIME = 10, // 10 @ 18Hz = .55 sec
32 DEFTEXTSPEED = 0
33};
34
35class TinselEngine;
36
37class Config {
38private:
39 TinselEngine *_vm;
40
41public:
42 int _dclickSpeed;
43 int _musicVolume;
44 int _soundVolume;
45 int _voiceVolume;
46 int _textSpeed;
47 int _useSubtitles;
48 int _swapButtons;
49 LANGUAGE _language;
50 int _isAmericanEnglishVersion;
51
52public:
54
55 void writeToDisk();
56 void readFromDisk();
57 bool isJapanMode();
58};
59
60} // End of namespace Tinsel
61
62#endif
Definition: config.h:37
Definition: tinsel.h:148
Definition: actors.h:36