Commit Graph

685 Commits

Author SHA1 Message Date
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Torbjörn Andersson
7ba35924a4 MYST3: Don't let getTextData() add extra string terminators
Recently, the String class was modified to not allow appending
terminators to a string. This was done to fix a Myst III
regression, though apparently the Stark engine was also
impacted somehow?

The aim of this change is to not append terminators to the string,
to ensure that it will keep working regardless of how the String
class handles it.
2021-03-14 19:07:32 +01:00
Henrik "Henke37" Andersson
a4e579936e MYST3: Let HashMap do the error 2021-02-12 00:41:23 +01:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Eugene Sandulenko
a534bb122a MYST3: Mark PS2 versions as not supported 2020-11-28 17:41:23 +01:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Vincent Pelletier
6f8303c2e3 MYST3: Use TGL_UNSIGNED_SHORT_5_6_5 texture format in gfx_tinygl
It is now supported by TinyGL.
2020-11-12 08:16:40 +01:00
Paweł Kołodziejski
749c3ec9e1 ENGINES: If backend is not capable support opengl in game do not try create opengl renderer 2020-10-19 06:52:31 +02:00
Paweł Kołodziejski
d26f718cf3 MYST3: Do dot use ellipsis in text for game. 2020-10-16 23:44:26 +02:00
Paweł Kołodziejski
8f6bc62d74 ENGINES: Added "16bit highres" feature depends for 3d games 2020-10-14 21:48:37 +02:00
Cameron Cawley
1bf1fb40fc
CONFIGURE: Allow building with TinyGL disabled (#2528) 2020-10-14 20:31:22 +02:00
Paweł Kołodziejski
a37173807f CONFIGURE: More work on opengl flags 2020-10-14 18:37:17 +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
42d55b2436 ENGINES: Drop accel3d param for initGraphics3d() 2020-10-13 22:49:07 +02:00
Cameron Cawley
b19857bd8c
ENGINES: Use ScummVM's 2D API for blitting the TinyGL framebuffer (#2516)
* GRIM: Use ScummVM's 2D API for blitting the TinyGL framebuffer

* MYST3: Use ScummVM's 2D API for blitting the TinyGL framebuffer

* ICB: Use ScummVM's 2D API for blitting the TinyGL framebuffer
2020-10-13 22:12:10 +02:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko
7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
BeWorld
cab7cd49c4
MORPHOS : Fixed for int vs int32 types for AmigaOS/MorphOS (#2510)
MORPHOS : Fixed int to int32 and some functions not available on AmigaOS/MorphOS
2020-10-11 18:24:36 +02:00
antoniou
e8c752e4cb MYST3: Remove duplicate 'enable' in widescreen mod description text 2020-10-10 20:10:05 +03:00
Paweł Kołodziejski
264f6f037b ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now. 2020-10-10 14:12:07 +02:00
SupSuper
9340135b03 MYST3: Remove obsolete Windows headers 2020-10-09 21:25:24 +01:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
c337b87db7 ENGINES: Fixed linking 2020-10-05 00:58:13 +02:00
Pawel Kolodziejski
5c57ef54ad ALL: Fixed compilation after sync with ScummVM 2020-10-05 00:43:24 +02:00
aryanrawlani28
1c28f3768f MYST3: Split detection features & adapt to new plugins. 2020-10-05 00:00:12 +02:00
Pawel Kolodziejski
d8f2040dba ALL: Drop setupScreen API, use new initGraphics3d from engine API.
Enabled system API for begin/end gfx transactions, initSize, setGraphicsMode.
Function setGraphicsMode will use optional params to trigger 3d rendering
and switch to proper SDL Gfx manager.
2020-10-02 19:14:19 +02:00
Pawel Kolodziejski
a8b53f8f21 ALL: Avoid class names clashing with ScummVM classes 2020-09-28 18:47:10 +02:00
Pawel Kolodziejski
27e12d8a96 ALL: Eliminate LOCAL_PI macro 2020-09-23 23:20:23 +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
feaf9dc365 ALL: Sync with ScummVM rev. 55dba55056 2019-12-08 17:06:42 +01:00
Bastien Bouclet
056912f4b2 MYST3: Improve the node transition performance
On 4K displays, taking a screenshot and processing the pixels on the CPU
was taking a noticeable amount of time. Now the screenshot is copied
directly to a texture without going through the CPU.
2019-11-08 14:50:20 +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
8be4d52878 MYST3: Timed music scheduling fixes
* Timed music would often be stopped right after starting.
* Fade / play durations were not framerate independent.

Fixes #1522.
2019-02-12 20:32:30 +01:00
Bastien Bouclet
66654cb376 ALL: Sync with ScummVM - rev. cd37d510f9 2019-01-26 20:47:55 +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
395cb2dbc8 MYST3: Don't initialize effects on menu nodes
Fixes #1514.
2019-01-01 18:08:33 +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
Bastien Bouclet
2284381c99 MYST3: Scale the mouse cursor size with the resolution
Fixes #1480.
2018-09-09 21:06:56 +02:00