Commit Graph
137148 Commits
Author SHA1 Message Date
Einar Johan Trøan Sømåen 51b2994659 Revert TINSEL refactors that happened too close to code freeze.
Revert "TINSEL: Fix int32 discrepancy"
- This reverts commit a640e6b489.

Revert "TINSEL: Refactor Notebook and System reels to follow naming conventions"
- This reverts commit 2cfc3b4ed2.

Revert "TINSEL: Rename IsConvAndNotMove -> isConvAndNotMove"
- This reverts commit 5ba099f408.

Revert "TINSEL: Rename the public methods in Dialogs to follow convention"
- This reverts commit 8ef52754a1.

Revert "TINSEL: Rename the private methods in Dialogs to follow convention"
- This reverts commit a3d0b5206b.

Revert "TINSEL: Add debug commands to add all clues, as well as listing them."
- This reverts commit fdfede64ca.

Revert "TINSEL: Implement pointer handling for Notebook"
- This reverts commit 195b04c9cf.

Revert "TINSEL: Implement polygon-handling for Notebook"
- This reverts commit 10cce703dc.

Revert "TINSEL: Add initial event support to Notebook."
- This reverts commit 61c94379cd.

Revert "TINSEL: Close Inventories when switching between them."
- This reverts commit 337aed1915.

Revert "TINSEL: Implement library function CROSSCLUE"
- This reverts commit 9519288acd.

Revert "TINSEL: Implement Notebook logic for adding clues and showing pages."
- This reverts commit 3580c17cc5.

Revert "TINSEL: Implement InventoryOrNotebookActive"
- This reverts commit 89aefb7794.

Revert "TINSEL: Minor style-fixes"
- This reverts commit e92fafb955.

Revert "TINSEL: Refactor IsInPolygon to be partially a member-function"
- This reverts commit fa7d448051.

Revert "TINSEL: Replace LockMem with GetFrame for FRAME"
- This reverts commit ec9c630fc5.

Revert "TINSEL: Replace LockMem with GetMultiInit for MULTI_INIT"
- This reverts commit fa8e3c506b.

Revert "TINSEL: Further refactor InventoryObjects"
- This reverts commit 1a2f18e421.
2022-05-27 19:55:36 +02:00
Torbjörn Andersson 31f8db0b64 SCUMM: No longer rely on getMillis() when timing replacement tracks
Now that VAR_TIMER_TOTAL is reliable, use that for timing the Loom
replacement audio tracks instead. This saves us the bother of handling
pausing and things like that.

I think it should work even with older savegames, but at the moment
resuming the track from where it was saved isn't working for me. It
seems to be doing the right ting, but then the track gets restarted.
This may be because of recent changes to Loom save/restore?
2022-05-27 18:28:44 +02:00
Le Philousophe 8569296384 OPENGL: Detect framebuffer support using GL_ARB_framebuffer_object
We use functions from GL_ARB_framebuffer_object extension and not from
GL_EXT_framebuffer_object where functions are suffixed by EXT.
This avoids crashes on implementations supporting only the EXT version.
2022-05-27 18:13:10 +02:00
Le Philousophe a640e6b489 TINSEL: Fix int32 discrepancy 2022-05-27 17:04:26 +02:00
Einar Johan Trøan Sømåen 2cfc3b4ed2 TINSEL: Refactor Notebook and System reels to follow naming conventions 2022-05-27 10:39:56 +02:00
Einar Johan Trøan Sømåen 5ba099f408 TINSEL: Rename IsConvAndNotMove -> isConvAndNotMove 2022-05-27 10:29:38 +02:00
Einar Johan Trøan Sømåen 8ef52754a1 TINSEL: Rename the public methods in Dialogs to follow convention 2022-05-27 10:25:33 +02:00
Einar Johan Trøan Sømåen a3d0b5206b TINSEL: Rename the private methods in Dialogs to follow convention
Changing from PascalCase to camelCase
2022-05-27 08:59:44 +02:00
sluicebox 5b3adb4407 SCI: Fix some script patch typos 2022-05-27 02:38:47 -04:00
sluicebox 1c2e1bc54f SCI32: Fix LSL6HIRES delay when guard presses button
Fixes bug #13501
2022-05-27 02:07:37 -04:00
sluicebox fd146d77d0 SCI32: Initialize Sound:handle for non-preload samples
Fixes bug #13500 where LSL6HIRES doesn't play the audio for the death
message after the security guard launches a missile.

