Commit Graph

3446 Commits

Author SHA1 Message Date
Orgad Shaneh 64c2072ce2 CREATE_PROJECT: Fix include order for cmake projects
If the engines directory contains plugins_table.h or detection_table.h
from an in-source build, when building out-of-source, these files from
the source directory were prioritized over build directory versions.

This caused issues when different plugins were enabled across builds.

The revised include order now matches the implementation in Makefile.
2025-04-25 20:33:19 +03:00
Donovan Watteau 7613a635f6 BUILD: Promote to error any warning about functions lacking a return statement
Regarding the `configure` script, we now have:

  * default: add `-Werror=flag-name` for selected warnings where it's
    important to fail early (just `-Werror=return-type` for now)

  * --enable-Werror: use `-Werror` for all warnings

  * --disable-Werror: don't any `-Werror` flag

For Xcode, `-Werror=return-type` is added to default flags.

For MSVC, equivalent flags have been added to the existing
`globalErrors` list.

Suggested by sluicebox.
2025-04-25 19:25:51 +03:00
Donovan Watteau 14cfd9b006 CREATE_PROJECT: Use /diagnostics:caret for clearer MSVC warnings
Gets a bit closer to how modern GCC and Clang show warnings.

Introduced in VS 2017:
https://learn.microsoft.com/en-us/cpp/build/reference/diagnostics-compiler-diagnostic-options?view=msvc-170
2025-04-25 19:22:31 +03:00
neuromancer f7997c35c5 FREESCAPE: basic support for the c64 release of eclipse 2025-04-23 09:56:30 +02:00
Miro Kropacek 82ae054d0a JANITORIAL: Partially revert commit 24dcacfe
That one was a bit heavy-handed: enums really shouldn't be passed as
const references.

Revert changes of:

- Common::CodePage
- Common::EventType
- Common::Keycode
- Common::Language
- Common::Platform

Additionally change ProjectDescription::setLanguage and
ProjectDescription::getLanguage in engines/mtropolis/runtime.{cpp,h} as
those used a Common::Language reference, too.
2025-04-20 21:33:15 +02:00
sluicebox a97209336e DEVTOOLS: Close files
CID 1591724
CID 1591692
CID 1591624
2025-04-14 13:15:09 -07:00
sluicebox 88c6586c14 COMMON: Fix memory leak on zlib error
CID 1591742
2025-04-14 13:15:09 -07:00
Miro Kropacek 24dcacfe69 JANITORIAL: Add missing references to const function parameters
Applied to all 'const Common::' and 'const Graphics::' instances.
2025-04-13 02:20:09 +03:00
sluicebox bf243a1dbf COMMON: Fix DCL IMPLODE name 2025-04-09 23:49:19 +03:00
Michael Ball d91852d222 PLAYGROUND3D: Implement Tests 2 and 4 in OpenGLShaders renderer 2025-04-05 21:31:53 +02:00
Donovan Watteau 9c714c0298 SCUMM: I18N: Rename 'jp' to 'ja' in detection entries
For consistency reasons; all other relevant `g_obsoleteLanguages`
changes were already applied to `langMap` in md5table.cpp, except for
this one.

It also better matches the resulting gameid of the detected games.
2025-04-03 18:12:14 +02:00
Donovan Watteau b1ef5738fb I18N: Add some notes about required steps for language code renames 2025-04-03 18:01:19 +02:00
Donovan Watteau 02523af6e4 SCUMM: I18N: Apply previous SE > SV change to scumm-md5.txt as well
Related to previous commit 8ffcf8229f.
2025-04-03 17:59:13 +02:00
Donovan Watteau 3d2ea15519 SCUMM: Add/fix some detection entry info 2025-04-03 17:47:54 +02:00
Michal Breškovec 1e24a36890 KYRA: Kyra 1 Czech translation typo fix. 2025-04-02 22:15:32 +02:00
Michal Breškovec a9a9720bad KYRA: Czech language files fix for Kyra 1, 2, and 3. 2025-04-02 22:15:32 +02:00
athrxx 3efbf3dacd KYRA: update kyra.dat code to support Czech fan translations
(fix code and bump version))
2025-04-02 22:15:32 +02:00
Michal Breškovec 86540efbfd KYRA: Added Czech fan translation for Kyrandia 1, 2, and 3. 2025-04-02 22:15:32 +02:00
Donovan Watteau f53267826b SCUMM: Add file size, version and release type information to some detection entries
(Nice discovery along the way: there were two French floppy releases
of DOTT, the v1.1 one having some text changes/fixes, and possibly
some bug fixes as well.)
2025-04-01 05:35:17 +02:00
Daniel Nylander 8ffcf8229f I18N: Change SE_SWE to SV_SWE
Change the Swedish language code from SE to SV according to ISO 639
2025-03-30 22:19:13 +03:00
Donovan Watteau 0f9f9d2568 SCUMM: Add detection entry for fan-made Italian translation of Indy3 TOWNS
v1.0 2007 translation from Glorifindel at OldGamesItalia/IAGTG.

Reported by luke-70it in Trac#15744.
2025-03-28 04:05:54 +01:00
Donovan Watteau 4c5242e6c3 SCUMM: Add detection entry for fan-made Italian translation of Indy3 VGA
2007 translation from OldGamesItalia.

