|
TextEntryList * | getDialog (uint dialogNum, uint entryNum) |
|
TextEntry * | getText (uint chunk, uint entry, int type, int subEntry=-1) |
|
Common::StringArray | getTextArray (uint chunk, uint entry, int type, int subEntry=-1) |
|
Common::String | getTextEntry (uint chunk, uint entry, int type, int subEntry=-1) |
|
int16 | getLastSpeechId () |
|
const char * | strPos (const char *txtAdr, int16 pos) |
|
void | syncHotspotStrings (Common::Serializer &s) |
|
void | syncInventoryStrings (Common::Serializer &s) |
|
void | syncInventoryUseStrings (Common::Serializer &s) |
|
bool | getControlBit (int16 txtNr, int16 bitIdx) |
|
void | setControlBit (int16 txtNr, int16 bitIdx) |
|
void | delControlBit (int16 txtNr, int16 bitIdx) |
|
void | setSubtextNum (uint16 entry, int8 txtMode, uint8 strNr, uint8 bufferType) |
|
| Resource (const Common::Path &filename) |
|
ResourceType | getType () const |
|
uint32 | getSize () const |
|
uint32 | findLargestChunk (uint start, uint end) |
|
uint32 | getChunkCount () const |
|
Chunk * | getChunk (uint num) |
|
virtual uint8 * | getChunkData (uint num) |
|
|
void | initSprite (const Common::Path &filename) |
|
void | unpackRLE (uint8 *buffer, uint32 compressedSize, uint32 uncompressedSize) |
|
void | decrypt (uint8 *data, uint32 size) |
|
Common::File | _stream |
|
uint16 | _chunkCount |
|
ResourceType | _resType |
|
bool | _encrypted |
|
uint8 | _spritePalette [3 *256] |
|
uint32 | _allSize |
|
uint16 | _spriteCorrectionsCount |
|
uint16 * | _spriteCorrectionsTable |
|
ChunkList | _chunkList |
|
◆ getDialog()
TextEntryList* Chewy::Text::getDialog |
( |
uint |
dialogNum, |
|
|
uint |
entryNum |
|
) |
| |
Gets a list of lines for a specific dialog entry
◆ getText()
TextEntry* Chewy::Text::getText |
( |
uint |
chunk, |
|
|
uint |
entry, |
|
|
int |
type, |
|
|
int |
subEntry = -1 |
|
) |
| |
Gets a line of text of the following types:
- text (ATS) - 500 - 599
- auto dialog (AAD) - 600 - 699
- inventory text (INV) - 700 - 799
- use text (USE) - 800 - 899
A chunk can contain multiple subchunks with the same entry IDs per subchunk: 0 - name, 1 - look, 2 - use, 3 - walk, 4 - talk
The documentation for this class was generated from the following file: