Nicola Mettifogo
6979458e26
Extracted script parsing code to its own class.
...
svn-id: r31972
2008-05-10 11:11:03 +00:00
Nicola Mettifogo
1d025957ca
Moved location parsing out of the engines, to LocationParser_ns and LocationParser_br.
...
svn-id: r31958
2008-05-09 01:35:43 +00:00
Nicola Mettifogo
1ddd54b50d
- Moved some members from the engine class to Location, since they belong there.
...
- Cleaned up usage of location flags by using accessor functions.
svn-id: r31872
2008-05-05 11:02:40 +00:00
Travis Howell
27816d8c8b
Add very basic support for Amiga version of BRA.
...
svn-id: r31416
2008-04-06 07:05:56 +00:00
Nicola Mettifogo
3d1a2e2049
Replaced custom ManagedList with Common::SharedPtr.
...
svn-id: r31415
2008-04-06 05:40:02 +00:00
Nicola Mettifogo
dabefdce05
Changed main loop to allow BRA to return to menu after intro.
...
svn-id: r30798
2008-02-05 10:24:22 +00:00
Nicola Mettifogo
265621de58
Fixes to make BRA introduction run:
...
- fixed location command parser
- implemented stop command
- temporary disabled speak zones (audio is not yet supported)
svn-id: r30796
2008-02-05 09:30:58 +00:00
Nicola Mettifogo
85171eadaa
Programs are now handled in their own list, instead of being accessed via the referring Animation.
...
svn-id: r30768
2008-02-03 14:58:16 +00:00
Nicola Mettifogo
2e28552a7e
Fixed location switching in BRA a bit more.
...
svn-id: r30757
2008-02-03 11:00:55 +00:00
Nicola Mettifogo
748a90ca23
Added code to unpack and render animations in BRA.
...
svn-id: r30755
2008-02-03 10:48:07 +00:00
Nicola Mettifogo
899fdcb367
Enabled rudimentary location switch in BRA.
...
svn-id: r30748
2008-02-02 22:45:31 +00:00
Nicola Mettifogo
d8349d66ff
Subtitles are now displayed in the intro for BRA, though in wrong color (and I don't know why).
...
svn-id: r30747
2008-02-02 21:22:05 +00:00
Nicola Mettifogo
9f3ecd6409
Cleanup of BRA menu code.
...
svn-id: r30739
2008-02-02 12:36:06 +00:00
Nicola Mettifogo
36d863f94e
Reworked menu in BRA (now functioning).
...
svn-id: r30737
2008-02-02 12:18:36 +00:00
Nicola Mettifogo
5306701eab
Allowed BackgroundInfo to display bitmaps smaller than the screen and other small tweaks to re-enable splash screens in BRA.
...
svn-id: r30732
2008-02-02 10:18:31 +00:00
Nicola Mettifogo
68fc3f1dee
Removed usage of kBitFront and kBitBack. Only the old kBit2 buffer is kept to store the background picture.
...
svn-id: r30687
2008-01-28 19:56:29 +00:00
Nicola Mettifogo
cce8e25960
Removed all job routines. Stubs have been left for future reference in the code for BRA.
...
svn-id: r30675
2008-01-28 13:10:49 +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
d86246308d
Walk and script handling are now directly handled by the main loop, instead of relying on the job list.
...
svn-id: r29568
2007-11-19 20:23:01 +00:00
Nicola Mettifogo
28289fb694
Cleanup.
...
svn-id: r29562
2007-11-18 21:32:22 +00:00
Nicola Mettifogo
6471eb84f2
Cleanup.
...
svn-id: r29556
2007-11-18 13:22:38 +00:00
Nicola Mettifogo
a3abaaa709
Refactored main input code.
...
svn-id: r29532
2007-11-17 09:39:20 +00:00
Eugene Sandulenko
c640d1c604
Patch #1825276 : "DETECTION: advanced detector engine simplification"
...
svn-id: r29386
2007-11-03 21:06:58 +00:00
Nicola Mettifogo
05abbf49a2
Moved most of inventory-related code inside classes Inventory and InventoryRenderer. Shift is not completed, as new code doesn't handle selections yet (falling back to existent code).
...
svn-id: r29060
2007-09-23 20:17:50 +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
b819ae3e78
More support for subtitles in BRA.
...
svn-id: r28829
2007-09-02 19:00:22 +00:00
Max Horn
f1f324cee4
fixed some warnings
...
svn-id: r28827
2007-09-02 17:28:00 +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
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
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
10ee427772
Changed signature of disk routines for backgrounds to something resembling revisions prior to 28524, yet keeping the new useful BackgroundInfo struct. Those routines can now be used to fill specific fields of the struct, instead of having them create a new one at each call.
...
This feature is needed by BRA, since background, mask and path are specified by different instructions in the script.
svn-id: r28566
2007-08-12 17:13:21 +00:00
Nicola Mettifogo
12d9e7aed9
Added first location selection for each part.
...
svn-id: r28564
2007-08-12 13:54:01 +00:00
Nicola Mettifogo
c408e30bb9
BRA now loads tables and correctly selects episode (part) for resource loading.
...
svn-id: r28562
2007-08-12 13:27:48 +00:00
Nicola Mettifogo
6bbeb8c6d1
Added simple game loop to BRA. The game still crashes after menu.
...
svn-id: r28560
2007-08-12 13:10:04 +00:00
Travis Howell
4c9a175ff9
Fix BRA regressions.
...
svn-id: r28557
2007-08-12 12:51:10 +00:00
Nicola Mettifogo
41b8ec417c
Added menu options enum to BRA and some refactoring.
...
svn-id: r28554
2007-08-12 12:24:59 +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
Torbjörn Andersson
ceaeba852e
Fixed warning.
...
svn-id: r28533
2007-08-11 19:35:27 +00:00
Nicola Mettifogo
b11a47bd17
Main menu in Big Red Adventure is now available. Cursor is still ScummVM stock.
...
svn-id: r28531
2007-08-11 19:08:32 +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
1d0541a1db
Since splash screen graphics will be called slides (like in Nippon Safes), loading code has been moved to loadSlide. Related code in engine has been refactored as well.
...
svn-id: r28527
2007-08-11 14:18:00 +00:00
Nicola Mettifogo
a644817966
Added code to load and display splash screens for BRA. The game crashes afterwards.
...
svn-id: r28511
2007-08-09 19:26:20 +00:00
Nicola Mettifogo
160a4ceaad
Added callables stubs for Big Red Adventure.
...
svn-id: r28312
2007-07-29 18:49:24 +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
7e7b07132e
Moved specialized initialization code into subclasses.
...
svn-id: r28289
2007-07-29 14:24:31 +00:00