140019 Commits

Author SHA1 Message Date
Kaloyan Chehlarski
79f3bace94 NANCY: Fix player time speed in The Vampire Diaries
The value of the length of an in-game minute in The Vampire Diaries
is now read correctly, fixing an issue with time passing way too fast.
2023-03-15 18:25:03 +02:00
Kaloyan Chehlarski
18e8ac14f5 NANCY: Fix secondary movie transparency
Changed SecondaryMovie to always be transparent for The Vampire
Diaries, which fixes the dream sequence at the beginning of the game.
2023-03-15 18:25:03 +02:00
Kaloyan Chehlarski
85dcfb64d8 NANCY: Do not clear palette on viewport scroll
Fixed a bug where the background would go black when scrolling up
or down.
2023-03-15 18:25:03 +02:00
Kaloyan Chehlarski
4069c5e381 NANCY: Correctly implement changing palettes
Scenes with multiple palettes will now use the correct palette,
instead of defaulting to the first one.
2023-03-15 18:25:02 +02:00
Kaloyan Chehlarski
87c7cdb577 NANCY: Don't store time of day
Removed the timeOfDay property, since it is much simpler for
it to be calculated on the fly when needed.
2023-03-15 18:25:01 +02:00
Kaloyan Chehlarski
9988b3ba43 NANCY: Implement map in The Vampire Diaries 2023-03-15 18:25:01 +02:00
Kaloyan Chehlarski
cb29c7d1a3 NANCY: Enable map button in The Vampire Diaries
The map button hotspot in TVD is now read correctly.
2023-03-15 18:25:01 +02:00
Kaloyan Chehlarski
2407996d35 NANCY: Add missing #include 2023-03-15 18:25:00 +02:00
Kaloyan Chehlarski
3f6cc5ec9c NANCY: Don't cut off text in The Vampire Diaries
The calculations for getting the inner height of the textbox have been
tweaked to get results closer to the original engine. This fixes an issue
in The Vampire Diaries where longer text would get cut off at the end.
2023-03-15 18:25:00 +02:00
Giovanni Cascione
e43f6b6953 LIBRETRO: add frameskip options 2023-03-15 10:06:48 +01:00
Paul Gilbert
2e513c33f4 MM: MM1: Added Protect screen 2023-03-14 22:20:17 -07:00
elasota
c8078ba3f1 VCRUISE: Discard "allowedSave" opcode. 2023-03-15 00:53:52 -04:00
elasota
db67719b2b VCRUISE: Don't run facing animations if there are no rotations available. Fixes crash when entering forest. 2023-03-15 00:53:51 -04:00
elasota
814ac065c1 VCRUISE: Stub some oasis ops 2023-03-15 00:53:51 -04:00
elasota
b41ce482d5 VCRUISE: Add saveAs op stub. Add quirk to make the stone game work. 2023-03-15 00:53:51 -04:00
elasota
2a7687ff8b VCRUISE: Fix incorrect wraparound gyro frame ranges. 2023-03-15 00:53:51 -04:00
elasota
e0494fa705 VCRUISE: Fix vertical gyro controls being inverted 2023-03-15 00:53:51 -04:00
elasota
5df36b2c1e VCRUISE: Add quirk to fix rotor puzzle graphics displaying incorrectly 2023-03-15 00:53:51 -04:00
elasota
0dd7d2308e VCRUISE: Stub out say1, fix gong beater not being removed from inventory. 2023-03-15 00:53:51 -04:00
Misty De Meo
7f9e4d80a1
DIRECTOR: correct Mylk D4 version 2023-03-14 18:35:40 -07:00
Xaviu
592bf3fd75 I18N: Update translation (Catalan)
Currently translated at 80.5% (1464 of 1818 strings)
2023-03-15 01:34:53 +00:00
neuromancer
c3da539ae5 FREESCAPE: improved and optimized stipple pattern usage 2023-03-14 19:54:26 +01:00
neuromancer
07cc653455 FREESCAPE: improved stipple generation 2023-03-14 19:54:26 +01:00
grisenti
3dae000e85 HPL1: improve performance of Std::Tree based containers 2023-03-14 18:38:48 +01:00
Lothar Serra Mari
f60e8fb016
NEWS: Mention latest Ultima fixes in German NEWS file 2023-03-14 18:21:07 +01:00
Eugene Sandulenko
ab8eb9a68a
DIRECTOR: Fix warning 2023-03-14 11:27:43 +01:00
VAN-Gluon
84611a1c15 I18N: Update translation (Japanese)
Currently translated at 100.0% (1818 of 1818 strings)
2023-03-14 07:34:52 +00:00
Matthew Duggan
3622697caa TETRAEDGE: Add one more search path for iOS version 2023-03-14 16:16:41 +09:00
Matthew Duggan
6706c3be65 TETRAEDGE: Add can-start-game level support for iOS Syberia 2023-03-14 16:03:35 +09:00
Paul Gilbert
d7ca77fe6c MM: MM1: Fix selecting char from QUickRef 2023-03-13 23:15:24 -07:00
Paul Gilbert
6045ad5e1d LURE: Fix compilation when clickable menus are enabled 2023-03-13 23:09:15 -07:00
Paul Gilbert
8b859ccc9e MM: MM1: Hook up QuickRef view from Char Info dialog btn 2023-03-13 22:52:29 -07:00
Paul Gilbert
77204235e4 MM: MM1: Added Exchange dialog 2023-03-13 22:48:18 -07:00
Paul Gilbert
a07f2f91d7 MM: MM1: Fix redrawing game view after closing dialogs 2023-03-13 22:48:18 -07:00
elasota
b3a4a6249a VCRUISE: Set 3D sound volume and balance atomically to avoid artifacts if the mix happens between the two calls. 2023-03-13 23:55:44 -04:00
Paul Gilbert
f5062438e9 NEWS: Add Nuvie fixes 2023-03-13 20:46:33 -07:00
PushmePullyu
0084aad823 NUVIE: Fix input lag in Ultima 6 main menu
Make sure all queued events are handled between calls to
canvas_update(). Decouples event polling rate from screen update rate.

