aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/parser/vocabulary.h
AgeCommit message (Collapse)Author
2017-03-27SCI: Implement bounds-checked reads of game resourcesColin Snover
2016-03-01SCI: Use uint32 instead of unsigned intFilippos Karapetis
2015-05-03SCI: Handle pronouns in parserWillem Jan Palenstijn
When parsing a sentence, its type 0x142 word (presumably the object) is now stored. Any pronouns (type 0x080) are then automatically replaced by this stored word.
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-08SCI: Remove unused argument to saidWillem Jan Palenstijn
2010-12-26SCI: Silence a gcc warningMatthew Hoops
svn-id: r55043
2010-12-24SCI: Now saving/loading the list of synonyms (set by kSetSynonyms), like ↵Filippos Karapetis
SSCI did This is a more correct way of fixing bug #3037618 than in rev #55017. - Changed replaceant/replacement to be uint16's (they're very small positive values, usually smaller than 4096) - Changed SynonymList to an Array (so that it can be saved/loaded) - Removed the PQ2 script patch to Game::replay() - Added savegame history svn-id: r55032
2010-12-07SCI: Removed the system strings code and replaced it with a much more ↵Filippos Karapetis
simplified version, thus greatly simplifying handling of system strings svn-id: r54805
2010-11-02SCI: Remove any use of printfMax Horn
svn-id: r54037
2010-10-03SCI: Support alternative inputs from vocab 913Willem Jan Palenstijn
This allows the input of accented characters and Japanese using plain ascii in non-English games. svn-id: r53001
2010-10-03SCI: Allow multiple word groups in parserWillem Jan Palenstijn
In SCI01 and up, each typed word may be interpreted as multiple class,group pairs. This patch adds support to the vocabulary and parser. It uses the matcher support added in r52985. This fixes parser issues in German LSL3, but needs testing. svn-id: r52989
2010-07-28SCI: Fix using the parser in SCI Fan GamesMatthew Hoops
Get a pointer to the said spec instead of copying to a buffer. The fan games use a said spec with size < 64. Also, make said() take a const pointer as the spec cannot change. Thanks to waltervn and wjp. svn-id: r51432
2010-07-24SCI: added said spec dump ability to logkernelMartin Kiewitz
svn-id: r51242
2010-07-21SCI: Rewrite said spec handling.Willem Jan Palenstijn
We now use a manual parser instead of a bison-generated one, and the new code to match said trees with parse trees matches sierra's more closely. Also change the parse/spec tree nodes to use direct pointers to their child nodes to make it more convenient to manipulate the trees. This has a high potential for regressions. svn-id: r51099
2010-07-19SCI: fix regression of r51027Martin Kiewitz
we have to reset the parser when switching vocabulary svn-id: r51031
2010-07-19SCI: parser now matches extended chars tooMartin Kiewitz
fixes multilingual games not accepting words that contain extended chars (>= 0x80) svn-id: r51029
2010-07-19SCI: implement foreign vocabulary supportMartin Kiewitz
not fully working, extended chars do not work currently as input svn-id: r51027
2010-07-17SCI: fix debugging code of parser, add 0xffe special group into debug supportMartin Kiewitz
svn-id: r50956
2010-02-13SCI: Remove unused PARSE_HEAP_SIZEMax Horn
svn-id: r48043
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23- Moved all of the parser-related variables inside the Vocabulary classFilippos Karapetis
- Moved the kSetSynonyms() function inside kscripts (as it's for script synonyms, not parser word synonyms) - The parser vocabulary is now only initialized for SCI0 and SCI01 games, which had a parser svn-id: r47483
2010-01-23Separated the parser codeFilippos Karapetis
svn-id: r47480