25 #include "common/list.h" 26 #include "common/serializer.h" 27 #include "chewy/atds.h" 28 #include "chewy/chewy.h" 29 #include "chewy/defines.h" 30 #include "chewy/resource.h" 53 enum TextEntryMarkers {
62 #define VOICE_OFFSET 20 71 #define ROOM_ATS_MAX 1000 81 TextEntryList *getDialog(uint dialogNum, uint entryNum);
94 TextEntry *getText(uint chunk, uint entry,
int type,
int subEntry = -1);
96 Common::String getTextEntry(uint chunk, uint entry,
int type,
int subEntry = -1);
97 int16 getLastSpeechId() {
return _lastSpeechId; }
99 const char *strPos(
const char *txtAdr, int16 pos);
105 bool getControlBit(int16 txtNr, int16 bitIdx);
106 void setControlBit(int16 txtNr, int16 bitIdx);
107 void delControlBit(int16 txtNr, int16 bitIdx);
109 void setSubtextNum(uint16 entry, int8 txtMode, uint8 strNr, uint8 bufferType);
112 int16 _lastSpeechId = -1;
113 uint8 _hotspotStrings[ROOM_ATS_MAX * 3] = { 0 };
114 uint8 _inventoryStrings[MAX_MOV_OBJ * 3] = { 0 };
115 uint8 _inventoryUseStrings[INV_USE_ATS_MAX * 3] = { 0 };
117 uint8 *getBuffer(uint8 type);
118 uint8 getSubtextNum(uint16 entry, int8 txtMode, uint8 bufferType);
Definition: serializer.h:79
Definition: resource.h:131