410 Commits

Author SHA1 Message Date
Martin Kiewitz
f1abc0c302 SCI: improved patcher, inventory patch for kq6/mac
Also added new debug flag for script patcher
2013-11-01 13:25:31 +01:00
Filippos Karapetis
f9bbc2ca37 SCI: Update ScummVM's game audio options for SCI1.1 CD games
This ensures that ScummVM's game audio options for speech and subtitles
get updated when they are changed in the game GUI
2013-10-31 07:25:25 +02:00
Matthew Hoops
9eb5d23a5e SCI: Fix patched save/load dialogs in SCI32 Mac games 2013-04-28 14:56:06 -04:00
Filippos Karapetis
99e90b98f0 SCI: Fix incorrect detection of NRS patches in QFG3 (bug #3574541) 2013-04-27 14:40:08 +03:00
Max Horn
51bde6ced5 SCI: Remove a bunch of unused private member variables
All instances uncovered by clang warnings.
2013-04-18 23:50:20 +02:00
Filippos Karapetis
dc93093afa SCI: Fix a small glitch when loading (regression)
This is caused by commit ed6bc0a13dea0abee56182bc9ff0cd616942fd65,
and caused players to click an extra time when trying to change the
game audio options after loading a game
2012-12-03 02:11:34 +02:00
Filippos Karapetis
ed6bc0a13d SCI: Resync audio options when a game is restarted (bug #3589453) 2012-12-02 15:20:41 +02:00
Filippos Karapetis
c34704972e SCI: reset _throttleLastTime when restarting
This ensures that the load dialog in the ScummVM menu won't be
available at inappropriate times when a game is restarting (e.g QFG1,
during the starting warning dialogs - bug #3565505)
2012-11-06 12:58:33 +02:00
Filippos Karapetis
3a852fb96a SCI: Also add LSL6 CD to syncIngameAudioOptions() 2012-10-08 23:49:49 +03:00
Matthew Hoops
d4231fda1c SCI: Rewrite RobotDecoder to use the AdvancedVideoDecoder API 2012-07-22 23:17:36 -04:00
Filippos Karapetis
2b50824133 SCI: Add setter/getter methods to reg_t's
No functionality change has been made with this commit. This avoids
setting and getting the reg_t members directly, and is the basis of any
future work on large SCI3 scripts (larger than 64KB)
2012-06-18 05:24:06 +03:00
Filippos Karapetis
a1554b9ddd SCI: Fix the detection of the NRS patch for QFG3 2012-05-22 10:50:40 +03:00
Filippos Karapetis
6a49d3eadd ENGINES: Return all available custom GUI options if no target is specified
This is used to set default settings for all custom game options when an
engine starts
2012-03-31 13:55:03 +03:00
Filippos Karapetis
7f9c63239b SCI: Make sure that the disable_dithering key exists 2012-03-31 05:54:30 +03:00
Filippos Karapetis
1938d95c4e SCI: Rename the sci_originalsavedload option to originalsaveload
This changes its naming to be like the rest of the game options
2012-03-25 17:48:38 +03:00
Filippos Karapetis
7e4c5dce4a SCI: Add a new configuration option for SQ4 CD, "silver_cursors"
This allows the user to choose the alternate set of silver mouse cursors
that is available in the game resources of the game, instead of the
original golden ones
2012-03-07 23:20:50 +02:00
Willem Jan Palenstijn
0192d2f2de SCI: Fix restarting SCI engine with different SCI version 2011-11-29 18:34:34 +01:00
Filippos Karapetis
9caacac724 SCI: More work on kEditText 2011-10-30 21:42:33 +02:00
Filippos Karapetis
4f69967773 SCI: Added a new debug flag, "DebugMode" for SCI32 games
This is used to enable the embedded debugger in several SCI32 games
(PQ4, QFG4, GK1, GK2, KQ7, SQ6 and LSL7)
2011-10-29 18:32:52 +03:00
Filippos Karapetis
4ac2940bc5 SCI: Added skeleton code for kEditText (still not working) 2011-10-28 22:20:33 +03:00
Filippos Karapetis
ac559b0212 SCI: Renamed GfxControls to GfxControls16 2011-10-26 01:54:27 +03:00
Filippos Karapetis
935eaa175b SCI: Move the palette merging checking code inside the GfxPalette class 2011-10-19 23:52:51 +03:00
Filippos Karapetis
41cc1932d2 SCI32: Added an initial skeleton structure for the SCI2 text drawing code
This includes kCreateTextBitmap, and moves all of the text drawing code
into the new GfxText32 class
2011-09-03 14:51:51 +03:00
Filippos Karapetis
7432cc4dd9 SCI: Fixed bug #3325512: "EcoQuest 1: Audio settings are not saved" 2011-06-25 12:43:32 +03:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Lars Skovlund
cb990e68a1 SCI: Fix access to variables (gc_interval etc.) from the console 2011-05-27 17:34:43 +02:00
Max Horn
4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
76cf7bc907 SCI: Slight cleanup to undithering code 2011-05-09 14:41:49 +02:00
md5
4133945850 SCI: Renamed restAdjust to r_rest (like r_acc and r_prev) 2011-03-28 02:23:58 +03:00
md5
3ee4830b2e SCI: Don't patch the save/load dialogs in Shivers
Shivers uses a custom save/load system, so we can't replace its dialogs
2011-03-09 23:45:42 +02:00
Walter van Niftrik
f96e93047a SCI: Use BE string handling for Mac games. 2011-03-04 21:12:00 +01:00
md5
bc992d77de SCI: Enable fade transitions for SCI1 EGA games 2011-03-04 22:04:11 +02:00
md5
08af1d9d3f SCI: Don't patch save/restore dialogs in Phantasmagoria
That game has its own custom made save/load system
2011-03-04 01:42:53 +02:00
md5
1bdc6db980 SCI21: Now replacing save/restore dialogs in SCI2.1 and newer games 2011-03-04 00:25:23 +02:00
md5
1aed9a1f34 SCI: Applied save/load dialog patching to all SCI0-SCI2.1 early games
Games that have the newer SCI2.1 kernel functions (i.e. kSave instead of
kSaveGame/kRestoreGame) aren't supported yet
2011-03-03 19:31:47 +02:00
md5
4d33923436 SCI: Cleanup of the save/load dialog patching code and the lofs type detection code 2011-02-28 00:15:47 +02:00
md5
72f65b3946 SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLY
This renaming allows us to better distinguish that this version is for games
that only had an EGA version, and avoid confusion with newer SCI1 game releases
with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2,
a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-27 16:48:53 +02:00
md5
ff597ec048 SCI: Added support for patching save/load dialogs in SCI2 games 2011-02-22 01:51:50 +02:00
Matthew Hoops
266806d892 SCI: Fix Mac icon bar palettes
The Mac icon bar uses a palette from the executable and keeps those entries in the palette constantly.

In addition, we're now performing gamma correction on the Mac-based colors so that they are in the same gamma as SCI. The color matching now works with this and using the same color finding as the Mac Palette Manager.
2011-02-17 13:38:23 -05:00
Matthew Hoops
85f8dc5dee SCI: Add detection for Freddy Pharkas Mac
svn-id: r55828
2011-02-08 15:03:23 +00:00
Filippos Karapetis
6f9ac84f77 SCI: Converted the robot decoder into a regular video decoder, and decoupled it from the
SciEngine class

- Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only
used for syncing with the game scripts
- Hooked video playing into the "play_video" console command

svn-id: r55801
2011-02-07 12:24:09 +00:00
Matthew Hoops
0bf787736c SCI: Fix Mac SCI32 subdirectories
svn-id: r55783
2011-02-05 08:27:33 +00:00
Matthew Hoops
4c0af01d6a SCI: Disable the special QFG1 Mac icon bar
The original interpreter completely ignores it in favor of the regular one.

svn-id: r55748
2011-02-03 02:26:57 +00:00
Filippos Karapetis
a6e9fe69c3 SCI: Set the printLang and parseLang selectors again when restarting, if necessary.
This sets the language again correctly to the language selected in the launcher when
restarting multilingual games.

svn-id: r55561
2011-01-27 10:49:11 +00:00
Filippos Karapetis
89087b18c7 SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, references of the SciEngine class to itself via g_sci have been removed
svn-id: r55422
2011-01-22 13:01:10 +00:00
Filippos Karapetis
f891323f1f SCI: Fixed typo
svn-id: r55022
2010-12-23 12:54:47 +00:00
Filippos Karapetis
f922c29002 SCI: Limit the speech/subtitle settings sync to SCI1.1 CD games only. Earlier
versions (like SCI1, e.g. KQ5CD and Jones CD) didn't have such settings

svn-id: r55006
2010-12-22 14:04:39 +00:00
Filippos Karapetis
a5db890260 SCI: Sync in-game speech/subtitle options with the ones from the ScummVM GUI.
- Obtain speech/subtitle options from the ScummVM GUI and set them in CD games.
- Also, set simultaneous speech and subtitles in games that support them
(currently SQ4 CD and Freddy Pharkas CD). There is no GUI option for setting
simultaneous speech and subtitles in Freddy Pharkas CD, so this is the only
current way of achieving this (unless the text speed slider inside the Freddy
Pharkas options window is repurposed - but that will require extensive changes)

svn-id: r55005
2010-12-22 13:58:28 +00:00
Filippos Karapetis
c76422412d SCI: Compensate for buggy KQ5CD saved games (before r54510)
svn-id: r54513
2010-11-27 18:46:12 +00:00