Commit Graph

693 Commits

Author SHA1 Message Date
Max Horn
7f81de6794 cleanup
svn-id: r31289
2008-03-28 08:30:42 +00:00
Max Horn
6547ef6e12 Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
svn-id: r31119
2008-03-14 13:59:31 +00:00
Nicola Mettifogo
cb6fb6200d Cleanup ManagedList.
svn-id: r30843
2008-02-10 00:03:19 +00:00
Nicola Mettifogo
435c437f6d More refactoring for command parsing/execution.
svn-id: r30841
2008-02-09 23:26:45 +00:00
Nicola Mettifogo
cf724e889c Added new debug command to dump scripts execution status.
svn-id: r30840
2008-02-09 22:07:51 +00:00
Jordi Vilalta Prat
c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +00:00
Nicola Mettifogo
58d58d5100 Implemented scroll command and added a couple more debug variables.
svn-id: r30814
2008-02-07 12:49:46 +00:00
Nicola Mettifogo
4be7dac9c3 Fix system hang under linux.
svn-id: r30813
2008-02-06 19:50:45 +00:00
Filippos Karapetis
edab25743e Silence MSVC warning about uninitialized variables
svn-id: r30812
2008-02-06 18:13:22 +00:00
Nicola Mettifogo
509f2f6659 Enabled moving projector in Nippon Safes. This should fix long standing bug #1729309.
svn-id: r30811
2008-02-06 15:38:33 +00:00
Nicola Mettifogo
c03cb964c0 Fixed broken halfbrite implementation from some time ago (nobody complained!!!).
svn-id: r30810
2008-02-06 14:56:10 +00:00
Nicola Mettifogo
014511f380 Made font handling stateless.
svn-id: r30809
2008-02-06 14:12:59 +00:00
Nicola Mettifogo
246fbfd1e4 Added experimental debug feature: variables influencing the rendering that can be set via console using the 'set' command. The implementation is still partial. Leveraging on this, the engine can now selectively display the current background mask instead of the background itself.
svn-id: r30808
2008-02-06 14:05:08 +00:00
Nicola Mettifogo
715e33d63d Correctly implemented little-endian masks in BRA.
svn-id: r30807
2008-02-06 13:57:44 +00:00
Nicola Mettifogo
782563f749 Implemented some more opcodes in BRA. Animations should now be visible in most locations.
svn-id: r30806
2008-02-06 13:44:31 +00:00
Nicola Mettifogo
249c0b0a05 Corrected mask and path loading in BRA.
svn-id: r30805
2008-02-06 13:44:01 +00:00
Eugene Sandulenko
9f6282defc Fix compilation
svn-id: r30800
2008-02-05 15:33:01 +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
17fdd182b6 Enhanced parser to handle multi-line comments in scripts.
svn-id: r30797
2008-02-05 09:55:17 +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
50ff4a4603 Fixed size of temporary buffer for unpacking animation frames.
svn-id: r30795
2008-02-05 09:26:28 +00:00
Nicola Mettifogo
e1cff6a7c3 Added new debug command to show global game flags.
svn-id: r30794
2008-02-05 09:25:25 +00:00
Nicola Mettifogo
ea15cf7236 Adjusted random number generator, thus improving animation quality in the intro. The general still acts like he is on amphetamines.
svn-id: r30791
2008-02-04 20:35:18 +00:00
Nicola Mettifogo
a2101c0c6c Added FIXME comment about wrong color for subtitles in BRA.
svn-id: r30790
2008-02-04 19:57:17 +00:00
Max Horn
8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Nicola Mettifogo
fea63a5181 Fixed maximum token length for the parser.
svn-id: r30776
2008-02-03 17:06:45 +00:00
Nicola Mettifogo
da98d10ebd instOp_on and instOp_off are now implemented, so removed warnings.
svn-id: r30771
2008-02-03 16:56:25 +00:00
Nicola Mettifogo
aea99780ef Implemented a couple more opcodes and added capability to load/display static images in BRA.
svn-id: r30770
2008-02-03 16:51:38 +00:00
Nicola Mettifogo
a53d87791d - Character is now initialized when needed (for the moment only by NS)
- Forward lists are now bigger since BRA scripts are larger

svn-id: r30769
2008-02-03 16:02:21 +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
c561a9487c Animations are now displayed in the right spots in BRA.
svn-id: r30756
2008-02-03 10:53:42 +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
Torbjörn Andersson
e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +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
Torbjörn Andersson
97ef53a652 Fixed warning.
svn-id: r30742
2008-02-02 16:38:51 +00:00
Travis Howell
fc78c57fab Fix GCC compile.
svn-id: r30741
2008-02-02 14:08:13 +00:00
Nicola Mettifogo
ed09766acc BRA now loads and displays location backgrounds (at least in the intro).
svn-id: r30740
2008-02-02 13:57:29 +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
Max Horn
34b35348be Moved AdvancedMetaEngine to namespace Common
svn-id: r30736
2008-02-02 11:52:04 +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
015ad5e469 Some more integration of background code into BackgroundInfo.
svn-id: r30731
2008-02-02 09:48:07 +00:00
Torbjörn Andersson
4227c0f7ce Fixed warning.
svn-id: r30730
2008-02-02 07:18:49 +00:00
Jordi Vilalta Prat
5165ff448d Converted the remaining engines to use MetaEngine
svn-id: r30728
2008-02-02 02:35:13 +00:00
Max Horn
ec715ea1ec Converted parallaction engine to use MetaEngine
svn-id: r30727
2008-02-02 00:56:02 +00:00
Nicola Mettifogo
249877fa82 Moved depth buffer and palette rotation data into BackgroundInfo.
svn-id: r30725
2008-02-02 00:41:31 +00:00
Nicola Mettifogo
ccc0f6b92d Slightly simplified Archive selection when loading resources.
svn-id: r30714
2008-01-31 10:38:15 +00:00