Filippos Karapetis
52a9b4a03c
TRECISION: Clean up location reading code
2022-01-26 01:40:48 +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
afdc5d70f7
TRECISION: Fix restoring games from the ScummVM menu - bug #12902
2021-09-30 03:44:58 +03:00
Filippos Karapetis
40031bf5c0
TRECISION: Add a game ID and an initial detection entry for Ark of Time
...
Ark of Time isn't supported at all yet, this is just a placeholder for
further development
2021-09-11 12:30:46 +03:00
SupSuper
b84814cd34
TRECISION: Clean up warnings
2021-06-30 09:36:17 +01:00
Filippos Karapetis
78ef45ba0f
TRECISION: Group object graphics and mask buffers
2021-06-22 10:37:36 +03:00
Filippos Karapetis
95cec50195
TRECISION: Don't refresh objs outside of the current room - bug #12625
2021-06-20 17:04:01 +03:00
Filippos Karapetis
03926135be
TRECISION: Rename a variable
2021-06-12 20:58:29 +03:00
Filippos Karapetis
271ee6ab89
TRECISION: Change _inventorySpeed into a static const
2021-06-12 00:05:28 +03:00
Filippos Karapetis
ff97b24f09
TRECISION: Remove the now redundant maskMouse variable
2021-06-12 00:05:27 +03:00
Filippos Karapetis
24d791ba76
TRECISION: Remove superfluous inventory state variables
2021-06-11 23:19:12 +03:00
Filippos Karapetis
e6955a5853
TRECISION: Move _actorPos and _forcedActorPos into PathFinding3D
2021-06-10 02:06:32 +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
Strangerke
f3dd3de43f
TRECISION: Fix some Coverity issues
2021-06-05 23:51:57 +01:00
SupSuper
2ffcd00393
TRECISION: BM files are always little-endian
2021-05-31 21:37:37 +01:00
SupSuper
62f62b6b62
TRECISION: Add endianness to FastFile
2021-05-31 06:40:06 +01:00
SupSuper
229d9415a0
TRECISION: Amiga files are big-endian
2021-05-31 06:40:04 +01:00
Filippos Karapetis
c78f0496a1
TRECISION: Make some AnimManager fields and functions private
2021-05-31 01:59:15 +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
12b4e08191
TRECISION: Remove redundant actor showing statement
...
This statement was probably added to show the main character in the
first room the first time it's visited, which happens when the game
starts. We set _flagShowCharacter to true in the engine constructor,
so this statement is redundant.
2021-05-29 21:25:11 +01:00
SupSuper
d16fb074e7
TRECISION: Move MessageQueues into Scheduler
2021-05-29 21:25:09 +01:00
Strangerke
f840836b3e
TRECISION: Set SObject._mode private, add accessors
2021-05-29 21:25:08 +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
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
Strangerke
2ec411c0e5
TRECISION: Move ElevatorAction definition to Trecision.h, make elevatorAction static
2021-05-29 21:25:04 +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
31f51e0a8f
TRECISION: Refactor mouse movement checking
2021-05-29 21:24:58 +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
9a0610711d
TRECISION: Remove the changeRoom event
2021-05-29 21:24:55 +01:00
Filippos Karapetis
7bf1e105c3
TRECISION: Bugfix for refreshObject()
...
Fixes the room objects in the prison, after trapping the guard
2021-05-29 21:24:55 +01:00
Filippos Karapetis
f2b4a07e5a
TRECISION: Refresh the object sort table after a full screen video
...
Fixes graphics glitches after full motion videos. A regression from
a3d363fedc
2021-05-29 21:24:54 +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
e49abd0f0c
TRECISION: Fix loading from the launcher
2021-05-29 21:24:53 +01:00
Filippos Karapetis
873644ffd4
TRECISION: Use the new event wrappers, remove the start/quit events
2021-05-29 21:24:52 +01:00
Filippos Karapetis
7b8671d04c
TRECISION: Fix the parameter names of startCharacterAction()
2021-05-29 21:24:52 +01:00
Filippos Karapetis
6b34141e77
TRECISION: Whitespace fixes
2021-05-29 21:24:51 +01:00
Filippos Karapetis
e1ad7c1318
TRECISION: Remove waitEndFading()
2021-05-29 21:24:51 +01:00
Filippos Karapetis
8a04137fb0
TRECISION: Refactor the sound playing code
...
The following changes have been made:
- Fade in/out functionality has been removed (it was never really used
properly)
- Removed references to audio streams - they are disposed after use now
- Removed the room sound list - only 4 different sounds are actually
played simultaneously
2021-05-29 21:24:50 +01:00
Filippos Karapetis
4dd9b52613
TRECISION: Fix memory leaks reported by Valgrind
...
Thanks to eriktorbjorn for reporting these
2021-05-29 21:24:49 +01:00
Strangerke
68f8780a65
TRECISION: return in drawCharacter when _flagShowCharacter is false, rename a couple of variables and initialize a couple of others
2021-05-29 21:24:48 +01:00
Strangerke
0f1640eb92
TRECISION: Fix some uninitialized values
2021-05-29 21:24:47 +01:00
Strangerke
b31272d9a9
TRECISION: Remove some unused includes
2021-05-29 21:24:47 +01:00
Filippos Karapetis
b55a9c12e4
TRECISION: Fix Codacy issues
2021-05-29 21:24:45 +01:00
Filippos Karapetis
6fe9b587ac
TRECISION: Move resource loading code inside resource.cpp
2021-05-29 21:24:43 +01:00
Filippos Karapetis
408a0d4260
TRECISION: Move data file checking inside the game detection entries
2021-05-29 21:24:43 +01:00
Filippos Karapetis
dbf5f5c0f8
TRECISION: Move class member initialization inside each class
...
Also, move some class members in the classes that actually use them
2021-05-29 21:24:43 +01:00
Filippos Karapetis
5b077727e5
TRECISION: Move font drawing inside GraphicsManager
2021-05-29 21:24:43 +01:00