aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser.cpp
AgeCommit message (Collapse)Author
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-05-21Added a new valid EOL character for scripts. Patch 3004990 by fuzzie.Nicola Mettifogo
svn-id: r49127
2009-03-23Pushed down dependencies from parser.hNicola Mettifogo
svn-id: r39636
2009-01-03Dropped the script preprocessor introduced to fix the broken scripts. The ↵Nicola Mettifogo
parser has evolved in the meantime and can deal with it accordingly. svn-id: r35700
2008-12-04Made readLineIntern() return a zero-length string when no printable text is ↵Nicola Mettifogo
read out of a script. This makes life easier for the parser, and also makes the introduction fully viewable. svn-id: r35233
2008-11-30It's unnecessary to use strlen() just to find out if a string is empty or not.Torbjörn Andersson
svn-id: r35185
2008-11-14Removed unused parameter.Nicola Mettifogo
svn-id: r35053
2008-11-13Update to the low level parser:Nicola Mettifogo
* made it detect buffer overflows * removed unused code paths * general simplification svn-id: r35047
2008-11-09Update ReadStringStream and parser to work with the new eos() logic.Nicola Mettifogo
svn-id: r34945
2008-08-19Deleted debug code that slipped in.Nicola Mettifogo
svn-id: r34041
2008-08-19Fixed bug in low-level parser. Block comments weren't interpreted correctly.Nicola Mettifogo
svn-id: r34038
2008-08-14Finally moved parseNextToken to Script, where it belongs!Nicola Mettifogo
svn-id: r33859
2008-08-02* Increasing max number of allowed token on one line.Nicola Mettifogo
* Increasing buffer size to match old parser. svn-id: r33512
2008-08-02Fixed issues detected by DrMcCoy's obnoxious compiler. ;)Nicola Mettifogo
svn-id: r33511
2008-08-02* Added a preprocessor to deal with the crappy location scripts in BRA.Nicola Mettifogo
* Added some comments on how the parser and related code should be changed to make things smoother. svn-id: r33509
2008-06-03PARA: Fixed some memory leaksChristopher Page
svn-id: r32519
2008-06-02PARA: Got rid of calls to system->quit() so that the Parallaction engine can ↵Christopher Page
return to the launcher. Also fixed a couple of memory leaks. svn-id: r32504
2008-05-11Cleanup of parsing code.Nicola Mettifogo
svn-id: r31999
2008-05-10Extracted script parsing code to its own class.Nicola Mettifogo
svn-id: r31972
2008-05-04Added new Parser class, which will gradually grow to include all parsing ↵Nicola Mettifogo
code from the engine class. svn-id: r31865
2008-02-05Enhanced parser to handle multi-line comments in scripts.Nicola Mettifogo
svn-id: r30797
2008-02-03Fixed maximum token length for the parser.Nicola Mettifogo
svn-id: r30776
2007-12-16Changed an explicit warning/remainder into a code comment.Nicola Mettifogo
svn-id: r29879
2007-10-14Integrated low-level routines into the Script class, turning it into a ↵Nicola Mettifogo
self-contained parser for location, program and table scripts. svn-id: r29221
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-08-24First step in restructuring engine code:Nicola Mettifogo
- code has been consolidated in fewer files - new table-driven parsers/execution - some functions has been pushed down the engine hierarchy - Parallaction_br now inherits from Parallaction_ns svn-id: r28711
2007-08-16Changed more parsing routines to use tables instead of switch statements.Nicola Mettifogo
svn-id: r28637
2007-08-12Added preliminary support for loading locations in BRA: Nicola Mettifogo
- changed parseLocation to invoke subclasses for version-specific keywords. - implemented loading of background resources (backgrounds should be visible) svn-id: r28568
2007-07-08Yet another fix for broken parsing/displaying of strings. Now quotes are ↵Nicola Mettifogo
properly considered when they are needed, and ignored when they aren't. svn-id: r27967
2007-07-08Finally fixed parsing of labels.Nicola Mettifogo
svn-id: r27962
2007-07-08Made parseNextToken *really* work this time.Nicola Mettifogo
svn-id: r27960
2007-07-08Parser is now able to deal with missing quotes at the end of instructions in ↵Nicola Mettifogo
location scripts. svn-id: r27959
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-13cleanupNicola Mettifogo
svn-id: r26834
2007-04-03- added a new archive member variable to Disk, to decouple resource archives ↵Nicola Mettifogo
from location archives - made Script use a stream as input with overall simplification of Disk routines svn-id: r26379
2007-03-04made Script optionally take ownership and dispose input textNicola Mettifogo
svn-id: r25973
2007-03-04replaced memAlloc/memFree with standard malloc/freeNicola Mettifogo
svn-id: r25962
2007-02-20changed parseComment to use Script stream instead of fileNicola Mettifogo
svn-id: r25739
2007-02-20cleanup and small fixesNicola Mettifogo
svn-id: r25738
2007-02-20animation scripts are now parsed through the same pipeline used for location ↵Nicola Mettifogo
scripts. Thus, animation scripts are now cached instead of being read line by line. svn-id: r25737
2007-02-19first step in parser simplificationNicola Mettifogo
svn-id: r25733
2007-02-19a little more refactoringNicola Mettifogo
svn-id: r25725
2007-02-19refactoringNicola Mettifogo
svn-id: r25724
2007-02-19a little bit of fiddling to expose similarities between routinesNicola Mettifogo
svn-id: r25723
2007-02-19moved specialised parsing routines in parser.cpp, so code can be refactored ↵Nicola Mettifogo
more easily svn-id: r25718
2007-02-17Some indentation and format changes. Mostly replacing spaces with tabs.Torbjörn Andersson
svn-id: r25654
2007-02-13skip_whitespace() -> Common::ltrim()Eugene Sandulenko
svn-id: r25573
2007-01-14Initial import of Parallaction engineEugene Sandulenko
svn-id: r25083