Commit Graph
4554 Commits
Author SHA1 Message Date
Filippos Karapetis bd7e708fc3 SCI: Move resource related functionality into a separate folder 2020-11-29 14:34:55 +02:00
sluicebox f9287b26c8 SCI: Play KQ6 credits song even when CD audio fails 2020-11-27 10:58:35 -08:00
sluicebox c71db70d25 SCI: Remove redundant version check from kSciAudioCD
This version check is enforced by kernel tables
2020-11-27 10:58:35 -08:00
sluicebox 2c56ec0aad SCI: Fix LB1 cursor initialization in room 44 2020-11-26 03:49:40 -08:00
sluicebox a1bead4362 SCI: Fix KQ6 inventory in dark catacombs room 2020-11-26 03:49:40 -08:00
Cameron Cawley c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
Zvika Haramaty 1345295bd5 SCI: Hebrew - fix save games encoding
Make sure that Hebrew save games are using UTF8 (otherwise, when saving
in Hebrew it works well from original Sierra save/restore dialogs, but
when loading from ScummVM's dialog, it looks garbled)
2020-10-28 22:17:05 +02:00
Willem Jan Palenstijn 0be765b288 SCI: Add support for RGB rendering 2020-10-24 02:55:01 +03:00
sluicebox bda199eac4 SCI32: Fix GK1 beignet vendor movement speed
Fixes bug #11892
2020-10-18 16:45:11 -08:00
sluicebox 4b5260fc34 SCI: Fix volume slider bug in fan games 2020-09-29 18:36:37 -07:00
sluicebox eee7882c9a SCI: Fix LSL3 volume slider
There was a workaround for this but it didn't fix the script bug.
Instead it set the volume to max every time the volume dialog opened.
2020-09-28 05:14:48 -07:00
sluicebox 3e176b38d2 SCI: Add workarounds for NRS SQ4 Update 1.3
Workarounds for this excellent fan patch were deliberately
excluded because previous versions were distributed with a full
version of the game, but 1.3 is distributed as a true patch set.

Confirmed that this version is now completable.
2020-09-24 04:23:06 -07:00
sluicebox 2e902e022b SCI32: Fix GK1 Day 6 envelope lockup 2020-09-17 17:13:43 -07:00
sluicebox 4008b845a1 SCI32: Enable GK1 Windows videos at bayou ritual
Fixes bug #9807
2020-09-17 02:29:19 -07:00
sluicebox 3f38c0f8d3 SCI32: Fix GK1 Jackson Square cursor bugs 2020-09-14 13:10:45 -07:00
sluicebox c4eda7ab4a SCI32: Set Mac gamma level 2020-09-06 21:56:58 -07:00
Filippos Karapetis 88c80318cd Revert "SCI: SQ4 intro - stop puker alien's sound"
We need to find the actual interpreter difference that causes this bug,
and not patch scenes in this manner, as this bug does not occur with
the original. There is still no explanation why this bug occurs in
ScummVM, so it's best to revert the inserted script code, as it caused
a regression in bug #11671.

This reverts commit 6216f855a8.
2020-09-04 22:46:43 +03:00
sluicebox b6d8b7a1d9 SCI32: Fix SQ6 ExitFeature breaking cursors
Fixes bug #11640

Special thanks to Alien-Grey for reporting this and taking the time
to track down how to trigger this difficult to reproduce bug.
2020-09-03 20:08:23 -07:00
sluicebox d9ffa7b3d7 SCI32: Fix SQ6 shuttle cockpit invalid save games
Fixes bug #11673
2020-09-03 20:08:23 -07:00
sluicebox 1de40cf803 SCI32: Fix SQ6 save dialog message text 2020-09-02 15:43:29 -07:00
sluicebox d592a67125 SCI32: Add kDoAudio support for Mac AIFF patch files
Fixes LSL6 hires Mac aerobics room and end credits
2020-09-01 10:31:32 -07:00
Zvika Haramaty 6216f855a8 SCI: SQ4 intro - stop puker alien's sound
solves one of the issues described at #11265 - the puker alien's sound is still heard on next room
2020-08-31 23:20:44 +03:00
aryanrawlani28 08e9eb3f18 SCI: Use Strings for SaveGameDescription
- Because Unicode input is not supported, resulting input strings are always ascii and no need to store as U32.
2020-08-30 14:43:41 +02:00
aryanrawlani28 d41d0e9b22 JANITORIAL: Fix formatting issues 2020-08-30 14:43:41 +02:00
aryanrawlani28 12e4f871a3 GUI: U32: Improve u32 in all engine subsystems
- Common: add wordWrap function to ustr.cpp
- Bladerunner: Explicitly state we have a U32String in subs (same as Subtitles::loadOuttakeSubsText)
- Don't use translations for engine specific "put strings", because they might not support.
- SCI: Use const references for showScummVMDialog
- SCUMM:
-- Don't use translation in md5 warning. left comments with the translated version.
-- Remove some redundant headers in help.cpp
-- Don't use translation in handleSaveload when printing to console
-- Also, display success transaction correctly via u32::format
- TESTBED: Use fake constructor when setting label of button
- SKY: Correctly use translation when using SaveStateDescription
- ULTIMA: Don't use translations when display_string
- ENGINES:
-- GenerateUnknownGameReport correctly, with proper translations.
-- There was an error, where a function had been declared twice, in a header file. Correct this.
2020-08-30 14:43:41 +02:00
aryanrawlani28 4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28 e22b32abfe GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
2020-08-30 14:43:41 +02:00
aryanrawlani28 bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
sluicebox 4b9cafc1f8 SCI: Fix SQ5 Genetix bridge entrance, bug #11620 2020-08-28 17:13:45 -07:00
Walter van Niftrik 22593de73f SCI: Rename font.h/cpp to scifont.h/cpp
This avoids an issue with MSVC where if (non-SCI) "graphics/font.h" is
included through another include file from the SCI engine root, it finds
"sci/graphics/font.h" first and uses that instead.
2020-08-27 14:56:17 +02:00
sluicebox 8f1af79cc8 SCI: Fix SQ5 elevator door lockup, bug #11605 2020-08-24 21:46:43 -07:00
sluicebox 38da9bf878 SCI: Add SQ1 workaround for teleporting 2020-08-24 21:46:43 -07:00
sluicebox b98fed9dd0 SCI32: Fix KQ7 Chicken Petite crash, bug #11575 2020-08-20 16:06:14 -07:00
sluicebox 125ad9db6d SCI: Allow freed objects to be passed to kDoAvoider
Fixes the witch's cave in early versions of KQ4
2020-08-15 14:28:43 -07:00
sluicebox 8351303e68 SCI: Fix another KQ6 cliff floating script bug 2020-08-14 00:40:53 -07:00
sluicebox 1cdb35d601 SCI: Fix script patch comment 2020-08-14 00:40:53 -07:00
sluicebox ef8916d445 SCI: Fix KQ4 crash when falling down stairs 2020-08-13 22:55:10 -07:00
sluicebox ac1fb79d78 SCI: Fix SQ4 NRS "Stuff Removed" easter egg room 2020-08-08 07:10:09 -07:00
sluicebox a15615d81c SCI: Update KQ6 script patch for CD 1.000.000 2020-08-05 11:20:13 -07:00
sluicebox 0aaf4fb08c SCI: Fix KQ5 Disappearing intro message
Fixes bug #11543
2020-08-01 18:58:00 -07:00
sluicebox 015247259e SCI32: Update kernel tables for late Mac games
Updates kernel table entries to handle Mac 2.1 late games LSL7, RAMA,
and LIGHTHOUSE. Fixes RAMA startup and many errors.
2020-07-22 17:03:52 -07:00
sluicebox a69dbc49d5 SCI: Fix KQ6 Baby Tears lamp handler 2020-07-19 04:30:36 -07:00
sluicebox 9551ea0969 SCI: Fix comment 2020-07-15 12:46:27 -07:00
sluicebox c9ff9bfae3 SCI: Fix KQ6 stale catacombs message boxes 2020-07-15 12:42:42 -07:00
sluicebox 7c9596d78b SCI: Fix KQ6 Wedding Genie lamp message 2020-07-14 19:32:12 -07:00
sluicebox 884206f09d SCI: Fix KQ6 Pawnshop Genie lockup 2020-07-14 16:11:18 -07:00
sluicebox 5f9111f9ed SCI: Fix LSL6 low-resolution volume synchronization
Applies the LSL6 volume sync to the SCI16 (lo-res) versions as well as
the SCI32 (hi-res) versions.
2020-07-10 14:29:32 -07:00
sluicebox e2123c9022 SCI: Add KQ6 workaround for talking inventory 2020-06-27 14:55:32 -07:00
sluicebox 675e070569 SCI: Script patch formatting 2020-06-27 14:34:30 -07:00
sluicebox e2fc630fc4 SCI: Fix Narrator lockup bug
Fixes a script bug that causes rare random lockups in over 20 games
2020-06-26 23:25:49 -07:00