ScummVM API documentation
dialog-mapgenerator.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 SCUMM_DIALOG_MAP_GENERATOR_H
23#define SCUMM_DIALOG_MAP_GENERATOR_H
24
25#include "gui/dialog.h"
26#include "gui/widget.h"
27
28namespace Scumm {
29
30class MapGeneratorDialog : public Dialog {
31public:
32 MapGeneratorDialog(bool demo);
33
34 void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) override;
35 void handleKeyDown(Common::KeyState state) override;
36
37private:
38 void refresh();
39 bool _refreshing;
40
41 GUI::StaticTextWidget *_dialogTitle;
42
43 GUI::StaticTextWidget *_algorDesc;
44 GUI::RadiobuttonGroup *_algorGroup;
45 GUI::RadiobuttonWidget *_algorSpiff;
46 GUI::CheckboxWidget *_algorRandom;
47
48 GUI::StaticTextWidget *_sizeDesc;
49 GUI::RadiobuttonGroup *_sizeGroup;
50 GUI::RadiobuttonWidget *_sizeSmall;
51 GUI::RadiobuttonWidget *_sizeMedium;
52 GUI::RadiobuttonWidget *_sizeLarge;
53 GUI::RadiobuttonWidget *_sizeHuge;
54 GUI::RadiobuttonWidget *_sizeSAI;
55 GUI::RadiobuttonWidget *_sizeRidiculous;
56 GUI::RadiobuttonWidget *_sizeMax;
57 GUI::CheckboxWidget *_sizeRandom;
58
59 GUI::StaticTextWidget *_tileDesc;
60 GUI::RadiobuttonGroup *_tileGroup;
61 GUI::RadiobuttonWidget *_tileAblation;
62 GUI::RadiobuttonWidget *_tileEmerau;
63 GUI::RadiobuttonWidget *_tileKyanite;
64 GUI::RadiobuttonWidget *_tileDrijim;
65 GUI::RadiobuttonWidget *_tileZanateros;
66 GUI::RadiobuttonWidget *_tileTerrandra;
67 GUI::CheckboxWidget *_tileRandom;
68
69 GUI::StaticTextWidget *_energyDesc;
70 GUI::SliderWidget *_energySlider;
71 GUI::StaticTextWidget *_energyLabel;
72 GUI::CheckboxWidget *_energyRandom;
73
74 GUI::StaticTextWidget *_terrainDesc;
75 GUI::SliderWidget *_terrainSlider;
76 GUI::StaticTextWidget *_terrainLabel;
77 GUI::CheckboxWidget *_terrainRandom;
78
79 GUI::StaticTextWidget *_waterDesc;
80 GUI::SliderWidget *_waterSlider;
81 GUI::StaticTextWidget *_waterLabel;
82 GUI::CheckboxWidget *_waterRandom;
83
84 GUI::ButtonWidget *_cancelButton;
85 GUI::ButtonWidget *_generateButton;
86};
87
88} // End of namespace Scumm
89
90#endif
Definition: widget.h:241
Definition: widget.h:338
Definition: object.h:40
Definition: widget.h:364
Definition: widget.h:387
Definition: widget.h:414
Definition: widget.h:213
Definition: dialog-mapgenerator.h:30
Definition: actor.h:30
Definition: keyboard.h:294