Commit graph

115 commits

Author SHA1 Message Date
Le Philousophe
e06e8761f1 TRECISION: Migrate engine to Path 2023-12-24 13:19:25 +01:00
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
SupSuper
ca1b5346cb TRECISION: Fix drawObj condition 2021-07-27 07:03:44 +01:00
Filippos Karapetis
5f98c7c323 TRECISION: Renaming and cleanup 2021-07-03 10:44:49 +03:00
SupSuper
ec4cce58cb TRECISION: Potential fix for BE color issues 2021-07-02 23:00:01 +01:00
D G Turner
ea17d9422a TRECISION: Fix Shadowing Warnings 2021-07-01 06:09:14 +01:00
Strangerke
4001ae8f40 TRECISION: Fix #12623 2021-06-30 13:31:00 +01:00
Filippos Karapetis
a51af7292e TRECISION: Fix regression from da71b6e84e - bug #12645
I mistakenly removed pixel format conversion, so screen formats other
than RGB555 wouldn't work correctly. This commit should fix that
2021-06-30 10:49:57 +03:00
Strangerke
7c0baadc05 TRECISION: rewrite font loading 2021-06-29 22:17:28 +01:00
Filippos Karapetis
78ef45ba0f TRECISION: Group object graphics and mask buffers 2021-06-22 10:37:36 +03:00
Filippos Karapetis
7ebd9c9558 TRECISION: Janitorial - use unified naming for loop variables 2021-06-20 17:04:01 +03:00
Filippos Karapetis
5ddcff361c TRECISION: Improve handling of pixel formats - bug #12645 2021-06-19 11:14:52 +03:00
D G Turner
4d6344e736 TRECISION: Fix GCC Shadowing Warning 2021-06-17 13:03:59 +01:00
Filippos Karapetis
e1868bfd70 TRECISION: Use Common::Rect for the actor rect 2021-06-16 22:41:33 +03:00
Filippos Karapetis
53cb5293ca TRECISION: Remove globals used for drawObj() / eraseObj() 2021-06-16 20:54:17 +03:00
Filippos Karapetis
3297cb2669 TRECISION: Fix incorrect actor dirty rects - bug #12639
Get rid of _actorRect, and reference the last dirty rect to be drawn
directly. Fixes invalid actor dirty rects causing Joshua to be drawn
over his action animations causing them be partially drawn, such as
the animation where Joshua is looking down the well at the castle
2021-06-16 01:18:52 +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
ae859a44ea TRECISION: Move the texture surface inside GraphicsManager
This removes the last code that had direct access to the screen buffer
2021-06-09 02:16:00 +03:00
Filippos Karapetis
3e4918cbbb TRECISION: Replace updatePixelFormat() with convertToScreenFormat() 2021-06-09 01:49:13 +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
937272b3a3 TRECISION: Add a safeguard in dissolve() (Fix Coverity potential issue) 2021-06-08 07:49:15 +01:00
Strangerke
61dc5d353e TRECISION: Change the order of initialization of GraphicsManager to please MSVC, fix missing initialization 2021-06-06 08:40:13 +01:00
SupSuper
f45aefcf2b TRECISION: Move save listing to MetaEngine 2021-06-05 06:24:30 +01:00
SupSuper
4968d87ed0 TRECISION: Fix Amiga data loading 2021-06-04 06:59:26 +01:00
Filippos Karapetis
c78f0496a1 TRECISION: Make some AnimManager fields and functions private 2021-05-31 01:59:15 +03:00
Strangerke
305aea78b1 TRECISION: Fix Dissolve() with safeguards 2021-05-30 23:00:08 +01:00
Filippos Karapetis
e9e601e726 TRECISION: Fix GraphicsManager sanity checks 2021-05-31 00:18:59 +03:00
Strangerke
303e046cc9 TRECISION: Fix a typo in a comment, reduce level of if/then blocks in PathFinding3D 2021-05-30 17:52:24 +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
Filippos Karapetis
b117194994 TRECISION: Disable dissolve() for now, as it writes OOB 2021-05-30 17:37:17 +03:00
Filippos Karapetis
ffcdb3f58d TRECISION: Simplify dissolve() 2021-05-30 17:37:17 +03:00
Filippos Karapetis
4efb1d7f44 TRECISION: Add some sanity checks to GraphicsManager. Some cleanup 2021-05-30 17:37:17 +03:00
SupSuper
c92c1dddad TRECISION: Remove global constructor 2021-05-29 23:54:51 +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
33173bdb67 TRECISION: Move StackText to text.h, rename tcol and scol to improve readability 2021-05-29 21:25:04 +01:00
Strangerke
f9be812688 TRECISION: Remove SDObj, move its fields and functions to GraphicsManager 2021-05-29 21:25:03 +01:00
Strangerke
9674e4892b TRECISION: Some refactoring related to SDObj 2021-05-29 21:25:02 +01:00
Strangerke
63dc1fc7e5 TRECISION: end of inc/dec operand harmonization, fix function comment header format 2021-05-29 21:24:59 +01:00
Strangerke
4e79dc5199 TRECISION: Replace float direct comparisons by a new function 2021-05-29 21:24:56 +01:00
Filippos Karapetis
c147f30ccc TRECISION: Fix crash when opening Ruby's safe 2021-05-29 21:24:55 +01:00
Filippos Karapetis
6b34141e77 TRECISION: Whitespace fixes 2021-05-29 21:24:51 +01:00
Filippos Karapetis
e267361ad9 TRECISION: Fix drawing objects and actors on top of animated backgrounds 2021-05-29 21:24:44 +01:00
Filippos Karapetis
4abd23ffb6 TRECISION: Move surface format conversion inside GraphicsManager 2021-05-29 21:24:44 +01:00
Filippos Karapetis
a5a7d40f42 TRECISION: Move the shadowing pixel code inside GraphicsManager 2021-05-29 21:24:44 +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