Nicola Mettifogo
7bef63537d
Going back to uncached mode for graphics resources of Examine zones. This prevents engine to crash when trying to cache a resource out of the currently selected archive.
...
svn-id: r29798
2007-12-09 17:29:41 +00:00
Nicola Mettifogo
fdb20177b4
Broke up parseDialogue into more manageable and focused short routines.
...
svn-id: r29716
2007-12-04 20:38:45 +00:00
Nicola Mettifogo
919c0a2833
* added adapter from Graphics::Surface to Frames
...
* changed all Disk routines to return Frames* instead of Graphics::Surface*
* changed displayItemComment to use new gfx routines
* merged code for Examine zones into displayComment
svn-id: r29615
2007-11-22 21:51:33 +00:00
Nicola Mettifogo
6471eb84f2
Cleanup.
...
svn-id: r29556
2007-11-18 13:22:38 +00:00
Nicola Mettifogo
03d5111a74
Fixed parseLocation, so that it only tries to parse scripts when they aren't already loaded. This fixes bugs like #1816899 , caused by the wrong data archive being selected in the Disk object.
...
svn-id: r29240
2007-10-21 15:26:07 +00:00
Nicola Mettifogo
78bc71e6f5
Cleanup.
...
svn-id: r29238
2007-10-21 13:09:53 +00:00
Nicola Mettifogo
f9b8c8a0d4
Turned the 'unexpected keyword' warning into a debug message and added a nifty line number to aid debugging.
...
svn-id: r29222
2007-10-14 21:35:02 +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
652069f1a6
Made location parser more fault-tolerant, in that it prints out a warning message instead of exiting ScummVM when it encounters an unexpected keywords in the scripts.
...
svn-id: r29220
2007-10-14 20:59:46 +00:00
Nicola Mettifogo
0fab64817f
Fixed bug #1808615 . An unexpected (but harmless) 'ENDCOMMANDS' statement was spotted in the game scripts by the new stricter parser.
...
svn-id: r29158
2007-10-06 21:15:53 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Nicola Mettifogo
04c323a19f
Split code from parseZoneTypeBlock in specialized parser functions.
...
svn-id: r28922
2007-09-16 09:26:03 +00:00
Nicola Mettifogo
c37de0131b
Revised debug levels and added many debug strings for parsers.
...
svn-id: r28921
2007-09-16 08:43:34 +00:00
Nicola Mettifogo
c22784449f
Fixed BRA parser table for scripts.
...
svn-id: r28905
2007-09-15 12:16:43 +00:00
Nicola Mettifogo
771f3e5306
Enforced use of character's feet coordinates throughout the walk code.
...
svn-id: r28760
2007-08-28 14:30:17 +00:00
Nicola Mettifogo
9c608fcacb
Implemented more opcodes.
...
svn-id: r28746
2007-08-26 09:01:19 +00:00
Nicola Mettifogo
39e4a9b180
Added an abstract base class for representing multiple-frames for animations. Changed user code to rely on the new interface. Cnv has been turned into an implementation of the new interface, and it is now known as a concrete class only to Disk and Font code for Nippon Safes.
...
svn-id: r28734
2007-08-25 20:34:10 +00:00
Nicola Mettifogo
8f2e600601
Merged most parser contexts into a single structure, added some new fields to support BRA.
...
svn-id: r28727
2007-08-25 16:45:06 +00:00
Nicola Mettifogo
1e8ebaa7bd
Cleanup script routines.
...
svn-id: r28718
2007-08-25 11:45:05 +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