Fixes #11478 and #12697
2023-03-13 20:41:58 -07:00
PushmePullyu
327e749486 Revert "NUVIE: Improve cursor responsiveness of main menu"
This reverts commit 518247c39a508101f2a81ccdd979183686cfa93b.
The commit did not fix main menu input lag.
2023-03-13 20:41:58 -07:00
PushmePullyu
2556e4d936 NUVIE: Fix Ultima 6 throwing weapon auto-ready
Remove thrown weapons from the inventory first instead of the hands
so they stay readied.

Fixes #12534
2023-03-13 20:40:30 -07:00
elasota
d8d1b62a97 VCRUISE: Add some ops for the citadel 2023-03-13 23:19:36 -04:00
elasota
ff35ee19ab VCRUISE: Partly implement vertical panning, add "minus" op 2023-03-13 23:19:36 -04:00
PushmePullyu
ba601d9520 NUVIE: Fix event handling in cut-scenes
Input polling function: Stay in the event loop instead of returning on
events we do not want to handle. Always push a return value on the lua
stack unless the event queue is actually empty.
2023-03-13 20:19:13 -07:00
PushmePullyu
33d1a4f8b0 NUVIE: Fix Ultima 6 item order in containers when saving
Traverse container content list from the start instead of the end
when saving chunks so the items are stored in the correct order.
2023-03-13 20:12:08 -07:00
PushmePullyu
461ca0cbbf NUVIE: Fix Ultima 6 item order when player searches containers
Traverse container content list from the start instead of the end
so items get moved to the map in the correct order.

Fixes #13514
2023-03-13 20:12:08 -07:00
PushmePullyu
9365613ee4 NUVIE: Fix Ultima 6 item order in containers
Add items to containers in the correct order when loading a chunk.
2023-03-13 20:12:08 -07:00
PushmePullyu
05ae18340d NUVIE: Fix Ultima 6 crash on loading save
Fix a use-after-free bug. The chain of events causing it is as follows:

In-game the user changes the current view (e.g. by pressing TAB to
go to inventory view). The user next presses ESC to open the
GameMenuDialog and then clicks the "Load Game" button. A save slot is
selected and then loaded.

The resulting call chain is:

GUI_Button::Activate_button()
  GameMenuDialog::callback()
    GameMenuDialog::close_dialog() <-- This marks GameMenuDialog
                                       for deletion by the GUI
    g_engine->loadGameDialog()
      GUI::AddWidget() <-------------- This deletes GameMenuDialog
                                       and its children, including
                                       the "Load Game" button

Control then returns to GUI_Button::Activate_button() with "this"
containing the address of the freed button.

An attempt to call Redraw() finally dereferences the invalid pointer.

This is fixed by calling loadGameDialog() before close_dialog().
2023-03-13 20:08:07 -07:00
Matteo Bini
89c843b286 LURE: Refresh background only in popup menus 2023-03-13 19:19:11 -07:00
Matteo Bini
47ec70d6cb LURE: Original VGA background color in popup menus 2023-03-13 19:19:10 -07:00
Matthew Duggan
c7d6a536cd TETRAEDGE: Fix crash on Syberia 2 detection 2023-03-14 09:28:31 +09:00
Matthew Duggan
1e4dc608ff TETRAEDGE: Remove redundant loop variable. PVS-Studio V654 2023-03-14 09:28:10 +09:00