mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
TITANIC: Added TTword isClass method
This commit is contained in:
parent
73e2e8f429
commit
938ec867fe
@ -49,7 +49,7 @@
|
||||
*/
|
||||
|
||||
#define VERSION_NUMBER 1
|
||||
#define HEADER_SIZE 0x290
|
||||
#define HEADER_SIZE 0x300
|
||||
|
||||
Common::File inputFile, outputFile;
|
||||
Common::PEResources res;
|
||||
@ -349,6 +349,8 @@ void writeData() {
|
||||
writeStringArray("TEXT/REPLACEMENTS1", 0x21BDB0, 218);
|
||||
writeStringArray("TEXT/REPLACEMENTS2", 0x21C120, 1576);
|
||||
writeStringArray("TEXT/REPLACEMENTS3", 0x21D9C8, 82);
|
||||
writeStringArray("TEXT/PRONOUNS", 0x22F718, 15);
|
||||
|
||||
writeNumbers();
|
||||
}
|
||||
|
||||
|
@ -141,6 +141,11 @@ public:
|
||||
*/
|
||||
TTstringStatus getChainStatus() const;
|
||||
|
||||
/**
|
||||
* Returns true if the word is of the specified class
|
||||
*/
|
||||
bool isClass(WordClass wordClass) const { return _wordClass == wordClass; }
|
||||
|
||||
/**
|
||||
* Copy the word and any attached to it
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user