Reported by luke-70it in Trac#15744.
2025-03-28 04:04:53 +01:00
Donovan Watteau 3c20a0cb05 SCUMM: Add detection entry for fan-made Italian translation of Loom FM-TOWNS
This is the 'tsm/Carmine' translation from OldGamesItalia.

Reported by luke-70it in Trac#15744.
2025-03-28 03:30:18 +01:00
Donovan Watteau 1d20be75a4 SCUMM: HE: Add proper detection code for Macintosh French Freddi4 (Trac#15611)
From my own 'FFISH4PCMCF' PC/Mac copy found at a thrift store.
2025-03-24 19:04:27 +01:00
cmd05 03ab265a97 FREESCAPE: add cubemap shaders to configuration lists 2025-03-22 12:10:19 +01:00
Filippos Karapetis 939966aa77 DEVTOOLS: Fix dialog event entries in nancy7 conditional dialog data
Fixes a crash in Nancy 7 - Ghost Dogs of Moon Lake, when talking to the
Hardy Boys. Properly fixes the issue reported in PR #6485
2025-03-18 22:28:28 +02:00
Lothar Serra Mari 8a1fa82f97 CREDITS: Rebrand rootfather to felsqualle 2025-03-09 17:39:57 +01:00
Lothar Serra Mari 680cf93498 SCUMM: Rebrand rootfather to felsqualle 2025-03-09 17:39:42 +01:00
Strangerke f749ad5b51 CREDITS: Add myself as the culprit of the first English translation of Soltys and Mortville's manor 2025-03-04 07:17:04 +01:00
Strangerke ee322e2de6 GOT: Adding Ron Davis to the Special Thanks 2025-03-04 07:17:04 +01:00
Le Philousophe 269cd905ed MM: Fix stack limit warning
Instead of allocating the data directly in the class, allocate it in the
heap.
2025-02-23 10:24:37 +01:00
Le Philousophe 8b56b2c454 MM: Fix memory leaks in create_xeen 2025-02-23 10:24:37 +01:00
Eugene Sandulenko d339feb753 DEVTOOLS: Remove create_prince which lives in scummvm-tools
And associated submodule, which never was idea even remotely good
and it went just unnoticed by developers.
2025-02-08 18:32:33 +01:00
neuromancer 9f49aaa192 FREESCAPE: added missing bmp file for c64 dark 2025-02-05 22:08:02 +01:00
Scott Percival ab5eb6425f DEVTOOLS: Add textfile support to director-generate-xobj-stub.py 2025-02-04 15:24:17 +01:00
neuromancer 00c4aa1fac FREESCAPE: reworked the C64 implementation of driller 2025-01-27 22:37:19 +01:00
Eugene Sandulenko 7e0d8c3450 DEVTOOLS: Added QTVR cursors to macgui.dat, adjusted create_macgui.sh sctipt accordingly 2025-01-25 17:46:58 +01:00
Filippos Karapetis ac11990c6b SCUMM: Rename new DOTT, MM and FT variants to remastered, instead of SE
The new variants of MI1 and MI2 were marketed as "SE", whereas the new
variants of DOTT, MM and FT were marketed as "Remastered"
2025-01-09 12:25:25 +02:00
Filippos Karapetis 9b3f0a9601 SCUMM: Add detection entries for the Mac SE versions of DOTT, FT and MM
Although these versions have a Mac executable, the game files of the
classic versions enclosed within the PAK files are from the DOS
versions, so they are marked as DOS
2025-01-09 11:54:32 +02:00
Le Philousophe 0703661115 CREATE_PROJECT: Add support for meta-components
These components represent a group of features which can be deleted as a
whole when unused.
2025-01-08 19:30:35 +02:00
Le Philousophe e02cd501cc CREATE_PROJECT: Move features hard-coded logic in its own function
And accept these are not hacks anymore.
2025-01-08 19:30:35 +02:00
Le Philousophe 380ccf54ce CREATE_PROJECT: add_component line has 5 tokens and not 4 2025-01-04 12:01:19 +01:00
Le Philousophe 12bc55bc4e DEVTOOLS: Add back mt32emu feature
It was removed before because the configure script declared it as a
component but the component got renamed and mt32emu is still a feature
(although not declare likewise anymore).
2025-01-04 10:49:46 +01:00
Orgad Shaneh 063209a962 BUILD: Fix build on mingw with libcurl
waitOnSocket in socket.cpp uses select, which is implemented in ws2_32.
2025-01-03 08:28:44 +01:00
Eugene Sandulenko 7186f8e6a5 ALL: Update copyright year to 2025 2024-12-31 23:58:06 +01:00
Miro Kropacek 9a47e0d4d2 DEVTOOLS: Add Atari to update-version.pl
And regenerate for current 2.10.0git
2024-12-30 19:50:12 +01:00
Miro Kropacek 9222a34793 DEVTOOLS: Retain file permissions and allow more than one @VERSION@ 2024-12-30 19:50:12 +01:00
Filippos Karapetis 1b9398f3e0 CREATE_PROJECT: Fix the MPC decoder feature name 2024-12-27 02:27:03 +02:00
Le Philousophe 5ca7c20121 CREATE_PROJECT: Add components based features dynamically
Cleanup the uneeded static features.
2024-12-26 18:42:44 +02:00
Hubert Maier f54fd81b4f JANITORIAL: Fix typos in general files 2024-12-25 16:57:34 +02:00