ScummVM API documentation
hardcodedstrings.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 MUTATIONOFJB_HARDCODEDSTRINGS_H
23#define MUTATIONOFJB_HARDCODEDSTRINGS_H
24
25#include "common/language.h"
26#include "common/hashmap.h"
27
28namespace MutationOfJB {
29
30class Game;
31
39public:
40 enum StringType {
41 WALK,
42 TALK,
43 LOOK,
44 USE,
45 PICKUP,
46
47 JOHNNY_CANNOT_USE_1,
48 SKEPTO_CANNOT_USE_1,
49 JOHNNY_CANNOT_USE_2,
50 SKEPTO_CANNOT_USE_2,
51 JOHNNY_CANNOT_USE_3,
52 SKEPTO_CANNOT_USE_3,
53 JOHNNY_CANNOT_USE_4,
54 SKEPTO_CANNOT_USE_4,
55
56 JOHNNY_CANNOT_TALK_1,
57 SKEPTO_CANNOT_TALK_1,
58 JOHNNY_CANNOT_TALK_2,
59 SKEPTO_CANNOT_TALK_2,
60 JOHNNY_CANNOT_TALK_3,
61 SKEPTO_CANNOT_TALK_3,
62 JOHNNY_CANNOT_TALK_4,
63 SKEPTO_CANNOT_TALK_4,
64
65 JOHNNY_CANNOT_LOOK_1,
66 SKEPTO_CANNOT_LOOK_1,
67 JOHNNY_CANNOT_LOOK_2,
68 SKEPTO_CANNOT_LOOK_2,
69 JOHNNY_CANNOT_LOOK_3,
70 SKEPTO_CANNOT_LOOK_3,
71 JOHNNY_CANNOT_LOOK_4,
72 SKEPTO_CANNOT_LOOK_4,
73
74 JOHNNY_CANNOT_PICKUP_1,
75 SKEPTO_CANNOT_PICKUP_1,
76 JOHNNY_CANNOT_PICKUP_2,
77 SKEPTO_CANNOT_PICKUP_2,
78 JOHNNY_CANNOT_PICKUP_3,
79 SKEPTO_CANNOT_PICKUP_3,
80 JOHNNY_CANNOT_PICKUP_4,
81 SKEPTO_CANNOT_PICKUP_4,
82
83 STRING_TYPES_TOTAL
84 };
85
87
94 const Common::String &getString(StringType strType) const;
95
96private:
98
99 void loadStrings(Common::Language lang);
100
101 StringArray _strings;
102};
103
104}
105
106#endif
Definition: str.h:59
Definition: game.h:50
Definition: hardcodedstrings.h:38
const Common::String & getString(StringType strType) const
Language
Definition: language.h:45