Commit Graph
151 Commits
Author SHA1 Message Date
Filippos Karapetis ede8abfd5d TRECISION: Rename _lim to _area 2022-01-25 10:36:08 +02:00
Filippos Karapetis 32fb690aae TRECISION: Add support for audio in Amiga video
The audio is in raw format, like the rest of the sounds in the Amiga
port.

Overall:
- A new class has been created, NightlongVideoDecoder, which
  encapsulates the PC and Amiga video playing functionality
- The AnimManager class has been moved into animmanager.*
- The AnimType class has been moved from anim.* to animtype.*
2022-01-24 00:24:28 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis 774016275e TRECISION: Fix hiding animation areas when cutscenes start - bug #12624
playDialog() refreshes the screen when it finishes, so any calls to
toggleAnimArea() should be done before playDialog() starts.
This fixes cases such as the storekeeper's wife not disappearing
properly after the cutscene with the rat-on-wheels is shown
2021-10-01 01:31:57 +03:00
Filippos Karapetis 1da70b9247 TRECISION: Move the code that toggles object states when changing rooms 2021-07-15 03:06:09 +03:00
Filippos Karapetis dc97c350d2 TRECISION: Simplify the code handling animation subareas 2021-07-03 13:23:49 +03:00
Filippos Karapetis 1266dcab77 TRECISION: Fix logic for walking into room 23A 2021-07-03 10:44:48 +03:00
Filippos Karapetis 7ebd9c9558 TRECISION: Janitorial - use unified naming for loop variables 2021-06-20 17:04:01 +03:00
Filippos Karapetis 18779bb156 TRECISION: Fix room snapshots in the positioner interface - bug #12638 2021-06-16 02:37:44 +03:00
Filippos Karapetis 364ce377b4 TRECISION: Clean up room entry code for the force field room (kRoom23A) 2021-06-12 20:58:29 +03:00
Filippos Karapetis 9ec9b287a6 TRECISION: Fix alt room initialization
A regression from 9052efb497, which ended
up initializing the rooms all the time
2021-06-12 02:29:17 +03:00
Filippos Karapetis a8882c9478 TRECISION: Fix Joshua's action after combining inventory items
A regression from d334bb3cb8
2021-06-11 23:19:11 +03:00
Strangerke 92f9cf81cf TRECISION: Merge two levels of 'if' in LogicManager 2021-06-09 08:15:05 +01:00
Filippos Karapetis 42d33ec151 TRECISION: Split the Pathfinding3D and Renderer3D classes 2021-06-09 02:52:21 +03:00
SupSuper 30a97ad094 TRECISION: Reset mouse on room transition 2021-06-07 02:34:01 +01:00
SupSuper f45aefcf2b TRECISION: Move save listing to MetaEngine 2021-06-05 06:24:30 +01:00
Filippos Karapetis c78f0496a1 TRECISION: Make some AnimManager fields and functions private 2021-05-31 01:59:15 +03:00
Filippos Karapetis d334bb3cb8 TRECISION: Remove the wrappers for combining inventory items 2021-05-31 00:19:00 +03:00
Filippos Karapetis 85a13bc7a6 TRECISION: Fix the elevator button and Ruby's reader closeups voiceover 2021-05-30 18:18:43 +03:00
Filippos Karapetis 0ca3d76f9c TRECISION: Replace _flagCharacterExists with _flagShowCharacter
These two ended up having practically the same semantics, so they have
been merged. The only place where the difference actually mattered
is in characterContinueTalk(), to show the subtitles in the correct
place, but it suffices to check for active character animations at that
point instead.
2021-05-30 17:37:18 +03:00
Filippos Karapetis ef803f8768 TRECISION: Split doMouseLeftRight() into smaller functions 2021-05-30 17:37:17 +03:00
Filippos Karapetis ffcdb3f58d TRECISION: Simplify dissolve() 2021-05-30 17:37:17 +03:00
Filippos Karapetis bd64803269 TRECISION: Fix regression with closeup exits 2021-05-30 17:37:16 +03:00
Filippos Karapetis faaf6beaaa TRECISION: Group code that clears the inventory item combination state 2021-05-30 10:57:42 +03:00
SupSuper d16fb074e7 TRECISION: Move MessageQueues into Scheduler 2021-05-29 21:25:09 +01:00
Strangerke 81b0efd905 TRECISION: set SInvObject._flag private, add accessors 2021-05-29 21:25:09 +01:00
Filippos Karapetis 24a51fc26b TRECISION: Close the inventory when starting a dialog or changing rooms 2021-05-29 21:25:08 +01:00
Strangerke f840836b3e TRECISION: Set SObject._mode private, add accessors 2021-05-29 21:25:08 +01:00
Strangerke d22c218897 TRECISION: Set SObject._flg private, add accessors 2021-05-29 21:25:07 +01:00
Filippos Karapetis 3f583cd42e TRECISION: Move more screen update functionality into GraphicsManager 2021-05-29 21:25:06 +01:00
Strangerke bc3b343eb7 TRECISION: Make SRoom._flag private, add accessors,add sync and loading functions 2021-05-29 21:25:05 +01:00
Strangerke 639eba4896 TRECISION: Remove extra parenthesis while reviewing code 2021-05-29 21:25:05 +01:00
Filippos Karapetis 1e5a5f1d23 TRECISION: Fix regression with dialog completion checks 2021-05-29 21:25:05 +01:00
Filippos Karapetis a3ae0deb6e TRECISION: Add accessors to DialogManager's members
This allows for the following:
- Make class members of DialogManager private
- Cleaner, more readable code
- Remove unused code
2021-05-29 21:25:05 +01:00
Filippos Karapetis cd28cdbd92 TRECISION: Remove handling and queues for animation class events
These were never actually used
2021-05-29 21:25:03 +01:00
Filippos Karapetis 6925d1d2cd TRECISION: Call the rest of the inventory handling functions directly
This removes the remaining inventory-related events
2021-05-29 21:25:01 +01:00
Filippos Karapetis b66aab5a23 TRECISION: Fix behavior when canceling a save 2021-05-29 21:25:01 +01:00
Filippos Karapetis 2806e7e833 TRECISION: Fix the save dialog
A regression from ba954fa8cc
2021-05-29 21:25:01 +01:00
Strangerke 63dc1fc7e5 TRECISION: end of inc/dec operand harmonization, fix function comment header format 2021-05-29 21:24:59 +01:00
Filippos Karapetis cc48935153 TRECISION: Move the intro queuing code in a more appropriate place 2021-05-29 21:24:57 +01:00
Filippos Karapetis 8b853a2e6c TRECISION: Remove the showIconName event 2021-05-29 21:24:57 +01:00
Filippos Karapetis a80de16ee5 TRECISION: Obtain mouse coordinates directly 2021-05-29 21:24:57 +01:00
Filippos Karapetis 56270d4336 TRECISION: Fix closing the Egyptian gods wheel puzzle
A regression from a3d363fedc
2021-05-29 21:24:56 +01:00
Filippos Karapetis 9a0610711d TRECISION: Remove the changeRoom event 2021-05-29 21:24:55 +01:00
Filippos Karapetis 203d4818be TRECISION: Improve mouse responsiveness
We now process only the mouse button up events, and immediately clear
them, which improves mouse responsiveness. The relevant static
variables that were used to track inventory refresh changes have been
moved to TrecisionEngine. Also, removed some mouse related scheduled
events and call the corresponding functions directly
2021-05-29 21:24:54 +01:00
Filippos Karapetis 3db90c3546 TRECISION: Remove initScript()
The scripts initialized within that function are loaded from data.nl
in loadAll(), so this seems to be a leftover debug function
2021-05-29 21:24:53 +01:00
Filippos Karapetis 4cfe5365de TRECISION: Use the new event wrappers, remove the quit event 2021-05-29 21:24:53 +01:00
Filippos Karapetis 6b34141e77 TRECISION: Whitespace fixes 2021-05-29 21:24:51 +01:00
Filippos Karapetis f944214240 TRECISION: Remove dead code
This code is actually overwritten by the calls to setupAltRoom() and
mouseOperate(), which places Joshua at the correct position in room 21
(platforms), i.e. below the grating instead of outside the door.
Thanks to Strangerke for his cooperation on this :)
2021-05-29 21:24:51 +01:00
Filippos Karapetis 8931782996 TRECISION: Remove the setRoom() wrapper 2021-05-29 21:24:51 +01:00