Commit Graph
96 Commits
Author SHA1 Message Date
alxpnv 887436ba89 ASYLUM: add a shortcut to show the in-game menu 2022-08-02 12:59:35 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
alxpnv dbad3d6443 ASYLUM: generalize handling of multipage dialogs 2021-10-27 13:20:47 +03:00
alxpnv fa2c913d04 ASYLUM: add workaround for multipage dialogs
Reported by Attx
2021-10-19 15:18:27 +03:00
alxpnv d4fe0dd11d ASYLUM: add initial support for alternate demo 2021-09-08 15:46:37 +03:00
alxpnv 164353c5ff ASYLUM: add support for the Russian version 2021-09-06 14:55:42 +03:00
alxpnv 4a306cf391 ASYLUM: fix encounter keywords in non-English Steam versions 2021-09-01 13:06:45 +03:00
alxpnv 2fd785c12c ASYLUM: add support for Sanitarium Demo 2021-08-30 15:50:15 +03:00
alxpnv da95daf727 ASYLUM: remove Screen::takeScreenshot() 2021-06-17 15:40:10 +03:00
alxpnv de625e4f53 ASYLUM: rename more Actor methods
Also removed Actor::compare()
2021-06-10 13:34:27 +03:00
alxpnv 8ba3df6821 ASYLUM: refactor inventory 2021-06-04 12:53:52 +03:00
alxpnv 5232b84877 ASYLUM: disable used keywords in dialogs 2021-06-01 11:38:38 +03:00
alxpnv 007ab8c9ff ASYLUM: implement fade to grayscale 2021-05-20 15:36:11 +03:00
alxpnv c81c046450 ASYLUM: clean up destructors 2021-05-17 15:37:58 +02:00
D G Turner b4a0418525 ASYLUM: Fix Uninitialized Variable Accesses Identified by Valgrind 2021-05-17 15:37:55 +02:00
alxpnv 15bb6fd728 ASYLUM: replace 'Fallback to next case' comments with 'fallthrough' 2021-05-17 15:37:53 +02:00
alxpnv 5eed18bbc1 ASYLUM: fix showing of player's facial expressions 2021-05-17 15:37:52 +02:00
alxpnv a6140c4944 ASYLUM: minor fixes (mostly formatting) 2021-05-17 15:37:51 +02:00
alxpnv 7214a190b0 ASYLUM: fixes to the Encounter system. Partly based on xesf's diff 2021-05-17 15:37:43 +02:00
alxpnv ab69b65e6a ASYLUM: fix kOpcodeSetCounterFromActorReactions 2021-05-17 15:37:41 +02:00
alxpnv ff03d8fe89 ASYLUM: restore palette after finishing playing a video 2021-05-17 15:37:41 +02:00
alxpnv 69599ccdc6 ASYLUM: fix kOpcode(Set|Clear)CurrentItemOptions. From xesf@ 2021-05-17 15:37:39 +02:00
alxpnv 994fb8133d ASYLUM: unloop dialogs 2021-05-17 15:37:34 +02:00
alxpnv c7b652226c ASYLUM: unify script offset 2021-05-17 15:37:34 +02:00
alxpnv 87205c935e ASYLUM: reset text data at return 2021-05-17 15:37:34 +02:00
alxpnv 8157fc35ab ASYLUM: missing comma 2021-05-17 15:37:33 +02:00
alxpnv 88f63359e8 ASYLUM: align keywords 2021-05-17 15:37:33 +02:00
xesfnet 40e5cc51a1 ASYLUM: Few encounter script fixes. 2021-05-17 15:37:31 +02:00
xesfnet 410a7aab2e ASYLUM: Encounters speech play. Still buggy has it loops through all the voices but at least isn't stuck in the screen anymore. 2021-05-17 15:37:31 +02:00
xesfnet d25c7ed13a ASYLUM: Encounter tiny fixes. 2021-05-17 15:37:31 +02:00
Alexandre Fontoura 52fe2f8455 ASYLUM: debug for non implemented palette functions instead of error, so we can proceed with the game. A lot of bugs but we can now go to the next level :) 2021-05-17 15:37:30 +02:00
Littleboy cc81d47548 ASYLUM: More encounter cleanup
- Add more comments
 - Reformat code for lisibility
 - Rename some flags/members
 - Fix typos in Encounter::getKeywordIndex()
2021-05-17 15:37:23 +02:00
Littleboy f4a96e448d ASYLUM: Rename the rest of Encounter opcodes 2021-05-17 15:37:23 +02:00
Littleboy 03df42a1c7 ASYLUM: Fix part of encounter scripting
The script entries are now read properly and the scripts are executing far enough to show the keywords on screen
2021-05-17 15:37:22 +02:00
Littleboy e05d0c21e4 ASYLUM: Rename more Encounter script opcodes 2021-05-17 15:37:22 +02:00
Littleboy 5dffe40733 ASYLUM: Rename EncounterItem::keywordIndex to speechResourceId 2021-05-17 15:37:22 +02:00
Littleboy 76fd40f931 ASYLUM: Update Encounter
- Add opcode enumeration and enhance debug output
 - Fix initData()
 - Misc cleanups
2021-05-17 15:37:22 +02:00
Littleboy 92181cef22 ASYLUM: Rename encounter flags
- Used to signal if the player should be re-enabled after the encounter finishes
 - Used to signal the dialog should be closed
2021-05-17 15:37:22 +02:00
Littleboy 341bf99614 ASYLUM: Cleanup Screen class 2021-05-17 15:37:21 +02:00
Littleboy 8f2a9464e0 ASYLUM: Fix initialization of second portrait in Encounter::initPortraits()
- Rename keyword start index member
2021-05-17 15:37:19 +02:00
Littleboy 8370719912 ASYLUM: Move Encounter disablePlayerOnExit flag to SharedData 2021-05-17 15:37:17 +02:00
Littleboy d1b6bbabfd ASYLUM: Move skipScriptProcessing and isEncounterRunning flags to SharedData 2021-05-17 15:37:16 +02:00
Littleboy c935ba9eae ASYLUM: Prefix debug output with type 2021-05-17 15:37:16 +02:00
Littleboy 78f275d796 ASYLUM: Cleanup Scene and related classes 2021-05-17 15:37:15 +02:00
Littleboy 5b0da5965c ASYLUM: Cleanup more base classes 2021-05-17 15:37:15 +02:00
Littleboy 0f14a09cd4 ASYLUM: Remove useless includes 2021-05-17 15:37:14 +02:00
Littleboy ff0d80587f ASYLUM: Change text coordinates parameters to use Common::Point 2021-05-17 15:37:14 +02:00
Littleboy 28363f844d ASYLUM: Reorganize SharedData
- Add accessors for most variables
 - Add stubs for set/getChapter2Data()
2021-05-17 15:37:13 +02:00
Julien Templier fb8afdc6d6 ASYLUM: Palette and gamma functions update
- Identify dead code and remove unused parameters
- Rename several gamma and palette-relted functions
- Add stubs for palette fading functions
2021-05-17 15:37:10 +02:00
Julien Templier 9bc78f83db ASYLUM: Update ScriptManager
- Rename several opcodes
- Add enumeration for script Opcodes
- Rename some called actor methods
2021-05-17 15:37:03 +02:00