Commit Graph
137148 Commits
Author SHA1 Message Date
Colin Snover f397a73138 SCI32: Fix text size calculation scaling to match SCI
The previous code works correctly only for ratios like 2:1 that
do not generate remainders.
2016-03-01 09:39:57 -06:00
Paul Gilbert 32d84ed33d TITANIC: Added lots more miscellaneous classes 2016-03-01 08:07:05 -05:00
Eugene Sandulenko 3c2bec3f3a WAGE: Added two more games 2016-03-01 12:11:10 +01:00
Eugene Sandulenko 57e1e36867 WAGE: Added detection for The Tower 2016-03-01 12:11:10 +01:00
Eugene Sandulenko 410eb2912b WAGE: Added detection for 2 more games 2016-03-01 12:11:10 +01:00
Eugene Sandulenko 589ffcd3b9 WAGE: Added detection for The Phoenix 2016-03-01 12:11:09 +01:00
Eugene Sandulenko f2e2d0f05d WAGE: Fix bufer overrun in bitmap code 2016-03-01 12:11:09 +01:00
Eugene Sandulenko 0bf89a0f1e WAGE: Simplified detection entries for fan games 2016-03-01 12:11:09 +01:00
Eugene Sandulenko eb50edb539 WAGE: Added detection for Twisted! and Exploration Zeta! 2016-03-01 12:11:09 +01:00
Willem Jan Palenstijn d03ab8b716 SCI32: Revert GK1 hacks
Replacing a valid signature error by a warning isn't useful.
2016-03-01 11:32:02 +01:00
Kirben 27e5cfbd1b CINE: Fix sound effects stopping the music in the DOS CD version of Future Wars. 2016-03-01 20:36:36 +11:00
Kirben e5974027ec CINE: Fix restoring background music when loading saved game in DOS CD version of Future Wars. 2016-03-01 20:08:03 +11:00
Paul Gilbert 5dd3798ebf TITANIC: Added a bunch of classes, loading method fixes 2016-02-29 22:56:16 -05:00
Filippos Karapetis 806fa64d74 SCI32: Add a note about the menu bars in GK1 2016-03-01 04:50:26 +02:00
Filippos Karapetis 03754d4127 SCI32: Warn when the unhandled parameter is set in kPalVarySetPercent 2016-03-01 04:21:09 +02:00
Paul Gilbert a89dd72f20 TITANIC: Implemented lots of CBackground descendent classes 2016-02-29 21:20:33 -05:00
Filippos Karapetis 6ba31a88f0 SCI32: GK1 adds another optional parameter to kPalVarySetPercent 2016-03-01 04:12:36 +02:00
Johannes Schickel 1f217e3834 WIN32: Fix invalid array accesses when MIDI device listing fails. 2016-03-01 01:14:17 +01:00
Filippos Karapetis e317958d4c SCI: Remove superfluous cast to boolean and fix code styling 2016-03-01 01:23:55 +02:00
Filippos Karapetis cdbd7c8add SCI: Use uint32 instead of unsigned int 2016-03-01 01:12:58 +02:00
Lars Skovlund ca623ff490 SCI: Fix compilation on amigaos4 2016-02-29 20:16:37 +01:00
Johannes Schickel 824cb7bc89 OPENPANDORA: Handle non-exported or not-set $TERM in pnd_make.sh. 2016-02-29 19:19:09 +01:00
Johannes Schickel 01a76df6e3 OPENPANDORA: Don't output colors in pnd_make.sh when redirecting output to file. 2016-02-29 19:10:10 +01:00
Lars Skovlund a375cbf42b SCI3: Collect bits for managing kInfoFlagViewVisible 2016-02-29 16:00:13 +01:00
Lars Skovlund 98878d69b8 SCI: Add vocab994 console command
This is intended for early SCI2, but should work with older SCI too,
not that we need it.
2016-02-29 16:00:13 +01:00
Tobia Tesan e46000e2e2 WINTERMUTE: Add ListingProvider abstract class 2016-02-29 14:54:17 +01:00
Tobia Tesan 28fc37f529 WINTERMUTE: Add abstract class Listing 2016-02-29 14:52:43 +01:00
Tobia Tesan 06021d1aab WINTERMUTE: Add post instruction hook to DebuggableScript 2016-02-29 14:51:58 +01:00
Tobia Tesan 19267e0c5e WINTERMUTE: Add Breakpoint class 2016-02-29 14:51:55 +01:00
Tobia Tesan 8f82674eaf WINTERMUTE: Add ScriptMonitor abstract class 2016-02-29 14:49:32 +01:00
Tobia Tesan d4f94b7d19 WINTERMUTE: Add DebuggableScript and DebuggableScriptEngine classes
These extend the script engine and allow for monitoring and adding
pre/post instruction hooks
2016-02-29 11:36:53 +01:00
Tobia Tesan 0dd0c3bea2 WINTERMUTE: Add Error class 2016-02-29 11:13:54 +01:00
Tobia Tesan fb3a8f7899 WINTERMUTE: Init _ready in BaseScriptHolder 2016-02-29 11:13:41 +01:00
Tobia Tesan 4e9b113f3f WINTERMUTE: Add debuggerToString 2016-02-29 11:13:38 +01:00
Colin Snover 3e5adc33a8 SCI32: Non-titled text bitmap implementation
This implementation is not 100% engine accurate, but it is
more accurate than what was there, and hopefully the differences
between this and the engine code are merely cosmetic.

