ScummVM API documentation
tattoo_fixed_text.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 SHERLOCK_TATTOO_FIXED_TEXT_H
23 #define SHERLOCK_TATTOO_FIXED_TEXT_H
24 
25 #include "sherlock/fixed_text.h"
26 
27 namespace Sherlock {
28 
29 namespace Tattoo {
30 
31 enum FixedTextId {
32  kFixedText_Inv1,
33  kFixedText_InvDesc1,
34  kFixedText_Inv2,
35  kFixedText_InvDesc2,
36  kFixedText_Inv3,
37  kFixedText_InvDesc3,
38  kFixedText_Inv4,
39  kFixedText_InvDesc4,
40  kFixedText_Inv5,
41  kFixedText_InvDesc5,
42  kFixedText_Inv6,
43  kFixedText_InvDesc6,
44  kFixedText_Inv7,
45  kFixedText_InvDesc7,
46  kFixedText_Inv8,
47  kFixedText_InvDesc8,
48  kFixedText_Open,
49  kFixedText_Look,
50  kFixedText_Talk,
51  kFixedText_Use,
52  kFixedText_Journal,
53  kFixedText_Inventory,
54  kFixedText_Options,
55  kFixedText_Solve,
56  kFixedText_With,
57  kFixedText_NoEffect,
58  kFixedText_NothingToSay,
59  kFixedText_PickedUp,
60 
61  kFixedText_Page,
62  kFixedText_CloseJournal,
63  kFixedText_SearchJournal,
64  kFixedText_SaveJournal,
65  kFixedText_AbortSearch,
66  kFixedText_SearchBackwards,
67  kFixedText_SearchForwards,
68  kFixedText_TextNotFound,
69 
70  kFixedText_DartsPlayerHolmes,
71  kFixedText_DartsPlayerJock,
72  kFixedText_DartsBull,
73  kFixedText_DartsCurrentRound,
74  kFixedText_DartsCurrentTotalPoints,
75  kFixedText_DartsCurrentDart,
76  kFixedText_DartsStartPressKey1,
77  kFixedText_DartsStartPressKey2,
78  kFixedText_DartsPressKey,
79  kFixedText_DartsGameOver,
80  kFixedText_DartsBusted,
81  kFixedText_DartsWins,
82  kFixedText_DartsScoredPoint,
83  kFixedText_DartsScoredPoints,
84  kFixedText_DartsHitSingle,
85  kFixedText_DartsHitDouble,
86  kFixedText_DartsHitTriple,
87  kFixedText_DartsHitSingleBullseye,
88  kFixedText_DartsHitDoubleBullseye,
89  kFixedText_DartsHitTripleBullseye,
90 
91  kFixedText_Apply,
92  kFixedText_Water,
93  kFixedText_Heat,
94  kFixedText_LoadGame,
95  kFixedText_SaveGame,
96  kFixedText_Music,
97  kFixedText_SoundEffects,
98  kFixedText_Voices,
99  kFixedText_TextWindows,
100  kFixedText_TransparentMenus,
101  kFixedText_ChangeFont,
102  kFixedText_Off,
103  kFixedText_On,
104  kFixedText_Quit,
105  kFixedText_AreYouSureYou,
106  kFixedText_WishToQuit,
107  kFixedText_Yes,
108  kFixedText_No,
109  kFixedText_EnterPassword,
110  kFixedText_CorrectPassword,
111  kFixedText_WatsonsJournal,
112  kFixedText_JournalSaved,
113  // SH2: People names
114  kFixedText_People_SherlockHolmes,
115  kFixedText_People_DrWatson,
116  kFixedText_People_MrsHudson,
117  kFixedText_People_StanleyForbes,
118  kFixedText_People_MycroftHolmes,
119  kFixedText_People_Wiggins,
120  kFixedText_People_PoliceConstableBurns,
121  kFixedText_People_AugustusTrimble,
122  kFixedText_People_PoliceConstableDaley,
123  kFixedText_People_Matron,
124  kFixedText_People_SisterGrace,
125  kFixedText_People_PrestonMcCabe,
126  kFixedText_People_BobColleran,
127  kFixedText_People_JonasRigby,
128  kFixedText_People_PoliceConstableRoach,
129  kFixedText_People_JamesDewar,
130  kFixedText_People_SergeantJeremyDuncan,
131  kFixedText_People_InspectorGregson,
132  kFixedText_People_InspectorLestrade,
133  kFixedText_People_JesseNeedhem,
134  kFixedText_People_ArthurFleming,
135  kFixedText_People_MrThomasPratt,
136  kFixedText_People_MathildaTillieMason,
137  kFixedText_People_AdrianRussell,
138  kFixedText_People_EldridgeWhitney,
139  kFixedText_People_Hepplethwaite,
140  kFixedText_People_HoraceSilverbridge,
141  kFixedText_People_OldSherman,
142  kFixedText_People_MaxwellVerner,
143  kFixedText_People_MillicentRedding,
144  kFixedText_People_VirgilSilverbridge,
145  kFixedText_People_GeorgeOKeeffe,
146  kFixedText_People_LordDenysLawton,
147  kFixedText_People_Jenkins,
148  kFixedText_People_JockMahoney,
149  kFixedText_People_Bartender,
150  kFixedText_People_LadyCordeliaLockridge,
151  kFixedText_People_Pettigrew,
152  kFixedText_People_SirAveryFanshawe,
153  kFixedText_People_Hodgkins,
154  kFixedText_People_WilburBirdyHeywood,
155  kFixedText_People_JacobFarthington,
156  kFixedText_People_PhilipBledsoe,
157  kFixedText_People_SidneyFowler,
158  kFixedText_People_ProfessorTheodoreTotman,
159  kFixedText_People_RoseHinchem,
160  kFixedText_People_Tallboy,
161  kFixedText_People_EthlebertStitchRumsey,
162  kFixedText_People_CharlesFreedman,
163  kFixedText_People_NigelHemmings,
164  kFixedText_People_FairfaxCarter,
165  kFixedText_People_WilhelmII,
166  kFixedText_People_Wachthund,
167  kFixedText_People_JonathanWilson,
168  kFixedText_People_DavidLloydJones,
169  kFixedText_People_EdwardHargrove,
170  kFixedText_People_Misteray,
171  kFixedText_People_TheLascar,
172  kFixedText_People_Parrot,
173  kFixedText_People_VincentScarrett,
174  kFixedText_People_Alexandra,
175  kFixedText_People_QueenVictoria,
176  kFixedText_People_JohnBrown,
177  kFixedText_People_APatient1,
178  kFixedText_People_APatient2,
179  kFixedText_People_Patron,
180  kFixedText_People_QueenVictoria2,
181  kFixedText_People_PatientInWhite,
182  kFixedText_People_Lush,
183  kFixedText_People_Drunk,
184  kFixedText_People_Prostitute,
185  kFixedText_People_Mudlark,
186  kFixedText_People_Grinder,
187  kFixedText_People_Bouncer,
188  kFixedText_People_AgnesRatchet,
189  kFixedText_People_AloysiusRatchet,
190  kFixedText_People_RealEstateAgent,
191  kFixedText_People_CandyClerk,
192  kFixedText_People_Beadle,
193  kFixedText_People_Prussian,
194  kFixedText_People_MrsRowbottom,
195  kFixedText_People_MissLloydJones,
196  kFixedText_People_TavernPatron,
197  kFixedText_People_User,
198  kFixedText_People_Toby,
199  kFixedText_People_Stationer,
200  kFixedText_People_LawClerk,
201  kFixedText_People_MinistryClerk,
202  kFixedText_People_Bather,
203  kFixedText_People_Maid,
204  kFixedText_People_LadyFanshawe,
205  kFixedText_People_SidneyRatchet,
206  kFixedText_People_Boy,
207  kFixedText_People_Patron2,
208  kFixedText_People_ConstableBrit,
209  kFixedText_People_WagonDriver
210 };
211 
213  Common::Language language;
214  const char *const *fixedTextArray;
215 };
216 
217 class TattooFixedText: public FixedText {
218 private:
219  const FixedTextLanguageEntry *_curLanguageEntry;
220 public:
222  ~TattooFixedText() override {}
223 
227  const char *getText(int fixedTextId) override;
228 
232  const Common::String getActionMessage(FixedTextActionId actionId, int messageIndex) override;
233 };
234 
235 } // End of namespace Tattoo
236 
237 } // End of namespace Sherlock
238 
239 #endif
Definition: fixed_text.h:74
Definition: str.h:59
Definition: tattoo_fixed_text.h:217
Definition: animation.h:29
Definition: tattoo_fixed_text.h:212
Definition: sherlock.h:76
Language
Definition: language.h:45