263 Commits

Author SHA1 Message Date
Antoniou Athanasios
9fa924c09f
STARK: Detect TLJ Steam version to fix missing bg resource (#3318)
STARK: Detect TLJ Steam version to fix missing bg resource

An alternative fix for bug https://bugs.scummvm.org/ticket/12762 that replaces the previous fix.

This fix will set a flag at detection time (when adding the game to ScummVM)
so that the Steam version will skip trying to load a background image resource
from the exe file (game.exe), since that specific version is missing a valid version
of this resource which leads to an assertion fault.

It wont be necessary to re-add (redetect) the game, if it has already been added before this fix. The current AdvancedDetector implementation takes care of setting the flag at game launch. (As explained by sev) we run detection on every run and returning the relevant detection entry.

The previous fix was this commit which was based only on version info of the exe file:
565a0559ed

That one also works without having to re-add/re-detect the game, but perhaps just checking
version info is not the best approach.
2021-08-29 14:14:29 +03:00
antoniou79
565a0559ed STARK: Skip loading bg dialog color for Steam version r161
Addresses bug https://bugs.scummvm.org/ticket/12762
2021-08-27 18:37:35 +03:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
D G Turner
9d8c243517 STARK: Fix Signed vs. Unsigned Comparison GCC Warning 2021-03-19 00:34:49 +00:00
Dmitry Gladkov
d937daceb4
STARK: Play sound when hovering active cursor (#2566)
STARK: Play sound when hovering over action items
2020-10-26 20:57:25 +01:00
Eugene Sandulenko
6a306affdb STARK: Moved constants to enum from static members, to make OSX compiler happier 2020-10-15 12:14:45 +02:00
Eugene Sandulenko
2448d6cb0a STARK: Remove unneeded include 2020-10-09 22:35:37 +02:00
Bastien Bouclet
a436f7951a STARK: Always show the hovered item title
Fixes #1566.
2019-08-10 11:32:15 +02:00
Bastien Bouclet
afb8f4e2f3 STARK: Fix incorrect title for inventory items in the action menu
Fixes #1567.
2019-08-10 11:32:15 +02:00
Bastien Bouclet
d474e3f94f ALL: Sync with ScummVM - rev. ea3f8f2e33563987d8190cc66de75b6ac7f476db 2019-06-29 19:08:44 +02:00
Bastien Bouclet
660bf271e4 STARK: Allow using more pages for the save load menu
That way all the saves created using the ResidualVM menu can be loaded
using the in-game menu.
2019-06-26 21:07:25 +02:00
Bastien Bouclet
821415cd1a STARK: Disable the save menu item when the game is not interactive
The diary index can be accessed while the game is not interactive using
the F1 keyboard shortcut. Players should not be able to save at this
point as saves may not be consistent.
2019-06-23 13:45:30 +02:00
Bastien Bouclet
ae1a7fbf6f STARK: Fixes for text in the computer archive database
* Add a workaround so the white cardinal hotspot always matches the text
* Add a workaround so the main menu link does not wrap in the French
   version
* When the screen resolution changes reset all text visuals, even those
   not currently visible

Fixes #1551.
2019-06-06 20:28:44 +02:00
Bastien Bouclet
13a5006dec STARK: Fix the none mouse cursor being visible sometimes
When scripts want to clear the selected inventory item, they ask to
select the 0 special value. We now properly recognize that value.
2019-06-02 09:39:03 +02:00
Bastien Bouclet
6709dc56c1 STARK: Use the appropriate texture sampling filter for save thumbnails 2019-05-28 21:25:55 +02:00
Bastien Bouclet
f24c2b9f3d STARK: Fix scaling of the flashing and exploding effects
Rendering was incorrect when using hi-resolution replacement graphics.
2019-05-18 11:04:34 +02:00
Bastien Bouclet
c881ecf0f4 STARK: Fix sometimes incorrect item description in the action menu 2019-02-01 08:58:56 +01:00
Bastien Bouclet
9bbaa69dba STARK: Make the text color endian-safe 2019-01-28 21:23:14 +01:00
Bastien Bouclet
e6a129d908 STARK: Load the font settings from gui.ini 2019-01-28 18:20:00 +01:00
Bastien Bouclet
282d82df85 STARK: Implement the confirmation dialogs using the original style 2019-01-27 17:53:50 +01:00
Bastien Bouclet
0dc8726136 STARK: Game view user interface refinements
* Implement the mouse item description delay
* Implement inventory auto close
* Implement action menu auto close
* Implement the action menu item description
2019-01-25 21:02:02 +01:00
Bastien Bouclet
b9a1b8eefd STARK: Optionally use linear filtering when rendering backgrounds 2019-01-16 20:20:39 +01:00
Bastien Bouclet
7302d18f36 STARK: Prevent dialog options and subtitles from being displayed at the same time
In some cases the game scripts don't wait for dialog lines to complete
before presenting options.
2018-12-02 19:51:42 +01:00
Bastien Bouclet
b534956955 STARK: Don't always wait for sounds to complete in the menu screens
With this change, changing screens and using widgets feels much more
responsive.
2018-12-02 19:51:42 +01:00
Bastien Bouclet
3c80722658 STARK: Use the center of item's bounding rect as the scroll target 2018-12-02 19:51:35 +01:00
Bastien Bouclet
cf02210729 STARK: Inventory window fixes
* Show an active cursor when hovering the scroll buttons
* Clicking on a inactive scroll button no longer closes the inventory
* Changing the visibility of the inventory window now closes the action
   menu.
* The inventory management hotkeys only work when the game is
   interactive.
* Hide the inventory window when loading a save.
* Hide the action menu when loading a save.
2018-11-25 13:39:57 +01:00
Bastien Bouclet
24eda9e18d STARK: Adjust a few TODOs 2018-11-22 13:35:47 +01:00
Bastien Bouclet
4edb8a7add STARK: Use the mouse cursor as a hitbox when testing small world items
Fixes #1506.
2018-11-21 17:24:10 +01:00
Bastien Bouclet
0f3cf3e511 STARK: Introduce a onGameLoop event to stop abusing onRender for updates
Fixes #1492 where rendering the screen to save a screenshot would run
some dialog related script updates.
2018-08-28 21:24:33 +02:00
Bastien Bouclet
65f6024c17 STARK: Implement the eye cursor animation 2018-08-15 15:08:54 +02:00
orangeforest11
7b637b22c1 STARK: Changed the action menu and cursor to being scaled 2018-08-15 15:08:25 +02:00
Douglas Liu
99536d889b STARK: Remove meaningless codes 2018-07-15 23:58:30 +08:00
Douglas Liu
3e38b1c4f9 STARK: Further improve the calculation of options' positions 2018-07-15 11:46:14 +08:00
Douglas Liu
2453408988 STARK: Improve the checking of displayed dialog options 2018-07-14 22:50:30 +08:00
Douglas Liu
09b67ae045 STARK: Improve idle mouse detection in DialogPanel 2018-07-14 15:29:21 +08:00
Douglas Liu
0587de6c45 STARK: Bugs fixing 2018-07-10 23:41:03 +08:00
Douglas Liu
7fb942f073 STARK: Bind displaying exit locations to key X 2018-07-10 23:33:04 +08:00
Douglas Liu
76e305783a STARK: Improve the rendering of exit location symbols 2018-07-10 23:20:40 +08:00
Douglas Liu
a16d469231 STARK: Render exit symbols on the screen 2018-07-09 23:49:51 +08:00
Douglas Liu
b0e25564cb STARK: Bind dialog options to number keys 2018-07-03 23:06:36 +08:00
Douglas Liu
762a9baab1 STARK: Bind dialog panel to related keys 2018-07-02 23:26:24 +08:00
Douglas Liu
82d818135b STARK: Bind inventory scrolling to related keys 2018-07-02 18:12:19 +08:00
Douglas Liu
719c2ad09a STARK: Bind toggling subtitles to F9 2018-07-02 11:56:05 +08:00
Bastien Bouclet
a3f7e97974
Merge pull request #1471 from DouglasLiuGamer/branch-fix
STARK: Issue fixing
2018-07-01 16:29:48 +02:00
Douglas Liu
cdac19af5f STARK: Fix version info issue & disable widgets missing render entry
Fix #1469 and fix #1470
2018-07-01 21:45:27 +08:00
Douglas Liu
7df34a6565 STARK: Move the dialog function to UserInterface 2018-07-01 13:44:48 +08:00
Douglas Liu
40374577bb STARK: Use loaded texts in the top menu 2018-06-30 17:33:38 +08:00
Douglas Liu
47dde59b97 STARK: Enable confirmation dialog on save & load menu 2018-06-30 17:28:49 +08:00
Douglas Liu
d57ac332fc STARK: Enable QuitGame dialog 2018-06-30 16:49:02 +08:00