22 #ifndef SHERLOCK_FIXED_TEXT_H 23 #define SHERLOCK_FIXED_TEXT_H 25 #include "common/scummsys.h" 26 #include "common/language.h" 30 #define FIXED(MSG) _vm->_fixedText->getText(kFixedText_##MSG) 32 enum FixedTextActionId {
33 kFixedTextAction_Invalid = -1,
34 kFixedTextAction_Open = 0,
35 kFixedTextAction_Close,
36 kFixedTextAction_Move,
37 kFixedTextAction_Pick,
41 enum FixedJournalTextId {
43 kFixedJournalText_HolmesAskedMe = 0,
44 kFixedJournalText_HolmesAskedTheInspector,
45 kFixedJournalText_HolmesAskedPerson,
46 kFixedJournalText_HolmesSaidToMe,
47 kFixedJournalText_HolmesSaidToTheInspector,
48 kFixedJournalText_HolmesSaidToPerson,
50 kFixedJournalText_IReplied,
51 kFixedJournalText_TheReplyWas,
53 kFixedJournalText_HolmesAsked,
54 kFixedJournalText_HolmesSaid,
55 kFixedJournalText_IAsked,
56 kFixedJournalText_ISaid,
57 kFixedJournalText_TheInspectorAsked,
58 kFixedJournalText_TheInspectorSaid,
59 kFixedJournalText_PersonAsked,
60 kFixedJournalText_PersonSaid,
62 kFixedJournalText_ThenHolmesAsked,
63 kFixedJournalText_ThenHolmesSaid,
64 kFixedJournalText_ThenIAsked,
65 kFixedJournalText_ThenISaid,
66 kFixedJournalText_ThenTheInspectorAsked,
67 kFixedJournalText_ThenTheInspectorSaid,
68 kFixedJournalText_ThenPersonAsked,
69 kFixedJournalText_ThenPersonSaid
86 virtual const char *
getText(
int fixedTextId) = 0;
104 const char *
const *_fixedJournalTextArray;
105 const char *_fixedObjectPickedUpText;
Definition: fixed_text.h:74
virtual const char * getText(int fixedTextId)=0
Definition: animation.h:29
const char * getJournalText(int fixedJournalTextId)
const char * getObjectPickedUpText()
Definition: sherlock.h:76
virtual const Common::String getActionMessage(FixedTextActionId actionId, int messageIndex)=0