Commit Graph
137148 Commits
Author SHA1 Message Date
Donovan Watteau 05121fac02 GLK: ADRIFT: Unconditionally use GCC_PRINTF()
There's no need to check for old GCC versions anymore, and our
GCC_PRINTF macro will just be a no-op if the current compiler doesn't
support this.
2022-05-25 19:07:30 +03:00
Donovan Watteau 4ac33a72c2 MATH: Just look for a GCC compatible compiler for __builtin_clz()
There's no need to check for GCC 3.4+ anymore, since we always require
a C++11 compiler.  Just look for __GNUC__, since this is an old
builtin and Clang always has it too.

Also #undef the LT() temporary macro while there, so that it can't
pollute something else by accident, since it's a short macro name in
a header file.
2022-05-25 19:07:30 +03:00
Donovan Watteau 5ebd9b8d23 BUILD: Remove/simplify GCC_ATLEAST() calls when they targeted pre-C++11 compilers
C++11 is now required, so there's no point in checking for pre-C++11
versions of GCC anymore.  Note that Clang defines __GNUC__ too, but
always reports itself as GCC-4.2.1-compatible (and, in practice, the
earliest C++11-compatible versions of Clang will also be have most
GCC 4.8 features).
2022-05-25 19:07:30 +03:00
Athanasios Antoniou 3f75ffadaf SCUMM: Add Explore the Farm Mac version to detection
The new entry uses the "The Farm" pattern, the existing entry uses "farm"

