ScummVM API documentation
rendermode.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 COMMON_RENDERMODE_H
23#define COMMON_RENDERMODE_H
24
25#include "common/scummsys.h"
26
27namespace Common {
28
38class String;
39
49 kRenderDefault = 0,
50 kRenderVGA = 1,
51 kRenderEGA = 2,
52 kRenderCGA = 3,
53 kRenderHercG = 4,
54 kRenderHercA = 5,
55 kRenderAmiga = 6,
56 kRenderFMTowns = 7,
57 kRenderPC98_256c = 8,
58 kRenderPC98_16c = 9,
59 kRenderApple2GS = 10,
60 kRenderAtariST = 11,
61 kRenderMacintosh = 12,
62 kRenderMacintoshBW = 13,
63 kRenderCGAComp = 14,
64 kRenderCGA_BW = 15,
65 kRenderCPC = 16,
66 kRenderZX = 17,
67 kRenderC64 = 18,
68 kRenderVGAGrey = 19,
69 kRenderPC98_8c = 20,
70 kRenderWin256c = 21,
71 kRenderWin16c = 22
72};
73
75 const char *code;
76 const char *description;
77 RenderMode id;
78};
79
80extern const RenderModeDescription g_renderModes[];
81
84extern const char *getRenderModeCode(RenderMode id);
85extern const char *getRenderModeDescription(RenderMode id);
86
87// TODO: Rename the following to something better; also, document it
88extern String renderMode2GUIO(RenderMode id);
89
90// TODO: Rename the following to something better; also, document it
91extern String allRenderModesGUIOs();
92
95} // End of namespace Common
96
97#endif
Definition: str.h:59
RenderMode parseRenderMode(const String &str)
RenderMode
Definition: rendermode.h:48
Definition: algorithm.h:29
Definition: rendermode.h:74