Commit graph

112 commits

Author SHA1 Message Date
Cameron Cawley
d9fe53efb2 CRYOMNI3D: Move HNMDecoder into common code 2021-04-17 21:48:45 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Henrik "Henke37" Andersson
5b10de7c8f CRYOMNI3D: Error instead of warn for missing image scripts 2021-02-12 00:41:23 +01:00
Ano Nymous
4c833495d4 Revert "CRYOMNI3D: Don't use U32String with non UTF-32 codepoints"
This reverts commits 83b7fe01ea and
20533b819b.
2020-12-01 20:09:22 +01:00
Le Philousophe
83b7fe01ea CRYOMNI3D: Don't use U32String with non UTF-32 codepoints
Create a new CryoString instead which can handle all the cases
2020-11-28 17:04:07 +01:00
aryanrawlani28
840f08d537 GUI: U32: Code cleanup & misc fixes
- Fix a translation for scumm subtitle settings dialogs.
2020-08-30 14:43:41 +02:00
aryanrawlani28
6fa5d7ee2f CRYOMNI3D: Assign char outside if condition to avoid ambiguity with new contains utility 2020-08-30 14:43:41 +02:00
Eugene Sandulenko
67947621a3 CRYOMNI3D: Properly process corrupted saves 2020-05-04 12:07:39 +02:00
Le Philousophe
c89feeb644 CRYOMNI3D: Abort even in yes/no message box and file picker 2020-03-14 12:20:41 +01:00
Le Philousophe
a05676d2c3 CRYOMNI3D: Fix documentation for CJK
One minor fix for font choice and support multiline attributes for
Japanese version
2020-03-14 12:20:41 +01:00
Le Philousophe
39f6d8e7ed CRYOMNI3D: Add Japanese version of Versailles 2020-03-14 12:20:41 +01:00
Le Philousophe
cb4c1a72ba CRYOMNI3D: Add Korean version of Versailles 2020-03-14 12:20:41 +01:00
Le Philousophe
128f1978bc CRYOMNI3D: Add support for Chinese version of Versailles 2020-03-14 12:20:41 +01:00
Le Philousophe
658c4dfa37 CRYOMNI3D: Handle translations for riddles and bomb 2020-03-14 12:20:41 +01:00
Le Philousophe
bf215580dd CRYOMNI3D: Prepare CJK support for Versailles 2020-03-14 12:20:41 +01:00
Le Philousophe
168522beea CRYOMNI3D: Add support for automatically named saves
CJK versions of game use this to avoid handling extended character set
in files
2020-03-14 12:20:41 +01:00
Le Philousophe
dad1b4d135 CRYOMNI3D: Add subtitles support for CJK 2020-03-14 12:20:41 +01:00
Le Philousophe
09f2bcf7e8 CRYOMNI3D: Revamp text handling and fonts
Add support to extended Cryo fonts used by Chinese version of
Versailles and melt in existing Graphics::Font interface.
2020-03-14 12:20:41 +01:00
Paul Gilbert
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Le Philousophe
1bc068decd CRYOMNI3D: Fix Coverity warnings
- Add initializations to constructors
- Use correct variable
- Fix unintended sign extension because of int promotion
- Use camelCase for variable names
2020-02-16 20:20:46 +01:00
Le Philousophe
b5bd7f4bee CRYOMNI3D: Fix two Coverity issues
- memory leak in loadHLZ when file couldn't be opened (CID 1401735)
- use of out of scope reference (nullptr) when script couldn't be found
    (CID 1401734)
