139505 Commits

Author SHA1 Message Date
Eugene Sandulenko
0d5ecf61e2
GRIM: Add missing override keyword 2023-03-05 23:46:09 +01:00
Eugene Sandulenko
cdce001dcb
VIDEO: Fix printf format warning 2023-03-05 23:45:52 +01:00
Matthew Duggan
a981967321 TETRAEDGE: Implement proper pathfinding for Syberia 2 2023-03-06 07:28:57 +09:00
Matthew Duggan
68e14e6558 TETRAEDGE: Implement collisionSlide for Syberia 2 2023-03-06 07:28:57 +09:00
Matthew Duggan
48de219950 TETRAEDGE: Fix some bugs in Syberia 2 light config 2023-03-06 07:28:57 +09:00
Matthew Duggan
e88685a379 TETRAEDGE: Don't apply spot cutoff in Syberia 2 2023-03-06 07:28:57 +09:00
Matthew Duggan
7baf3da962 TETRAEDGE: Fix potential OOB access 2023-03-06 07:28:56 +09:00
macca8
6ae964bb61 ENGINES: Remove all user access to autosave slot 2023-03-05 23:19:40 +01:00
macca8
414facb1cb ENGINES: Add user support only when autosaving is enabled
Allows autosave file to be:
- deleted,
- manually overwritten,
- tested when autosave fails or produces unexpected results.
2023-03-05 23:19:40 +01:00
macca8
d507ce499f ENGINES: Allow warning dialog to delete existing save file
Presents the autosave with an empty autosave slot after a successful move, or when the Delete option is chosen.
Avoids potential renaming issues for engines which may not allow an existing save file to be renamed.
2023-03-05 23:19:40 +01:00
macca8
8906a0c4a9 ENGINES: Fix invalid double-quote symbols 2023-03-05 23:19:40 +01:00
macca8
159f554d20 ENGINES: Improve management of empty autosave slot
Addresses a vulnerability where the autosave slot may present as a regular empty slot when autosaving is disabled.
By default, an empty autosave slot will always:
- be identified by a dummy autosave.
- display the current autosave state.
- remain clear until an autosave creates the autosave file.
2023-03-05 23:19:40 +01:00
macca8
95c542e713 ENGINES: Clarify configuration of autosave slot
Establishes the relationship between the autosave slot and the current autosave status.
2023-03-05 23:19:40 +01:00
macca8
1c91baab78 SCI: Use slot test to test where save is stored
Properly detects if a save is stored in the autosave slot, preventing an overwrite by the dummy autosave, even though ScummVM autosave support is currently revoked.
2023-03-05 23:19:40 +01:00
macca8
201bed6634 CINE: Use slot test to test where save is stored
As an interim measure, also reinstate the setAutosave(true) call in querySaveMetaInfos() for the dummy autosave, though I suspect the call to create the dummy autosave should only appear in listSaves(), since there's no save file attached for autosave testing, so no possible data loss (potential fix [#13432](https://bugs.scummvm.org/ticket/13432)).
2023-03-05 23:19:40 +01:00
macca8
2868b74e30 ENGINES: Use slot test to test where save is stored
Also reinstated desc.setAutosave(header.isAutosave) call in querySaveMetaInfos().
These changes are simply a reversion of the relevant changes made in #3261, including any subsequent changes since then.
2023-03-05 23:19:40 +01:00
macca8
142ad94149 ENGINES: Rename initSaveType() method (#6)
Rename method to match its purpose.
2023-03-05 23:19:40 +01:00
macca8
252fb66539 ENGINES: Revert setting _saveType value based on slot type
The saveType property is intended to identify the type of save stored in the autosave slot. Setting the saveType property based on slot type identifies any type of save stored in the autosave slot as an autosave.  It's therefore inappropriate for identifying the actual type of save in the slot

Reverting the method prevents an autosave from overwriting a regular save without warning (fixes [#13841](https://bugs.scummvm.org/ticket/13841)).
2023-03-05 23:19:40 +01:00
Eugene Sandulenko
80f478f521
NEWS: Mention support for Chinese grim 2023-03-05 22:40:14 +01:00
Vladimir Serbinenko
60141a62ac GRIM: Double the size of Chinese font 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
349c515089 GRIM: Disable shaders renderer with Chinese 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
dfcccd3246 GRIM: Fix rendering bug 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
dc86f8731c GRIM: Support Chinese font 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
3e1075c2b0 GRIM: Small optimisation in bitmap font renderer 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
829eab2f72 GRIM: Split TTF fonts from bitmap fonts and add a drawing interface
This cleans up the code and allows adding double-byte charsets easier
2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
34db914a09 GRIM: Support "ssIN" magic for GRIM.TAB 2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
95b83f8d3d GRIM: Add entries for Chinese version 2023-03-05 22:39:27 +01:00
Cameron Cawley
366e0c5f67 TINYGL: Replace tglFrustum, tglOrtho and tglClearDepth with float versions 2023-03-05 22:36:31 +01:00
Eugene Sandulenko
aca81c2d74
BASE: Show libpvx in the About dialog 2023-03-05 22:04:37 +01:00
Eugene Sandulenko
b8af8e5380
NEWS: Mention new lipvpx optional dependency 2023-03-05 21:48:31 +01:00
Eugene Sandulenko
10dda78ecc
DISTS: Include MKV license in distribution packages 2023-03-05 21:47:13 +01:00
Eugene Sandulenko
72a3d5e8b2
JANITORIAL: Updated MKV decode license to GPLv3+ 2023-03-05 21:31:55 +01:00
hax0kartik
234e1cac49 SLUDGE: Skip movie incase scummvm isn't built with libvpx as a dependancy 2023-03-05 21:29:03 +01:00
hax0kartik
35c775113a JANITORIAL: Rename variables to match SCUMMVM's coding style 2023-03-05 21:29:03 +01:00
hax0kartik
5351c8b33d SLUDGE: Convert unnecessary warnings to debugs 2023-03-05 21:29:03 +01:00
hax0kartik
a121c1034a SLUDGE: Close resources properly in stopMovie() 2023-03-05 21:29:03 +01:00
hax0kartik
434d82a9bb SLUDGE: Only scale if required 2023-03-05 21:29:03 +01:00
hax0kartik
492002291a SLUDGE: Remove old imported code 2023-03-05 21:29:03 +01:00
hax0kartik
b783a064e4 JANITORIAL: Cleanup MKV Decoder 2023-03-05 21:29:03 +01:00
hax0kartik
66b21a5020 VIDEO: Add working sound support in MKV parser
The solution works by ensuring that we have atleast 10 audioBuffers in the audio stream
2023-03-05 21:29:03 +01:00
hax0kartik
50fac579fe SLUDGE: Add decoder.start() to actually start playing audio 2023-03-05 21:29:03 +01:00
hax0kartik
b0e2b8e02a VIDEO: Remove unneeded variables/leftovers from theora in MKV Decoder 2023-03-05 21:29:03 +01:00
hax0kartik
2b05c1b925 VIDEO: Start working on audio playback in MKV Decoder 2023-03-05 21:29:03 +01:00
hax0kartik
5a086b1883 VIDEO: Fix a wrong if condition in MKV Decoder
The wrong if condition was causing videos to skip playing after 1/2 frames.
2023-03-05 21:29:03 +01:00
hax0kartik
0485b06f0b SLUDGE: Change movie playing status to none once its done playing 2023-03-05 21:29:03 +01:00
Eugene Sandulenko
7f8c9504f5 VIDEO: Simplified MKV parser loop 2023-03-05 21:29:03 +01:00
Eugene Sandulenko
2b15031f55 VIDEO: Fix MKV frames navigation. First visuals 2023-03-05 21:29:03 +01:00
Eugene Sandulenko
0357ccc5d9 VIDEO: Moved video frame decoding to subclass in mkv decoder 2023-03-05 21:29:03 +01:00
Eugene Sandulenko
b3dfca3cb1 VIDEO: YUV420 conversion for MKV decoder 2023-03-05 21:29:03 +01:00
Eugene Sandulenko
4613ab0fd9 VIDEO: MKV: Move audio track to separate class 2023-03-05 21:29:03 +01:00