Commit Graph

67 Commits

Author SHA1 Message Date
Nicola Mettifogo
fea63a5181 Fixed maximum token length for the parser.
svn-id: r30776
2008-02-03 17:06:45 +00:00
Nicola Mettifogo
963e63d985 Integrated low-level routines into the Script class, turning it into a self-contained parser for location, program and table scripts.
svn-id: r29221
2007-10-14 21:32:43 +00:00
Nicola Mettifogo
37cdd1c69a First step in restructuring engine code:
- 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-24 20:14:51 +00:00
Nicola Mettifogo
3036c37dd8 Yet another fix for broken parsing/displaying of strings. Now quotes are properly considered when they are needed, and ignored when they aren't.
svn-id: r27967
2007-07-08 13:39:23 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Nicola Mettifogo
ae63466446 cleanup
svn-id: r26834
2007-05-13 14:38:05 +00:00
Nicola Mettifogo
59b1538685 Reduced dependency between project files, and prepared defs.h for deletion as soon as List<>'s usage is implemented.
svn-id: r26400
2007-04-07 10:02:59 +00:00
Nicola Mettifogo
e3c25e6d20 - added a new archive member variable to Disk, to decouple resource archives from location archives
- made Script use a stream as input with overall simplification of Disk routines

svn-id: r26379
2007-04-03 22:03:21 +00:00
Nicola Mettifogo
1eb2d6f625 made Script optionally take ownership and dispose input text
svn-id: r25973
2007-03-04 15:00:50 +00:00
Nicola Mettifogo
c7734857e1 made Archive inherit from Common::File, added some methods to comply to interface, changed callers to exploit readByte capabilities
svn-id: r25868
2007-02-25 21:40:15 +00:00
Nicola Mettifogo
d689187aa3 made hi-level parsing routines (Zone, Commands, Dialogue, Animation) rely on Script objects for input.
svn-id: r25743
2007-02-20 16:54:55 +00:00
Nicola Mettifogo
5886d3ed7f cleanup and small fixes
svn-id: r25738
2007-02-20 09:17:28 +00:00
Nicola Mettifogo
1bd5f9932b animation scripts are now parsed through the same pipeline used for location scripts. Thus, animation scripts are now cached instead of being read line by line.
svn-id: r25737
2007-02-20 09:10:21 +00:00
Nicola Mettifogo
07077a2be4 first step in parser simplification
svn-id: r25733
2007-02-19 22:34:00 +00:00
Nicola Mettifogo
80edc8504c a little bit of fiddling to expose similarities between routines
svn-id: r25723
2007-02-19 14:06:47 +00:00
Nicola Mettifogo
1121fe4948 moved specialised parsing routines in parser.cpp, so code can be refactored more easily
svn-id: r25718
2007-02-19 12:53:59 +00:00
Eugene Sandulenko
e5c7ce83b8 Initial import of Parallaction engine
svn-id: r25083
2007-01-14 21:29:12 +00:00