Thanks to @RayKoopa for reporting this and other discrepancies
2022-05-27 02:07:37 -04:00
Einar Johan Trøan Sømåen fdfede64ca TINSEL: Add debug commands to add all clues, as well as listing them.
At the same time, name the NOTEBOOK_CLUE attribute appropriately
2022-05-26 23:08:35 +02:00
Andrea Boscarino 38dd15c183 SCUMM: INPUT: Implement Enter and Tab substitution as Left and Right click
The original interpreters allowed the usage of the Enter key as a substitute for left mouse click, and the Tab key as a substitute for right click; while v7-8 games handle this substitution via scripts, we have to do this manually for the other games.
2022-05-26 23:02:51 +02:00
Einar Johan Trøan Sømåen 195b04c9cf TINSEL: Implement pointer handling for Notebook 2022-05-26 22:29:36 +02:00
Einar Johan Trøan Sømåen 10cce703dc TINSEL: Implement polygon-handling for Notebook 2022-05-26 22:29:22 +02:00
Einar Johan Trøan Sømåen 61c94379cd TINSEL: Add initial event support to Notebook.
For now this should be enough to flip pages.
2022-05-26 22:09:31 +02:00
Einar Johan Trøan Sømåen 337aed1915 TINSEL: Close Inventories when switching between them. 2022-05-26 21:49:53 +02:00
Einar Johan Trøan Sømåen 9519288acd TINSEL: Implement library function CROSSCLUE 2022-05-26 21:49:16 +02:00
Einar Johan Trøan Sømåen 3580c17cc5 TINSEL: Implement Notebook logic for adding clues and showing pages. 2022-05-26 21:48:17 +02:00
Einar Johan Trøan Sømåen 89aefb7794 TINSEL: Implement InventoryOrNotebookActive 2022-05-26 21:07:21 +02:00
Einar Johan Trøan Sømåen e92fafb955 TINSEL: Minor style-fixes 2022-05-26 21:06:58 +02:00
Einar Johan Trøan Sømåen fa7d448051 TINSEL: Refactor IsInPolygon to be partially a member-function 2022-05-26 21:06:27 +02:00
Einar Johan Trøan Sømåen ec9c630fc5 TINSEL: Replace LockMem with GetFrame for FRAME 2022-05-26 21:04:41 +02:00
Einar Johan Trøan Sømåen fa8e3c506b TINSEL: Replace LockMem with GetMultiInit for MULTI_INIT 2022-05-26 21:04:36 +02:00
Einar Johan Trøan Sømåen 1a2f18e421 TINSEL: Further refactor InventoryObjects
So that we don't need vtables for the InventoryObject-objects, only
for the container.
2022-05-26 21:02:05 +02:00
aquadran bbe9b3cf64 Revert "GRIM: Fix string comparison in lua"
This reverts commit d783be1570.
2022-05-26 20:47:36 +02:00
Donovan Watteau 6735e3c0f0 SCUMM: Fix the cyan/pink lines when Indy meets Elsa in Berlin
In the 256-color versions of Indy3, there are some weird horizontal
cyan/pink lines which appear out of place in the Berlin night scene.
The official FM-TOWNS release fixed that by reusing some other colors
from the local palette, so we can apply a similar change for the DOS
and Steam versions, as long as we keep the original EGA colors for the
text and inventory.

(We still do a quick check for the original `smapLen`, just in case a
fan translation redid the background.)
2022-05-26 21:03:53 +03:00
Lothar Serra Mari aab97d9dd4 I18N: Update GUI translation datafile 2022-05-26 17:57:23 +02:00
Lothar Serra Mari afdc18a3ac NEWS: Update German NEWS file 2022-05-26 17:56:15 +02:00
Orgad Shaneh e16007f3d7 GOB: Remove unused function overload 2022-05-26 15:06:32 +03:00
Orgad Shaneh d783be1570 GRIM: Fix string comparison in lua
Reported by GCC 12:

