Commit Graph
90 Commits
Author SHA1 Message Date
Nicola Mettifogo 3dbeeaf8a1 * Unified implementation of flow control opcodes in NS and BRA
* Simplified script execution loop and context

svn-id: r33437
2008-07-30 07:58:25 +00:00
Nicola Mettifogo f46ee2b70c * Implemented pause/resume of command execution
* Implemented command opcode MOVE (not the script instruction).

svn-id: r33408
2008-07-29 12:59:55 +00:00
Nicola Mettifogo fb388deb99 Implemented opcodes for picking up/dropping/opening/closing items.
svn-id: r33370
2008-07-28 11:48:04 +00:00
Nicola Mettifogo 8d59006bd7 Some instrumentation for script debugging.
svn-id: r33359
2008-07-28 08:25:06 +00:00
Nicola Mettifogo d1a6b175f5 * Merged old input management flags into a single mouse status variable.
* Mouse is now displayed when it is needed, and hidden when it is not ;)

svn-id: r33270
2008-07-25 02:37:55 +00:00
Nicola Mettifogo 8ba56e98cf Cleanup.
svn-id: r33006
2008-07-11 13:36:22 +00:00
Nicola Mettifogo 8ed023142a Moved program and command execution code out of the engine, into their own brand new
classes.

svn-id: r33003
2008-07-11 13:06:28 +00:00
Nicola Mettifogo d387d1af0e - Moved dialogue balloon management code from Gfx to its own class
- Added a class to draw balloons in BRA (still without text and with wrong placement)

svn-id: r32902
2008-07-04 00:29:21 +00:00
Nicola Mettifogo 77a60673ef - Changed labels to be GfxObj's, thus removing the Label object altogether.
- Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it).

svn-id: r32873
2008-07-02 01:41:08 +00:00
Nicola Mettifogo 73832f2edd * Implemented character change opcodes in BRA
* Fixed loading of dialogue characters in BRA

svn-id: r32529
2008-06-04 09:07:55 +00:00
Nicola Mettifogo 22d63345e3 Got rid of the static arrays for initialization of parsers and exec opcodes, to make returning to launcher easier. The code has been borrowed by Kyra, after suggestion by LordHoto.
svn-id: r32465
2008-06-01 14:05:39 +00:00
Nicola Mettifogo 40ff1537a9 - Moved input code to its own class.
- Slightly simplified inventory highlight code thanks to changes in input code.

svn-id: r32115
2008-05-14 14:34:01 +00:00
Nicola Mettifogo c7c8bb99ee Tiny cleanup to ease extraction of the program parser code.
svn-id: r31959
2008-05-09 01:42:25 +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
Nicola Mettifogo 3d1a2e2049 Replaced custom ManagedList with Common::SharedPtr.
svn-id: r31415
2008-04-06 05:40:02 +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
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 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 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 a2101c0c6c Added FIXME comment about wrong color for subtitles in BRA.
svn-id: r30790
2008-02-04 19:57:17 +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 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 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 4227c0f7ce Fixed warning.
svn-id: r30730
2008-02-02 07:18:49 +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 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
Torbjörn Andersson 7b15433572 Removed unnecessary semi-colons.
svn-id: r30476
2008-01-13 22:12:35 +00:00
Nicola Mettifogo 359f56cd35 Removed useless members.
svn-id: r30344
2008-01-08 20:37:31 +00:00
Nicola Mettifogo 6af9577e84 * moved label drawing into Gfx, to be drawn directly in the framebuffer
* changed low level blitting function to accept Graphics::Surface to ease development
* temporarily disabled labels/subtitles in BRA

svn-id: r29593
2007-11-21 20:04:14 +00:00
Nicola Mettifogo f04ba3ac7c Added copyright notice to existing files.
svn-id: r28973
2007-09-19 20:01:42 +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 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 b819ae3e78 More support for subtitles in BRA.
svn-id: r28829
2007-09-02 19:00:22 +00:00
Nicola Mettifogo 21e4f4f176 Simplified global label management and added subtitles for BRA.
svn-id: r28828
2007-09-02 18:34:11 +00:00
Nicola Mettifogo 6928087999 Added implementation for most parser and exec opcodes in BRA.
svn-id: r28735
2007-08-25 20:37:41 +00:00