Commit Graph

1057 Commits

Author SHA1 Message Date
Bastien Bouclet
b51589e993 MOHAWK: Make sure the cursor is visible after loading in Myst
Fixes #7164.
2016-07-24 14:17:45 +02:00
Bastien Bouclet
504ffd2aba MOHAWK: Switch Riven saves to a slot based naming scheme
Existing saves are compatible but must be renamed to riven-###.rvn
2016-07-10 22:01:03 +02:00
Bastien Bouclet
f78bb08b18 MOHAWK: Save ScummVM specific metadata in the Riven saves
- Thumbnail
- Save date
- Save description
- Total play time
2016-07-10 22:01:03 +02:00
Bastien Bouclet
792548f28f MOHAWK: The French DVD version of Riven is just a repackaged CD version 2016-07-10 22:01:02 +02:00
Bastien Bouclet
c06e347d90 MOHAWK: Make the Riven saved games loadable by the original engine 2016-07-10 22:01:02 +02:00
Bastien Bouclet
0440ff64f1 MOHAWK: Have the Myst and Riven options dialog share a base class
Now the Riven options dialog has the same features as the Myst one:
- Screen centering
- Save / Load / Quit buttons
2016-07-04 20:47:16 +02:00
Bastien Bouclet
d35d8efc50 MOHAWK: Change the Riven options dialog's cancel button not to save the settings 2016-07-04 20:47:16 +02:00
Bastien Bouclet
0c57c99f00 MOHAWK: Change the Riven options dialog not to subclass GUI::OptionsDialog 2016-07-04 20:47:16 +02:00
Bastien Bouclet
3391c726cf MOHAWK: Remap bitmaps not to use undefined colors
The Spanish version of Myst has bitmaps that use palette indices in the system
reserved range. Affected pixels previously used colors from the Windows system
palette instead of the bitmap's own palette, resulting in visual glitches.

Bitmaps are now remapped to the screen palette which is made of the Windows
reserved palette and part of the bitmap palette. The original engine used GDI's
StretchDIBits with DIB_RGB_COLORS to achieve the same result.

Fixes #7153.
2016-06-26 08:37:07 +02:00
Eugene Sandulenko
f25c848238 MOHAWK: Engine classes initializations 2016-06-13 22:00:38 +02:00
Strangerke
359ef3de53 MOHAWK: Initialize some more variables 2016-06-01 07:44:02 +02:00
Strangerke
ac6cf328a9 MOHAWK: Remove yet another useless variable 2016-06-01 00:59:01 +02:00
Strangerke
7aa4c32dd4 MOHAWK: Change several variables to boolean 2016-06-01 00:56:54 +02:00
Strangerke
f01978c675 MOHAWK: Remove a useless structure 2016-06-01 00:51:51 +02:00
Strangerke
db17866bea MOHAWK: Initialize some variables 2016-06-01 00:49:47 +02:00
Strangerke
e13e585ab3 MOHAWK: Initialize some variables 2016-05-30 08:01:16 +02:00
Eugene Sandulenko
33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Bastien Bouclet
76e2867c07 MOHAWK: Update the screen immediatly when changing stacks
This fixes the linking sound being played before the new age is displayed.

Thanks to rootfather for noticing.
2016-04-17 11:55:49 +02:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Ori Avtalion
253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Bastien Bouclet
c8bb597e67 MOHAWK: Fix endianness issue in Myst opcode 30
The previous code was reading data of the system's endianness as little endian.
Now the data is converted to little endian before it is read.

Attempt to fix #7100.
2016-04-03 08:11:56 +02:00
Bastien Bouclet
9db3f69f5e MOHAWK: Switch to slot based save file naming for Myst
Myst previously used the user provided description as the save filename.
This was not working when the user entered chacacters forbidden by the
filesystem.

The actual save format has not changed. Old saves are still compatible,
but must be renamed to 'myst-###.mys' and 'myst-###.mym'.