lobject.cpp: In function 'int32 Grim::luaO_equalObj(TObject*, TObject*)':
lobject.cpp:51:35: warning: comparison between two arrays [-Warray-compare]
   51 |                 return svalue(t1) == svalue(t2);

Upstream fix: https://github.com/lua/lua/commit/84790bb953a091eed06d260ef58e71987dda3dab
2022-05-26 15:05:43 +03:00
ScummVM-Translations f5bbeae0c5 I18N: Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: ScummVM/scummvm
Translate-URL: https://translations.scummvm.org/projects/scummvm/scummvm/
2022-05-26 10:35:18 +00:00
Orgad Shaneh 1bc5e41a52 GOB: Clean up SoundDesc::free 2022-05-26 13:34:53 +03:00
ScummVM-Translations 9abbb25f36 I18N: Update translations templates 2022-05-26 08:52:57 +00:00
Eugene Sandulenko 9c85ad792e DOCS: Describe Chewy GUIO 2022-05-26 10:47:33 +02:00
Eugene Sandulenko 9c932d0705 NEWS: Mention Chewy as supported 2022-05-26 10:44:57 +02:00
Eugene Sandulenko 73f580cad5 CHEWY: Enable engine by default 2022-05-26 10:42:11 +02:00
Eugene Sandulenko 637b1ebf4c CHEWY: Mark for testing 2022-05-26 10:41:41 +02:00
Eugene Sandulenko 3727b3e16e GUI: Initial code for embedding formatting info into *ListWidget strings 2022-05-26 10:31:45 +02:00
Purple T fcdbb674db I18N: Update translation (French)
Currently translated at 100.0% (1723 of 1723 strings)
2022-05-26 01:27:56 +00:00
Donovan Watteau fcce6c8e3a I18N: Update translation (French)
Currently translated at 100.0% (1723 of 1723 strings)
2022-05-26 01:27:55 +00:00
Eugene Sandulenko ac6eb75cf8 I18N: Update translation (Russian)
Currently translated at 100.0% (1723 of 1723 strings)
2022-05-25 17:43:22 +00:00
Eugene Sandulenko bea56f01a1 I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1723 of 1723 strings)
2022-05-25 17:43:14 +00:00
Donovan Watteau 4753e85efe SCUMM: Drop VC6 workaround
This compiler has no C++11 support.
2022-05-25 19:07:30 +03:00
Donovan Watteau 0e489206fe BUILD: Remove mention of GCC 2.95
Since we require C++11 support.
2022-05-25 19:07:30 +03: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
Donovan Watteau 452afa29ed SCUMM: Remove the smallCostumeScaleTableAKOS workaround
This was an old workaround for GCC 3.4, but we don't support this
compiler anymore since we now require C++11.  This removes a hack and
saves some bytes.

This undoes commit a7a17969c3.
2022-05-25 19:07:30 +03:00
Donovan Watteau 7ffa660a44 CINE: Remove the comment about an old PalmOS compiler
The problematic compiler wouldn't be able to compile any C++11 code,
and the PalmOS port has been removed more than 10 years ago anyway.

Looking at the following original commits

- 3ed2192923
- 420569626c
- 17fef29507

it appears that this workaround was actually meant to be kept, in the
end, so just remove the comment itself.
2022-05-25 19:07:30 +03:00
Donovan Watteau b9d3282ed6 COMMON: Remove workaround comment about GCC 2.95.3
GCC 2.95.3 has no C++11 support, so there's no point in referencing
it anymore.

The SYNC_AS() lines could be moved back to the end of the class
declaration, but it still seems fine where it is, so just remove the
workaround comment.
2022-05-25 19:07:30 +03:00
Donovan Watteau cf9e45d338 KYRA: MODULES: Remove workaround for GCC 3.4.4
We require C++11 and GCC 3.4.4 has no support for it.

If the Maemo port has an updated toolchain, this compiler bug has
likely been fixed since then.
2022-05-25 19:07:30 +03:00