Commit graph

19 commits

Author SHA1 Message Date
Nicola Mettifogo
21e4f4f176 Simplified global label management and added subtitles for BRA.
svn-id: r28828
2007-09-02 18:34:11 +00:00
Max Horn
f1f324cee4 fixed some warnings
svn-id: r28827
2007-09-02 17:28:00 +00:00
Nicola Mettifogo
af72280fb9 Cleanup: removed unneeded references to engine (_vm).
svn-id: r28826
2007-09-02 15:27:25 +00:00
Nicola Mettifogo
60a6d5aa53 Jobs are now members of the engine and are handled with a table, instead of being external functions.
svn-id: r28824
2007-09-02 15:17:41 +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
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
76e1be89c3 Partially reverting commit 28568, so now engine is back in charge for parsing locations. I'm going to convert this if/else/else hell into smaller opcode-like routines to achieve more flexibility first, and then assign version-specific opcodes to subclasses.
svn-id: r28609
2007-08-14 08:03:13 +00:00
Nicola Mettifogo
3465571b12 Added preliminary support for loading locations in BRA:
- changed parseLocation to invoke subclasses for version-specific keywords.
- implemented loading of background resources (backgrounds should be visible)

svn-id: r28568
2007-08-12 19:11:37 +00:00
Nicola Mettifogo
ee7102d0e7 Pushed menu handling into Parallaction_ns.
svn-id: r28556
2007-08-12 12:44:26 +00:00
Nicola Mettifogo
ccfd109e25 Added partial cursor support for Big Red Adventure. Small adjustments to generalize disk code for multiple cursors.
svn-id: r28537
2007-08-11 21:08:08 +00:00
Nicola Mettifogo
9167422ce3 Moved cursor handling from Gfx to engine subclasses.
svn-id: r28534
2007-08-11 20:44:22 +00:00
Nicola Mettifogo
b07f787f7f Moved core font management from Gfx to engine. Gfx still retains features related to displaying text on screen.
svn-id: r28530
2007-08-11 17:25:57 +00:00
Nicola Mettifogo
283b89daf8 Cleanup.
svn-id: r28315
2007-07-29 19:17:53 +00:00
Nicola Mettifogo
092de55a6a Removed debug code.
svn-id: r28311
2007-07-29 18:46:29 +00:00
Max Horn
50537d3ae0 Fixed some warnings
svn-id: r28308
2007-07-29 17:37:08 +00:00
Nicola Mettifogo
4774696a96 Made current callable routines members of Parallaction_ns, and moved them to callables_ns.cpp.
svn-id: r28302
2007-07-29 17:02:08 +00:00
Nicola Mettifogo
b01232f08a - Added parser strings for Big Red Adventure
- Pushed parser strings initialization down to engine subclasses

svn-id: r28295
2007-07-29 16:29:41 +00:00
Nicola Mettifogo
9a766cf5c4 Removed direct references to callable functions (opcodes). They are now only available via a virtual member function in the engine.
svn-id: r28291
2007-07-29 15:21:33 +00:00
Nicola Mettifogo
7e7b07132e Moved specialized initialization code into subclasses.
svn-id: r28289
2007-07-29 14:24:31 +00:00