Commit Graph
271 Commits
Author SHA1 Message Date
Cameron Cawley 7f2d9fd0fd GRAPHICS: Split conversion.cpp into multiple files 2022-12-22 23:45:14 +01:00
antoniou79 31d119b6cc MYST3: Use GUIErrorMessageWithURL() for missing patch
Also hardcode the url for the download location address
2022-08-21 18:44:51 +03:00
Paweł Kołodziejski e70fbbee21 MYST3: Janitorial 2022-06-13 00:44:39 +02:00
Le Philousophe 1e4696f6d0 OPENGL: Rework renderer selection code
Add a class to group all renderer related (static) functions.
This allows to have getBestMatchingAvailableType inline in all engines.

The matching code is now shared between all engines but allows
customization for engines needing it (Grim, WME3D).

The new code takes runtime availability of features to select the
best renderer.
It avoid crashes when user choosed OpenGL but GLES2 is used.
2022-04-03 22:17:19 +02:00
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh dda887aaba MYST3: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Paweł Kołodziejski 862bd7d05f GRAPHICS: Move FrameLimiter from engines to common graphics code 2021-10-27 23:11:20 +02:00
Thunderforge 35c3668275 COMMON: Fixing misspellings "occured" -> "occurred"
Fixing this misspelled word across multiple parts of the codebase.
2021-09-25 21:36:42 +03:00
sluicebox 8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760 37e313bada MYST3: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Cameron Cawley 03e8f0ed2d ENGINES: Remove code for toggling fullscreen mode (#2523)
* GRIM: Remove code for toggling fullscreen mode

* MYST3: Remove code for toggling fullscreen mode

* STARK: Remove code for toggling fullscreen mode

* ENGINES: Remove the fullscreen argument from initGraphics3d()
2020-10-14 07:49:28 +02:00
Paweł Kołodziejski 35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b8 2020-09-03 02:21:14 +02:00
Pawel Kolodziejski 8f4e1c6cf3 Sync with ScummVM rev. 654b8208b8 2020-06-22 08:14:16 +02:00
Bastien Bouclet b333691cc2 MYST3: Implement the new autosave system
Fixes autosaves being performed too often.
2020-05-14 08:37:35 +02:00
Bastien Bouclet 608b7eac69 MYST3: Update the debugger code to match the shared code 2020-05-12 19:55:29 +02:00
Pawel Kolodziejski b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
Bastien Bouclet ec1187493c MYST3: Initialize the default language before opening the game archives
Fixes the in-game text being in english in the DVD version of the game
until the user changes the language.

Fixes #1619.
2020-04-08 20:41:06 +02:00
Bastien Bouclet b4d0b8eee6 MYST3: Rework archive handling to be more flexible 2020-03-28 08:59:11 +01:00
Bastien Bouclet 7a12408172 MYST3: Improve save file error handling 2020-01-02 19:45:33 +01:00
Bastien Bouclet 31f389f748 IMAGE: Allow setting the output pixel format to the JPEG decoder 2019-04-28 09:21:37 +02:00
Bastien Bouclet f4d6b736c4 MYST3: Fix crash when using RTL during the XBox version startup 2019-04-08 21:08:05 +02:00
Bastien Bouclet 451ecd1a9a MYST3: Reset sound variables when loading saved games
Ensures the sound system does not believe sounds that were playing when
the game was saved when loading it.
2019-02-12 20:32:30 +01:00
Bastien Bouclet 6b785263a9 MYST3: Keep track of the keyboard state during transitions
Fixes #1512.
2019-01-01 18:27:18 +01:00
Bastien Bouclet b94aaffab3 MYST3: Ignore keyboard repeat except when entering save names 2018-11-22 06:31:44 +01:00
Bastien Bouclet 842a13abb9 MYST3: Reset the input state after displaying a modal dialog
Fixes #1448.
2018-11-22 06:25:27 +01:00
Bastien Bouclet 4b38409ea6 MYST3: Allow inverting the mouse y axis using ctrl-i 2018-11-10 21:44:05 +01:00
Bastien Bouclet 32fc54531b MYST3: Handle window resizes happening while the engine is paused 2018-10-13 18:33:01 +02:00
David Fioramonti dd2952850d MYST3: Add NodeID enum to help working with nodes
The identifiable ones have been given names.
2018-08-15 15:35:25 +02:00
Bastien Bouclet e62a224c14 MYST3: Update the mouse cursor position when unpausing the engine 2018-08-11 11:17:40 +02:00
Bastien Bouclet 9b8e8bb654 MYST3: Fix the shake effect of the magnetic rings not being in sync
Fixes #1479.
2018-07-21 13:12:34 +02:00
Bastien Bouclet dbf0010819 MYST3: Obey the show subtitles setting for node subtitles
Fixes #1475.
2018-07-21 12:18:27 +02:00
Bastien Bouclet f30e693138 MYST3: Don't stop the music when switching rooms with identical scripts
Some rooms share the same music scripts. It is not necessary to stop the
currently playing music channels when transitionning between two rooms
sharing the same scripts.

Fixes #1476.
2018-07-09 21:07:41 +02:00
David Fioramonti 35d89e25a6 MYST3: Add RoomID enum to help working with Rooms
No behavior changes.

Not all rooms were given useful names, but the most used
were. More useful names for the more obscure rooms can be added
later.
2018-07-01 10:33:22 +02:00
David Fioramonti b2bddb5b1f MYST3: Add Saving from GMM
The Menu object internally manage a thumbnail
for saved games. But now a function has been
added to Menu to have a new thumbnail generated.

Characters that are not safe to use as filenames
cannot be used as save descriptions.
2018-06-10 16:31:35 +02:00
Bastien Bouclet e338b1bb6d MYST3: Rework save thumbnail handling, simplify autosaving 2018-05-27 12:44:24 +02:00
David Fioramonti 006aaa2c43 MYST3: Add Autosave Support
This adds autosaving to a save named  Autosave.

Autosaving is enabled if the autosave file
doesn't exist or is an autosave.

The actual autosaving is done on exit or based
on the save interval specified in the config file.
2018-05-27 12:44:24 +02:00
Bastien Bouclet 89265016a8 MYST3: Fix inconsistent pixel format check for BE platforms
Fixes #1374
2017-11-26 10:21:18 +01:00
Bastien Bouclet 9484bbdd21 MYST3: Sort the files alphabetically in ResidualVM's load dialog 2017-10-01 15:29:27 +02:00
Bastien Bouclet b12ea8b8c8 MYST3: Play the last frame of simple movies for their entire duration
Fixes #1351.
2017-10-01 14:22:10 +02:00
Bastien Bouclet a13e3f7bdd MYST3: Prevent loading from the GMM while the game is not interactive
Also honor quit requests while in inner loops.
Fixes #1369.
2017-09-24 17:08:41 +02:00
Bastien Bouclet 8843400444 MYST3: Reset the input state after transitions
Fixes #1362.
2017-09-23 20:37:24 +02:00
Bastien Bouclet 289f962faf MYST3: Plug memory leak when loading a save
Fixes #1364.
2017-09-22 07:21:00 +02:00
Bastien Bouclet 5d490eed92 MYST3: Clear the screen early in the initialization
Avoids drawing a frame of garbage when the debug console updates the
screen ia bit later (for some reason).
2017-09-02 07:45:37 +02:00
Bastien Bouclet 9ad31268fa MYST3: Use the main event loop for simple movies 2017-09-01 09:26:57 +02:00
Bastien Bouclet 125ccf3b4d MYST3: Implement fullscreen toggling 2017-09-01 09:26:57 +02:00
Bastien Bouclet b97e49c3ee MYST3: Change surface data to always be in the RGBA byte order
This eases uploading the textures to OpenGL, and will hopefully fix
endianness issues.
2017-08-20 09:36:31 +02:00
Bastien Bouclet 142b914eb5 MYST3: Fix some transitions after movies using the wrong source image
Fixes #1353.
2017-08-19 18:10:22 +02:00