Commit Graph

405 Commits

Author SHA1 Message Date
Vladimir Serbinenko
301bf5fd25 SKY: Add missing _big5Font initialization 2023-03-01 00:13:06 +01:00
Vladimir Serbinenko
47cbf56d94 GRAPHICS: Extract big5 renderer from sky into common graphics code 2023-02-28 00:40:25 +01:00
Walter Agazzi
49a45938c1 SKY: Add filesizes for most versions 2022-12-21 22:32:20 +01:00
Walter Agazzi
ae51a10e06 SKY: Set DOS as plaform for detected entries
Other versions (Amiga/CD32) aren't detected at all
2022-12-21 22:32:19 +01:00
Walter Agazzi
64397a12b5 SKY: Properly uppercase in extra field
floppy -> Floppy, cd -> CD, for consistency with other engines
2022-12-21 22:32:19 +01:00
Vladimir Serbinenko
762ef9c055 SKY: Alloc more place for quit text to account for bigger Chinese fonts
It doesn't really use Chinese characters but the font subsystem
pre-memsets the whole buffer.
2022-12-04 00:04:54 +01:00
Vladimir Serbinenko
a9ac476ae1 SKY: Move chinese font to member field from static 2022-12-04 00:04:54 +01:00
Vladimir Serbinenko
84f8a744d1 SKY: Keep reference to vm in text class.
This allows to decrease amount of static fields
2022-12-04 00:04:54 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Cameron Cawley
6506e59064 ENGINES: Add getMD5Bytes to the base MetaEngineDetection class 2022-11-30 23:29:37 +02:00
Donovan Watteau
94ce25ac0c SKY: Fix AmigaOS and NDS builds 2022-11-29 11:19:20 +01:00
Vladimir Serbinenko
c5373134d2 COMMON: Uplift rnc decoder from toon to common
Toon has a RNC implementation with 2 differences from the one taken from SKY:

1. Protection against overread. Add it to common version and adjust callers
   in sky.
2. Lack of key parameter for obfuscation. We ignore it anyway and don't
   support obfuscation, so delete it in common version as well
2022-11-29 04:30:36 +01:00
Vladimir Serbinenko
074888e6b8 COMMON: Move RNC decoder from sky to common
RNC is a common packing algorithm used also in Toonstruck and installer of
Dreamweb floppy.
2022-11-29 04:30:36 +01:00
Vladimir Serbinenko
c778a7a310 SKY: Make RNC_SIGNATURE from macro to const 2022-11-29 04:30:36 +01:00
Donovan Watteau
0c30c442b9 SKY: Use MSVC_PRINTF when GCC_PRINTF is used 2022-11-29 01:37:16 +01:00
Vladimir Serbinenko
676a765068 SKY: Add Chinese renderer 2022-11-29 00:45:18 +01:00
Vladimir Serbinenko
16a7aec946 SKY: Support Chinese word-wrapping 2022-11-29 00:45:18 +01:00
Vladimir Serbinenko
01d6629b9f SKY: Read Chinese strings from EXE 2022-11-29 00:45:18 +01:00
Cameron Cawley
4e3498c580 SKY: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Hubert Maier
7f039286cc
SKY: Correct spelling mistake
aweful -> awful
2022-10-27 15:57:29 +02:00
Le Philousophe
3fa310340e SKY: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe
5b67238944 SKY: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe
748461c57d JANITORIAL: Remove useless headers
System headers are not allowed in engines code and are not used
2022-08-22 12:17:58 +02:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
athrxx
54af166305 COMMON: (AD) - further reduce output of mass add detection
Follow-up to the feature that allows skipping certain ADGF flags.

This here now also allows skipping of incomplete file/md5/size matches. It is basically the same behavior as the graylist. For the mass add all files are treated as if they are on the list.
2022-06-12 10:12:39 +02:00
athrxx
e01416ef32 COMMON: (AD) - allow mass add to skip targets with certain ADGF flags
I added skipping for the ADGF_WARNING and ADGF_UNSUPPORTED flags.

For me, this is mostly about fixing bug no. 13282. We sometimes have bogus entries which only have the purpose of presenting the error message (reasons for being unsupported) contained in the extra field of the detection entry.
2022-06-12 10:12:39 +02:00
Eugene Sandulenko
5e05f93f36
ALL: Remove Symbian port 2022-05-28 12:32:29 +02:00
Donovan Watteau
f4fa731c4c DC: SKY: Remove a workaround for an old Dreamcast compiler
This 2003 compiler bug has been fixed since (at least) 2012
with GCC 4.7:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11736

We now require C++11 support, which means that GCC for Dreamcast
should not have this compiler bug anymore.
2022-05-25 19:07:30 +03:00
Torbjörn Andersson
e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
antoniou79
bd39fd3ec9 SKY: Prevent GMM save or load if control panel is open
It was especially buggy when trying to save from GMM while the save panel of the game is open.
2022-01-18 12:33:16 +00:00
antoniou79
85064d6553 SKY: Prevent saving empty string as name
From the in-game Save panel.

Saving empty string is still allowed from the ScummVM GMM and it's translated to current date time.
There's a minor glitch there with the '/' character being shown as the wrong glyph in BaSS save/restore panel.
Also note, we keep the behavior of the original, so a string of blanks is still allowed as a save name.
2022-01-18 12:33:16 +00:00
antoniou79
51cdcb8766 SKY: Fix saving names for non selected save slots
We use a dirty string buffer to temporary store the edited text for the selected slot
2022-01-18 12:33:16 +00:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
ccfaf478ab
AD: Make sure that we initialize hashmaps. Unfortunately, this leads to less const'ness 2021-11-29 01:50:03 +01:00
Orgad Shaneh
ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
Orgad Shaneh
78ef6203de ENGINES: Fix getSavegameFile for almost all engines
Use kSimpleSavesNames correctly, add where needed, remove where needed.

Trac #12977
2021-11-10 21:49:48 +00:00
Alexandre Detiste
6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Orgad Shaneh
fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
antoniou79
9285aa3bff SKY: Display message at attempt to delete autosave slot
Sky engine does not allow autosave file deletion
2021-09-17 22:32:54 +03:00
antoniou79
1187cf91e1 SKY: Fix savegame deletion via GMM 2021-09-17 22:32:54 +03:00
antoniou79
1712cceb20 SKY: Make autosave slot (0) write protected
This prevents the user trying to overwrite it manually using GMM
2021-09-17 22:32:54 +03:00
Max Horn
2f1f8f502e DEVTOOLS: move credits from devtools/credits.pl to engines
This employs a "lazy" approach: the "format" for the credits stays
exactly as it was, i.e., perl code. Of course one may want to change
this to another format (e.g. YAML, JSON, XML; or also shell script or
AWK, like `configure.engine` uses). But I deliberately kept it simple,
to get a minimal change that is easy to verify. Any further changes to
e.g. the format can be layered atop this.
2021-08-05 00:01:46 +02:00
Paul Gilbert
005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
sluicebox
674ed112aa JANITORIAL: Update more old bug tracker numbers
I missed the six digit ones and a few others in:
93eeffc84d
2021-06-09 14:28:52 -06:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Cameron Cawley
ef0048fa77 COMMON: Add standard actions for mouse button clicks 2021-04-06 11:15:42 +03:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Ori Avtalion
b293226fd5 SKY: Remove duplicate include 2020-12-12 16:53:54 +02:00
Eugene Sandulenko
5936026209 ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00