Commit Graph
78 Commits
Author SHA1 Message Date
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
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:
https://github.com/scummvm/scummvm/commit/565a0559ed09660daa83cd529afa4e0efb6949c5

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
Eugene Sandulenko 6a306affdb STARK: Moved constants to enum from static members, to make OSX compiler happier 2020-10-15 12:14:45 +02:00
Pawel Kolodziejski 8f4e1c6cf3 Sync with ScummVM rev. 654b8208b8 2020-06-22 08:14:16 +02:00
Bastien Bouclet 282d82df85 STARK: Implement the confirmation dialogs using the original style 2019-01-27 17:53:50 +01:00
Bastien Bouclet 2b9242c8ea STARK: Delay playing FMVs until all the location change scripts are done
This ensures no sound is started by the scripts after the game has
already been paused. In-game sounds no longer play during FMVs.
2019-01-25 21:02:02 +01:00
Bastien Bouclet 189ba0a40d STARK: Rework the services instanciation and move keyboard handling 2019-01-03 07:46:19 +01:00
Bastien Bouclet fee73851f0 STARK: Delay changing screen after a FMV ends
Prevents the game screen from being visible for one frame before scripts
have a chance to update it after a FMV ends.

All user interface screen changes should probably be updated to work
that way. Running the update method of a screen and the render method of
another on the same frame seems really bad.
2018-12-02 19:51:42 +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
Douglas Liu 180294c02f STARK: Bind returning to previous screen to key Esc 2018-07-14 15:57:18 +08:00
Douglas Liu 045b071f9b STARK: Small style change 2018-07-11 22:13:56 +08:00
Douglas Liu c7c407d965 STARK: Improve cycling the inventory 2018-07-11 21:57:37 +08:00
Douglas Liu 7fb942f073 STARK: Bind displaying exit locations to key X 2018-07-10 23:33:04 +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 3d5bb3601a STARK: Bind cycling inventory to Key A and S 2018-07-02 13:14:24 +08:00
Douglas Liu 719c2ad09a STARK: Bind toggling subtitles to F9 2018-07-02 11:56:05 +08:00
Douglas Liu 874f468ba0 STARK: Bind quiting to main menu to F10 2018-07-01 23:20:50 +08:00
Douglas Liu 93c508647d STARK: Bind menus to function keys 2018-07-01 23:20:50 +08:00
Douglas Liu 7df34a6565 STARK: Move the dialog function to UserInterface 2018-07-01 13:44:48 +08:00
Douglas Liu 6120877b99 STARK: Cache quiting to main menu and perform later 2018-06-29 21:44:08 +08:00
Douglas Liu 4e474e8277 STARK: Get basic widgets rendered 2018-06-15 21:00:27 +08:00
Douglas Liu f86a5ec51a STARK: Get basic widgets rendered 2018-06-12 20:27:28 +08:00
Douglas Liu 1068f50bca STARK: Get basic static widgets rendered 2018-06-04 23:01:46 +08:00
Douglas Liu ecf1d59a4e STARK: Small improvements 2018-05-31 11:53:51 +08:00
Douglas Liu 340b55f76b STARK: Seperate Save and Load menu 2018-05-29 14:15:50 +08:00
Douglas Liu f4d4254950 STARK: Get all location widgets rendered 2018-05-29 14:15:49 +08:00
Douglas Liu 4159a8b60e STARK: Implement the dragged widget 2018-05-23 10:25:26 +08:00
Douglas Liu 19fed32a42 STARK: Build the Settings and link it with other screens 2018-05-21 22:39:16 +08:00
Douglas Liu 74f35656c3 STARK: Fix the screen name stack 2018-05-21 22:28:43 +08:00
Douglas Liu 833571817e STARK: Completely implement quiting to main menu 2018-05-21 15:31:00 +08:00
Douglas Liu 53af86227a STARK: Change some names, personal preference 2018-05-21 15:30:59 +08:00
Douglas Liu 2ee8a4c5d2 STARK: Implement the Credits and fix a small sound bug 2018-05-21 15:30:57 +08:00
Douglas Liu 9ecde240e8 STARK: First attempt on the main menu 2018-05-21 15:30:56 +08:00
Snejp a09c1c5122 STARK: Implement the flashing image animation
Used when a new entry has been added to the diary.
2018-04-07 11:10:41 +02:00
Bastien Bouclet 1f9df9edb8 STARK: Initial work on the top menu new item animation 2018-02-24 18:49:25 +01:00
Snejp 014d672491 STARK: Fix all stark engine gcc warnings
Fix warnings detected by Jenkins
2018-02-09 11:36:06 +01:00
Bastien Bouclet 44d35556bc STARK: Implement the diary index screen 2017-11-05 16:23:52 +01:00
Bastien Bouclet 3c0344bf7e STARK: Add a Screen abstraction to the user interface 2017-11-05 16:23:52 +01:00
Bastien Bouclet 13ff072254 STARK: Implement fullscreen toggling 2017-09-01 09:26:57 +02:00
Bastien Bouclet 86eec523ba STARK: Store ResidualVM specific metadata and a thumbnail in saves 2017-06-14 21:46:29 +02:00
Bastien Bouclet 888828f373 STARK: Implement the skippable pause opcode 2017-05-26 11:36:32 +02:00
Bastien Bouclet c7e75552ef STARK: Implement the fast forward mode
Used to skip animations. Does not behave exactly as the original due to
frame timing being incorrect in ResidualVM.

Fixes #1324.
2017-03-25 18:31:12 +01:00
Bastien Bouclet 0f185fff27 STARK: Move the Cursor class to the ui subfolder 2016-01-01 07:30:12 +01:00
Bastien Bouclet 34d650a4bb STARK: Hook the top menu options button to the GMM 2016-01-01 07:30:11 +01:00
Bastien Bouclet 6bcdff8b17 STARK: Add an opcode to check if the inventory is open 2016-01-01 07:30:10 +01:00
Bastien Bouclet be41491d4e STARK: Implement three more opcodes 2016-01-01 07:30:05 +01:00
Bastien Bouclet 39201f3c51 STARK: Fix crash when leaving a location while a dialog is active 2016-01-01 07:30:01 +01:00