The known (intentional) differences are:

1. Uses ScummVM rects inside the engine code, converting to/from
   SCI rects on the kernel edges and when scaling
2. Fewer side effects when performing operations that *should*
   have been pure from the start (like text dimension calculation).
   Still not side-effect-free, but at least things like colours
   and alignment do not need to be reset every time a measurement
   is taken, unlike in the actual engine.

Editor controls and some other kBitmap code are temporarily
disabled as a result of changes to GfxText32 until they can be
updated to be engine-accurate.
2016-02-28 21:48:56 -06:00
Paul Gilbert 95ebd2394b TITANIC: Loading bugfixes and implemented CBrain descendents 2016-02-28 22:16:02 -05:00
Paul Gilbert 6eb777fe36 TITANIC: Added a lot of class definitions
Let's be honest here, it's a s**t-load of class definitions
2016-02-28 21:42:13 -05:00
Tobia Tesan cd5d60e44c WINTERMUTE: Make _operand protected in script.h 2016-02-29 00:28:05 +01:00
Tobia Tesan 04a96689c2 WINTERMUTE: Remove dead code from vestigial remnants of WME debugger 2016-02-29 00:28:05 +01:00
Sven Hesse 2c81602454 GOB: Don't completely reset the OPL in AdLib::initOPL()
It shouldn't be necessary anymore, since initOPL() cleans everything.
If, however, suddenly a piece of music sounds weird in a Gob game,
this is the place to look for.

This fixes a race condition between OPL::reset() and the callback
timer.
2016-02-28 21:04:23 +01:00
Paul Gilbert 0471a25575 TITANIC: Implement light switch and buttons 2016-02-28 12:46:48 -05:00
Paul Gilbert fa015808ac TITANIC: Implement bowl and ear classes 2016-02-28 11:53:57 -05:00
Paul Gilbert decec97c4b TITANIC: Implement various parrot classes 2016-02-28 10:57:45 -05:00
Martin Kiewitz 962e32e0ec AGI: Remove comma from "Pause when entering commands" 2016-02-28 15:57:22 +01:00
Martin Kiewitz e6466b20fa AGI: Add optional "pause, when entering commands" feature
Shows a prompt window and pauses the game (just like original AGI
did, but original AGI only did it in Hercules rendering mode).
2016-02-28 15:50:25 +01:00
Torbjörn Andersson aded46f08b GUI: Don't crash on empty dictionary in predictive dialog 2016-02-28 15:23:24 +01:00
Torbjörn Andersson bf5208dd3d GUI: Fix two leaks in predictive dialog 2016-02-28 15:04:11 +01:00
Torbjörn Andersson 9d4216e158 AGI: Fix small memory leak in Hercules font loader 2016-02-28 14:34:22 +01:00
Paul Gilbert 6cb2a5e81f TITANIC: Added CCredits 2016-02-28 08:09:29 -05:00
Martin Kiewitz 0caef5d8d0 AGI: Set monitor VM var to EGA for Hercules rendering
Original AGI Hercules rendering was restricted by the Hercules
resolution, which is why they had to remove the AGI prompt and
replace it with a prompt window like the one used in SCI.
We are not and even when we support that prompt window, we
will still support the original AGI prompt even for Hercules
rendering.
Maybe some games had special graphic code, when Hercules rendering
is active. This needs to get checked.

We are now telling the scripts that we are running on EGA,
so that they don't put text at different coordinates.
Hercules rendering also used a different grid for putting text
for example Space Quest 2 right at the start.
This change avoids problems with such placement. We don't really
want to restrict ourselves by implementing that different
text grid resolution.

Also added comments on game feature flags.
2016-02-28 14:06:22 +01:00