22 #ifndef LURE_STRINGS_H 23 #define LURE_STRINGS_H 25 #include "lure/luredefs.h" 26 #include "lure/memory.h" 36 CharacterEntry(uint8 numBits, uint32 sequence,
char ascii): _numBits(numBits),
37 _sequence(sequence), _ascii(ascii) {}
40 #define MAX_NUM_CHARS 218 52 void add(
const char *sequence,
char ascii);
53 bool initPosition(uint16 stringId);
61 void getString(uint16 stringId,
char *dest,
const char *hotspotName,
const char *characterName,
62 int hotspotArticle = 0,
int characterArticle = 0);
63 void getString(uint16 stringId,
char *dest) {
64 getString(stringId, dest, NULL, NULL);
66 char *getName(uint8 nameIndex);