aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/objectman.h
diff options
context:
space:
mode:
authorThierry Crozat2012-06-07 01:46:32 +0100
committerThierry Crozat2012-06-24 18:00:20 +0100
commit54fba983476987436a1cea3dda7e2e4b004d8fe2 (patch)
treeeb5b81bdd925e5460f17384502ad2e9a581f2484 /engines/sword1/objectman.h
parent99de89c974fc24bf58b034842750e522d7d441d4 (diff)
downloadscummvm-rg350-54fba983476987436a1cea3dda7e2e4b004d8fe2.tar.gz
scummvm-rg350-54fba983476987436a1cea3dda7e2e4b004d8fe2.tar.bz2
scummvm-rg350-54fba983476987436a1cea3dda7e2e4b004d8fe2.zip
SWORD1: Add warning for untranslated subtitles
This should help adding workarounds for those by providing all the needed information (textId and english text).
Diffstat (limited to 'engines/sword1/objectman.h')
-rw-r--r--engines/sword1/objectman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sword1/objectman.h b/engines/sword1/objectman.h
index ca3c7c1526..cce360573a 100644
--- a/engines/sword1/objectman.h
+++ b/engines/sword1/objectman.h
@@ -53,6 +53,9 @@ public:
void saveLiveList(uint16 *dest); // for loading/saving
void loadLiveList(uint16 *src);
private:
+ char *lockText(uint32 textId, uint8 language);
+ void unlockText(uint32 textId, uint8 language);
+
ResMan *_resMan;
static const uint32 _objectList[TOTAL_SECTIONS]; //a table of pointers to object files
static const uint32 _textList[TOTAL_SECTIONS][7]; //a table of pointers to text files