Commit graph

31 commits

Author SHA1 Message Date
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
afdc5d70f7 TRECISION: Fix restoring games from the ScummVM menu - bug #12902 2021-09-30 03:44:58 +03:00
Filippos Karapetis
7ebd9c9558 TRECISION: Janitorial - use unified naming for loop variables 2021-06-20 17:04:01 +03:00
Filippos Karapetis
24d791ba76 TRECISION: Remove superfluous inventory state variables 2021-06-11 23:19:12 +03:00
Filippos Karapetis
42d33ec151 TRECISION: Split the Pathfinding3D and Renderer3D classes 2021-06-09 02:52:21 +03:00
Filippos Karapetis
6ce7d3a985 TRECISION: Remove mask color params and simplify the blinking char code
The mask or shadow color was always MASKCOL, so we don't need to
specify it as a parameter
2021-06-09 00:38:47 +03:00
SupSuper
f45aefcf2b TRECISION: Move save listing to MetaEngine 2021-06-05 06:24:30 +01:00
SupSuper
62f62b6b62 TRECISION: Add endianness to FastFile 2021-05-31 06:40:06 +01: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
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
Strangerke
d22c218897 TRECISION: Set SObject._flg private, add accessors 2021-05-29 21:25:07 +01:00
SupSuper
23e36fe859 TRECISION: Fix loading original saves 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
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
Strangerke
7b4de1e6fb TRECISION: One more review of the includes 2021-05-29 21:25:00 +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
11d064fc6c TRECISION: Use the new event wrappers 2021-05-29 21:24:52 +01:00
Strangerke
3857501467 TRECISION: Fix syncGameStream for v104 savegames 2021-05-29 21:24:50 +01:00
Filippos Karapetis
04ce40a1fa TRECISION: Cleanly separate original saved games from the ScummVM ones
This breaks compatibility with saved games created during development.
We know that versions 103 and 104 were used by the original engine, so
version 110 is a safe one for ScummVM
2021-05-29 21:24:50 +01:00
Filippos Karapetis
8fd5ffbbdf TRECISION: Remove unused saved game fields
The fields synced in SoundManager::syncGameStream() were never changed
2021-05-29 21:24:49 +01:00
D G Turner
b94dca4c91 TRECISION: Fix Various GCC Warnings 2021-05-29 21:24:46 +01:00
Filippos Karapetis
b55a9c12e4 TRECISION: Fix Codacy issues 2021-05-29 21:24:45 +01:00
Filippos Karapetis
8d2f96bab2 TRECISION: Rename clearScreenBufferSaveSlotDescriptions() 2021-05-29 21:24:43 +01:00
SupSuper
c34edf6419 TRECISION: Get rid of last global 2021-05-29 21:24:42 +01:00
Filippos Karapetis
9ee916300f TRECISION: Merge another screen buffer clearing function. Some cleanup 2021-05-29 21:24:40 +01:00
Filippos Karapetis
7f59c36fed TRECISION: Refactor handling of inventory icons + save slot thumbnails
- Loading and drawing of inventory icons is now done inside GraphicsManager
- Saved game thumbnails are loaded and handled inside GraphicsManager
- Moved performLoad() inside saveload.cpp, together with the other
  save game handling functions
2021-05-29 21:24:39 +01:00
Strangerke
70140d1450 TRECISION: Remove dependency on video.h in trecision.h 2021-05-29 21:24:39 +01:00
Strangerke
857b9f5751 TRECISION: Move save/load code from trecision.cpp to saveload.cpp, some renaming 2021-05-29 21:24:36 +01:00