Commit graph

801 commits

Author SHA1 Message Date
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
SupSuper
b84814cd34 TRECISION: Clean up warnings 2021-06-30 09:36:17 +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
Strangerke
11ceeeebf7 TRECISION: Change the signature of characterTalk 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
95cec50195 TRECISION: Don't refresh objs outside of the current room - bug #12625 2021-06-20 17:04:01 +03:00
Filippos Karapetis
7ebd9c9558 TRECISION: Janitorial - use unified naming for loop variables 2021-06-20 17:04:01 +03:00
Filippos Karapetis
76dfe88b9a TRECISION: Mark the video frame calculation fix as a workaround 2021-06-20 01:38:25 +03:00
D G Turner
3d6cdf3e7d TRECISION: Fix GCC Signed vs. Unsigned Comparison Warning 2021-06-19 16:03:53 +01:00
Filippos Karapetis
84d00f364a TRECISION: Fix playing videos without choices - bug #12622 2021-06-19 12:18:42 +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
df607c7f8d TRECISION: Fix action animation rects - bugs #12629, #12639, #12640 2021-06-16 22:54:26 +03: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
18779bb156 TRECISION: Fix room snapshots in the positioner interface - bug #12638 2021-06-16 02:37:44 +03:00
Filippos Karapetis
2e78933b46 TRECISION: Use ABS() instead of fabs()
Let's be absolute, vol. 2
2021-06-16 01:18:52 +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
SupSuper
8502cbd702 TRECISION: Let us be absolute 2021-06-15 13:21:33 +01:00
Filippos Karapetis
8143cb9efe TRECISION: Fix loading the last file of animation bundles - bug #12642
Fixes crash when sending the inflated gloves through the prison window
2021-06-15 14:47:05 +03:00
Filippos Karapetis
097a948423 TRECISION: Continue if a sound can't be found - bug #12633
Fixes crash when entering code in the security panel in the terrorists'
hideout
2021-06-14 04:12:46 +03:00
Filippos Karapetis
039cf08f4f TRECISION: Fix drawing frames from disabled animations - bugs #12624, #12626
Fixes the chain shown incorrectly when entering the platforms and the
shopkeeper's wife appearing frozen after she's left the storeroom
2021-06-14 03:56:13 +03:00
Filippos Karapetis
a40a796b9e TRECISION: Add toggle_object command 2021-06-14 03:56:13 +03:00
SupSuper
184a2ca56b TRECISION: Add Nightlong Hungarian fan-translation 2021-06-12 20:34:47 +01: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
ea11955b4e TRECISION: Fix entering some rooms - bug #12627 2021-06-12 20:58:29 +03:00
Filippos Karapetis
03926135be TRECISION: Rename a variable 2021-06-12 20:58:29 +03:00
Filippos Karapetis
d0aee114cd TRECISION: Add a "position" command 2021-06-12 20:58:28 +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
2b308727ee TRECISION: Rename the filedump dumpfile, add a dumpanim command 2021-06-12 01:19:48 +03:00
SupSuper
2caa965b30 TRECISION: Fix subtitle crash
SDText::calcHeight uses _rect so we have to reset it one at a time
2021-06-11 23:15:31 +01:00
Filippos Karapetis
0effa2f103 TRECISION: Make _sortTableReplay private 2021-06-12 00:05:28 +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
a8882c9478 TRECISION: Fix Joshua's action after combining inventory items
A regression from d334bb3cb8
2021-06-11 23:19:11 +03:00
SupSuper
03fae0e5d1 TRECISION: Enable Nightlong testing 2021-06-11 14:47:31 +01:00
Filippos Karapetis
e6955a5853 TRECISION: Move _actorPos and _forcedActorPos into PathFinding3D 2021-06-10 02:06:32 +03:00
Filippos Karapetis
863a9260cf TRECISION: Fix inventory item description when opening the inventory 2021-06-10 02:05:07 +03:00
Strangerke
92f9cf81cf TRECISION: Merge two levels of 'if' in LogicManager 2021-06-09 08:15:05 +01:00
Strangerke
6bb213c385 TRECISION: Reduce some variable scopes in textureTriangle() 2021-06-09 07:54:28 +01:00
Strangerke
1cdfa93e83 TRECISION: Reorder initializations in constructor to match declaration, change decompress() signature to use uint8 instead of unsigned char 2021-06-09 07:41:42 +01:00
Strangerke
60bf6d659a TRECISION: Reduce some variable scopes in Actor 2021-06-09 07:40:27 +01:00
Filippos Karapetis
7f9137cbf8 TRECISION: Cleanup includes 2021-06-09 02:54:06 +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
d721ecceea TRECISION: Draw video subtitles correctly
A regression from 6ce7d3a985
2021-06-09 01:49:14 +03:00
Filippos Karapetis
3e4918cbbb TRECISION: Replace updatePixelFormat() with convertToScreenFormat() 2021-06-09 01:49:13 +03:00