2020-02-16 12:32:38 +01:00
Bastien Bouclet
5737e22fde CRYOMNI3D: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
584bc71966 CRYOMNI3D: Add override keywords 2020-01-31 12:58:49 +01:00
Le Philousophe
b5de32991b CRYOMNI3D: Don't try to load RENVSBG.HLZ if it doesn't exist 2019-11-16 20:43:41 +01:00
Le Philousophe
18ee9fbc32 CRYOMNI3D: Fix loading links with German Windows version 2019-11-16 20:43:41 +01:00
Le Philousophe
8254524d9e CRYOMNI3D: Rewrite path handling to be more agnostic to installation
That simplifies fallback detection too
2019-11-16 20:42:50 +01:00
Le Philousophe
49476a1bc3 CRYOMNI3D: Fix default cases to raise errors 2019-10-19 20:29:56 +02:00
D G Turner
9ce2ba2758 CRYOMNI3D: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-17 18:47:32 +01:00
Le Philousophe
578ad11011 CRYOMNI3D: Add Brazilian language support 2019-10-13 09:22:04 +02:00
Le Philousophe
739ad793f6 CRYOMNI3D: Fix fonts used by various versions
Italian versions of the game use a different set of fonts than others.
Until now, 4 sets have been found.
2019-09-28 15:38:35 +02:00
Le Philousophe
b45197642e BUILD/CRYOMNI3D: Reduce the number of bogus GCC warnings
As the warning is emitted on parsing the class constructor, just move it
out of the class definition.
2019-08-31 19:40:33 +02:00
Le Philousophe
70eca71905 CRYOMNI3D: Add Spanish version of Versailles 2019-07-05 07:52:44 +02:00
Le Philousophe
5309672bea CRYOMNI3D: Move texts at the right place
With different languages text should be placed to fit on the screen
2019-07-05 07:52:00 +02:00
Le Philousophe
d46988491d CRYOMNI3D: Add German version of Versailles 2019-07-05 07:52:00 +02:00
Le Philousophe
418cec512f CRYOMNI3D: Add internationalization through external DAT file 2019-07-05 07:51:19 +02:00
Le Philousophe
57b74a2773 CRYOMNI3D: Load all characters and not only the letters
That will be useful for i18n. Let's suppose all the versions have all
the characters.
2019-07-05 07:40:29 +02:00
Le Philousophe
c24304a78b CRYOMNI3D: Remove detection leftover and add flags
That will let us adapt from different packaging across Versailles
editions.
2019-07-05 07:40:29 +02:00
Le Philousophe
2ac6d005bb CRYOMNI3D: Fix loading of game from original menu in-game 2019-07-05 07:40:29 +02:00
Le Philousophe
8ed05adaea CRYOMNI3D: Silence more warnings 2019-07-04 08:37:37 +02:00
Le Philousophe
38bead0c37 JANITORIAL/CRYOMNI3D: Fix warnings in MSVC
Most of them were due to setting -1 to unsigned values
Else it was bogus unintialized values
2019-06-30 16:46:32 +02:00
Filippos Karapetis
5e9673d83c CRYOMNI3D: Silence false positive warnings about uninitialized variables 2019-06-30 15:25:49 +03:00
Cameron Cawley
3cca7f938f CRYOMNI3D: Fix warnings (#1699) 2019-06-23 23:37:15 +02:00
Le Philousophe
a2f1700fc3 CRYOMNI3D: Fix various memory errors 2019-06-09 12:46:58 +02:00
Le Philousophe
3915be8ff1 CRYOMNI3D: Implement load/save in-game with GMM 2019-06-08 12:43:22 +02:00
Le Philousophe
70c7133e4b CRYOMNI3D: Improve compatibility with ScummVM global UI 2019-06-08 12:43:22 +02:00
Le Philousophe
9fbaf9c739 CRYOMNI3D: Revamp loading and saving
Add support to manage saves from startup screen
2019-06-08 12:43:22 +02:00
Le Philousophe
deb92e13eb CRYOMNI3D: Use shouldAbort to prepare GMM in-game load 2019-06-08 12:43:22 +02:00
Le Philousophe
89922138e2 CRYOMNI3D: Use CursorMan instead of using backend directly
This avoids bugs when GMM is displayed.
It uses GMM like all dialogs in ScummVM and without CursorMan our cursor
get erased when GMM is closed.
2019-06-08 12:43:22 +02:00
Le Philousophe
3e61864ad8 CRYOMNI3D: Fix places documentation 2019-06-01 22:43:48 +02:00