The existing entry was also updated to refer to the Dutch version, for which it was added
(https://github.com/scummvm/scummvm/commit/2e497bb9f83d0435e88bcd283b636c4e2c9043e3).
This commit fixes the issue reported in https://bugs.scummvm.org/ticket/13483
Related forum thread is here: https://forums.scummvm.org/viewtopic.php?t=16585
and Discord discussion here: https://discord.com/channels/581224060529148060/581224061091446795/975285829696102410

As explained, the same CD works in PC and Mac Os

The "farm" pattern corresponds to PC version, and "The Farm" pattern to the Mac OS.
2022-05-25 18:21:55 +03:00
neuromancer 22a87016ad HYPNO: correctly finish levels c352 and c355 in boyz 2022-05-25 13:00:11 +02:00
neuromancer f30fb8706b HYPNO: correctly finish level c353 in boyz 2022-05-25 13:00:11 +02:00
neuromancer 382b7b0ff6 HYPNO: fixes for level c51 in boyz 2022-05-25 13:00:11 +02:00
neuromancer 5e321a0e66 HYPNO: allow to stop and wait for a user action in the middle of arcade sequence in boyz 2022-05-25 13:00:11 +02:00
neuromancer 78a96a91c4 HYPNO: update game state when player wins the cup game in boyz 2022-05-25 13:00:11 +02:00
neuromancer 7c9ff5842c HYPNO: refactor check conditions for c3 levels in boyz 2022-05-25 13:00:11 +02:00
neuromancer a62e363ab8 HYPNO: initial implementation of level c35 in boyz 2022-05-25 13:00:10 +02:00
neuromancer d76aac7830 HYPNO: allow to run level c35 with no weapon in boyz 2022-05-25 13:00:10 +02:00
neuromancer bbbf96a166 HYPNO: implement select_ho level in boyz 2022-05-25 13:00:10 +02:00
neuromancer ffdefe757d HYPNO: save/load game state variables and some fixes in boyz 2022-05-25 13:00:10 +02:00
neuromancer c443f2e93f HYPNO: partial implementation of the select screen in level c3 in boyz 2022-05-25 13:00:10 +02:00
neuromancer f6b018140b HYPNO: corrected default cursor in boyz 2022-05-25 13:00:10 +02:00
neuromancer 6a16c8bbb5 HYPNO: added basic implementation for selection in specific scenes in boyz 2022-05-25 13:00:10 +02:00
neuromancer bae1dffdde HYPNO: skip level is captor is not killed in boyz 2022-05-25 13:00:10 +02:00
neuromancer d034cc1ba2 HYPNO: improved profile saving in boyz 2022-05-25 13:00:10 +02:00
neuromancer 4420f6ccf9 HYPNO: show game profiles in main menu in boyz 2022-05-25 13:00:10 +02:00
neuromancer 9c720c8c60 HYPNO: count the number of used lives in boyz 2022-05-25 13:00:10 +02:00
neuromancer 55a9e96b3d HYPNO: implement save and load of player profiles in boyz 2022-05-25 13:00:10 +02:00
neuromancer 430c703c03 HYPNO: implement basic difficulty selection menu in boyz 2022-05-25 13:00:10 +02:00
neuromancer 7793754c33 HYPNO: add code to show game credits in boyz 2022-05-25 13:00:10 +02:00
neuromancer 3aa0004868 HYPNO: implemented mouse support for retry menu in boyz 2022-05-25 13:00:10 +02:00
neuromancer a2a6f9f3b4 HYPNO: removed _ammoTeam variable to use _ammo instead in boyz 2022-05-25 13:00:10 +02:00
neuromancer fbe34784ac HYPNO: correctly implemented the team health in boyz 2022-05-25 13:00:10 +02:00
neuromancer 5a6bb5a691 HYPNO: improved implementation of the retry menu in boyz 2022-05-25 13:00:10 +02:00
neuromancer 95217f6ffa HYPNO: basic implementation of the retry menu in boyz 2022-05-25 13:00:10 +02:00
antoniou79 313c3ef89a HDB: Comment out the modify controls button
This was uncommented in previous commit for testing and was kept by mistake

In this commit, some of the functions for the modify controls screen are not implemented at a basic level. The modify controls screen is just a picture, but other than the remapping of keys, which would need more work to implement and probably synch with the ScummVM keymapped, it contains useful info on how the game controls work.
2022-05-25 13:26:46 +03:00
antoniou79 e401d2814f HDB: Keep exhaustion attached when scrolling away the rocket
Previously the scolling animation (to the left) would keep exhaustion in place
2022-05-25 12:58:59 +03:00
antoniou79 c8de160946 HDB: Use enum values for options and menu screen ids
Note that the Option screen for modifying controls (id 2) is not implemented
2022-05-25 12:58:59 +03:00
antoniou79 afc309393c HDB: Remove redundant check for empty music_driver value 2022-05-25 12:58:59 +03:00
antoniou79 6778baedcf HDB: Remove no longer used Sound::setMusicVolume() 2022-05-25 12:58:59 +03:00
antoniou79 1ab83c2a28 HDB: Add proper volume settings synchronization
Between GMM / ScummVM launcher settings and game

Also commented out some incomplete and unused code meant for cross fading or fading in and out music tracks (Songs)
2022-05-25 12:58:59 +03:00
antoniou79 10c2d00967 HDB: Split some menu vars into bool and integers
To clear up their role and improve code readability
2022-05-25 12:58:59 +03:00
antoniou79 3328b03b70 HDB: Remove redundant "g_hdb->_menu->" in menu code 2022-05-25 12:58:59 +03:00
antoniou79 d1b3d9fe2d HDB: Fix warp screen back button placement 2022-05-25 12:58:59 +03:00
antoniou79 5a7719cc66 HDB: Fix getting cheat enabled state from ConfMan 2022-05-25 12:58:59 +03:00
Walter Agazzi acc8392407 I18N: Update translation (Italian)
Currently translated at 100.0% (1723 of 1723 strings)
2022-05-25 09:07:25 +00:00
IlDucci 7295f0faad I18N: Update translation (Spanish)
Currently translated at 100.0% (1723 of 1723 strings)
2022-05-24 23:14:29 +00:00
D G Turner 5ac3ccc601 GRIFFON: Fix Various Signed vs. Unsigned GCC Compiler Warnings
These were introduced by changing the type of the various timer
variables from int to uint as part of the fix for timer drift during
pause. However, while these values do appear to be always positive,
this change does not appear to be required for the fix and results in
a large number of compiler warnings.
2022-05-24 23:14:50 +01:00
sluicebox 6e743a97ef SCI: Fix QFG3 event bugs at the Laibon's hut
Fixes some well known deadend bugs in the original game:
- Not being able to give the Laibon the horn
- Not being able to enter the Laibon's hut

Bug #11425
2022-05-24 17:05:27 -04:00
sluicebox f45a5eff90 SCI: Fix QFG3 ring rope uninit read with script patch
Restores original behavior. The workaround caused the player to
always win and receive points even if they lost.
2022-05-24 16:57:45 -04:00
sluicebox b3a77a79a9 SCI: Add QFG3 workaround for casting open on wall 2022-05-24 16:57:45 -04:00
sluicebox c4a95fad5c SCI: Remove duplicate QFG3 uninit read workaround 2022-05-24 16:57:45 -04:00
Donovan Watteau 630207d38b PS3: Properly init the fullscreen and aspect_ratio config keys
As done in the PSP2, Android and Switch ports.

Fix inconsistent reported state for the Aspect Ratio setting on PS3
(similar to Trac#11743 for Android).
2022-05-24 23:38:04 +03:00
Antoniou Athanasios c1196532e5 I18N: Update translation (Greek)
Currently translated at 100.0% (1723 of 1723 strings)
2022-05-24 19:28:27 +00:00
Eugene Sandulenko 21c59522b4 DIRECTOR: Removing incorrect detection entry for the7colors as per eientei 2022-05-24 19:31:19 +02:00
Eugene Sandulenko e25c198e1c DIRECTOR: Added proper detection entry for the7colors 2022-05-24 19:05:19 +02:00