Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-28 | SCI: Fix using the parser in SCI Fan Games | Matthew 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-28 | SCI: Remove SCI01 vocab warning, this behavior is normal | Matthew Hoops | |
svn-id: r51421 | |||
2010-07-24 | SCI: added said spec dump ability to logkernel | Martin Kiewitz | |
svn-id: r51242 | |||
2010-07-22 | SCI: Add more parser test cases | Willem Jan Palenstijn | |
svn-id: r51167 | |||
2010-07-22 | SCI: Swap suffix' class_mask result_class | Willem Jan Palenstijn | |
Now 'coldly' is correctly recognized as the adverb form of 'cold', and 'attained' as the adjective form of 'attain'. svn-id: r51166 | |||
2010-07-21 | SCI: 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-19 | SCI: make sci0 foreign vocabulary also work | Martin Kiewitz | |
makes pq2 load japanese vocabulary too svn-id: r51033 | |||
2010-07-19 | SCI: fix regression of r51027 | Martin Kiewitz | |
we have to reset the parser when switching vocabulary svn-id: r51031 | |||
2010-07-19 | SCI: parser now matches extended chars too | Martin Kiewitz | |
fixes multilingual games not accepting words that contain extended chars (>= 0x80) svn-id: r51029 | |||
2010-07-19 | SCI: implement foreign vocabulary support | Martin Kiewitz | |
not fully working, extended chars do not work currently as input svn-id: r51027 | |||
2010-07-19 | SCI: fix parser crash on >=0x80 chars | Martin Kiewitz | |
svn-id: r51025 | |||
2010-07-19 | SCI: vocab version change for pq2 japanese | Martin Kiewitz | |
pq2 japanese only uses sci01 vocabulary and everything else is still like in sci0 - fixes pq2 not accepting any input in parser svn-id: r51024 | |||
2010-07-18 | SCI: Work on optional expressions in said rules. | Willem Jan Palenstijn | |
This fixes a number of said specs in Iceman, but has a good chance of introducing regressions since it's fairly invasive. It also removes the need for the hack in r50958. svn-id: r50992 | |||
2010-07-17 | SCI: adding detection for SCI01 vocab inside a SCI0 game that's using the ↵ | Martin Kiewitz | |
SCI0 vocab resource number, fixes pq2 japanese crashing on startup svn-id: r50970 | |||
2010-07-17 | SCI: added iceman hack to original said.y as well | Martin Kiewitz | |
svn-id: r50959 | |||
2010-07-17 | SCI: add hack for iceman to skip [!*] in kSaid, fixes green board / depth ↵ | Martin Kiewitz | |
affirmative not recognized svn-id: r50958 | |||
2010-07-17 | SCI: fix debugging code of parser, add 0xffe special group into debug support | Martin Kiewitz | |
svn-id: r50956 | |||
2010-06-27 | Cleanup, remove unused/obsolete code | Filippos Karapetis | |
svn-id: r50403 | |||
2010-06-01 | The parser vocabulary remains static throughout the game, thus it has been ↵ | Filippos Karapetis | |
removed from the engine state svn-id: r49373 | |||
2010-05-23 | SCI: fixing crash in _vocab_add_rule when running qfg2 demo | Martin Kiewitz | |
svn-id: r49160 | |||
2010-05-18 | SCI: fixing crash in pq2 - not sure about this, lskovlun should take a look ↵ | Martin Kiewitz | |
at this svn-id: r49077 | |||
2010-02-13 | SCI: Add global g_sci pointer to the active SciEngine instance | Max Horn | |
svn-id: r48046 | |||
2010-02-13 | SCI: Remove unused PARSE_HEAP_SIZE | Max Horn | |
svn-id: r48043 | |||
2010-02-10 | SCI: Update said.y to match changes made to said.cpp; regenerate said.cpp ↵ | Max Horn | |
using 'bison -l -o said.cpp said.y' svn-id: r48033 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2010-01-23 | - Moved all of the parser-related variables inside the Vocabulary class | Filippos 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-23 | Separated the parser code | Filippos Karapetis | |
svn-id: r47480 |