Fixes 7106.
2016-04-03 08:11:56 +02:00
Bastien Bouclet
0366312228 MOHAWK: Add detection.cpp to POTFILES
Fixes #7102
2016-04-01 19:29:02 +02:00
Eugene Sandulenko
0348bb4613 MOHAWK: Added detection for early Russian Riven version. Bug #6471 2016-03-30 23:22:04 +02:00
Eugene Sandulenko
979b072f33 MOHAWK: Added 2 more livingbook versions. Bug #6557 2016-03-30 23:10:46 +02:00
Bastien Bouclet
77c2630049 MOHAWK: Play the gears sound when resetting the Myst clock puzzle
Fixes #7093.
2016-03-28 09:33:46 +02:00
Bastien Bouclet
c1b04c11e9 MOHAWK: Promote Myst from UNSTABLE to TESTING 2016-03-27 14:52:34 +02:00
Johannes Schickel
3aecd8ef2a ENGINES: Make variable names of ADGameDescription conform to our guidelines.
gameid     -> gameId
guioptions -> guiOptions
2016-03-08 19:01:38 +01:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Eugene Sandulenko
10c3d53151 Revert "MOHAWK: Promote Myst from UNSTABLE to TESTING"
This reverts commit 04b5f38337.

We need to make an official announcement first.
2016-03-05 22:18:12 +01:00
Bastien Bouclet
04b5f38337 MOHAWK: Promote Myst from UNSTABLE to TESTING 2016-03-05 20:49:12 +01:00
Bastien Bouclet
edb567055a MOHAWK: Build Myst by default 2016-03-05 20:49:12 +01:00
Bastien Bouclet
f427fccc03 MOHAWK: Make the Quit button show the credits 2016-03-05 20:49:12 +01:00
Bastien Bouclet
cfa2d62d5d MOHAWK: Fix error at the end of the Myst credits 2016-03-05 20:49:12 +01:00
Bastien Bouclet
0bc1f8a4e8 MOHAWK: Also enable dithering for the making of Myst 2016-03-05 20:49:12 +01:00
Bastien Bouclet
a5b0e35626 MOHAWK: Add a method to get a video handle from a MystAreaVideo
Use it to fix the fortress rotation controls once more
2016-03-05 20:49:12 +01:00
Bastien Bouclet
ee25001672 MOHAWK: Fix the sound receiver initially displaying an incorrect view 2016-03-05 14:43:10 +01:00
Bastien Bouclet
54a31ed82a MOHAWK: Fix the Selenitic sound receiver speed being too fast
The rotation speed no longer goes directly to the maximum possible
speed after one second.

This bug also happened in the original.
2016-03-05 14:43:10 +01:00
Bastien Bouclet
0a0cf7a22f MOHAWK: Fix garbage being drawn when pressing the rockey piano keys
Was a regression introduced in 085f3700f7
2016-03-05 14:43:10 +01:00
Bastien Bouclet
f306beab59 MOHAWK: Fix one of the Channelwood monitor movies being misaligned 2016-03-05 14:43:10 +01:00
Bastien Bouclet
2d405fcc9f MOHAWK: Disable midi and subtitles options for Myst 2016-03-05 14:43:10 +01:00
Bastien Bouclet
833b800a32 MOHAWK: Add an engine specific option to play the Myst fly by movie
It is disabled by default since the original engine never plays it.
When enabled, it is only played when first arriving on Myst.
2016-03-05 14:43:10 +01:00
Bastien Bouclet
21317eec72 MOHAWK: The Myst demo and making of don't have save support
Use a GUI option to gray out the load button in the launcher.
2016-03-05 14:43:10 +01:00
Bastien Bouclet
9e57cc166b MOHAWK: Try harder when resuming a stopped video
Fixes turning off the rose-skull projector on Stoneship
2016-03-05 14:43:10 +01:00
Bastien Bouclet
0623a0aa41 MOHAWK: Drawing a single movie frame no longer updates all the movies
Also fixes drawing the last frame of a movie
2016-03-05 14:43:10 +01:00
Bastien Bouclet
3552a185f1 MOHAWK: Adjust the Myst gauge boiler movie to the new VideoHandle semantics
Fixes it not being updated.
2016-03-05 14:43:10 +01:00
Eugene Sandulenko
23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).

Instead of manually updating the list of engines, we now introduce
a new dependency.

I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +01:00
Bastien Bouclet
5aeda50f58 MOHAWK: Fix the drawing time simulation
Was broken when adding transition support.
Fixes scripted card changes not displaying for a long enough time.
2016-02-26 07:22:30 +01:00
Bastien Bouclet
faff49d001 MOHAWK: Fix loading a save from the launcher
Was broken by d6881100dd
2016-02-26 07:22:30 +01:00
Bastien Bouclet
d6881100dd MOHAWK: Only allow saving/loading from the main event loop 2016-02-22 09:58:41 +01:00