75351 Commits

Author SHA1 Message Date
Eugene Sandulenko
2b3af190db GRAPHICS: Fix potential rounding errors in the h/v thick line drawing 2016-08-25 12:18:11 +02:00
Filippos Karapetis
102fe0be9f GRAPHICS: Fix discrepancy in the thick line drawing function
The shortcuts for horizontal and vertical lines should draw the extra
thickness pixels around the line, not below it or to the right
2016-08-25 11:57:08 +03:00
Eugene Sandulenko
a5b97a989c DIRECTOR: Fix numerous crashes on destruction 2016-08-25 10:22:20 +02:00
Eugene Sandulenko
03cf470082 FULLPIPE: Fix if() condition 2016-08-25 09:14:47 +02:00
Eugene Sandulenko
5a6428aac2 FULLPIPE: Restore original tangled logic in stopAnim_maybe
The compiler was super-optimizing there, and my initial untangling
was incorrect. Restoring it with nasty goto's and will fix it later
once we have enough test cases.
2016-08-25 09:10:32 +02:00
Eugene Sandulenko
8a3ee2261d DIRECTOR: Remove now redundant image width correction table 2016-08-25 08:19:05 +02:00
Paul Gilbert
58df8d72f0 TITANIC: Implemented CBedhead class 2016-08-24 23:40:02 -04:00
Paul Gilbert
25e977f81d TITANIC: Compilation fix for CMissiveOMat 2016-08-24 21:33:42 -04:00
Paul Gilbert
e81e3aefde TITANIC: Implemented CMissiveOMat class 2016-08-24 21:20:03 -04:00
Paul Gilbert
456ed17671 DEVTOOLS: Add MissiveOMat message data to create_titanic 2016-08-24 21:19:37 -04:00
Willem Jan Palenstijn
866f0a6257 DIRECTOR: Clean up padding in image decoding 2016-08-25 02:59:52 +02:00
Willem Jan Palenstijn
6890948f74 DIRECTOR: Improve decoding compressed images 2016-08-25 02:46:08 +02:00
Willem Jan Palenstijn
224704ec88 DIRECTOR: Try to simplify uncompressed detection heuristic 2016-08-25 01:32:12 +02:00
Eugene Sandulenko
3f1f3c5c1e DIRECTOR: More heuristics for 1bpp image decoding. Courtesy of wjp. 2016-08-25 01:16:03 +02:00
Paul Gilbert
e733f8113f TITANIC: Implemented more game classes 2016-08-24 18:42:32 -04:00
Eugene Sandulenko
faf52df065 DIRECTOR: Fix horizontal coordinate calculation in 1bpp uncompressed 2016-08-24 23:24:07 +02:00
Eugene Sandulenko
381e8fc51d WAGE: Fix think line drawing, as pointed by md5 2016-08-24 23:23:47 +02:00
Eugene Sandulenko
35243a235a DIRECTOR: Implemented uncompressed 1bpp pictures. Works sometimes 2016-08-24 22:40:35 +02:00
Colin Snover
71294a8a98 SCI32: Remove extra ! in error message 2016-08-24 15:23:30 -05:00
Colin Snover
64f4ad4ad5 SCI32: Fix incorrect boolean operator 2016-08-24 15:22:55 -05:00
Colin Snover
1b6ea78216 SCI32: Remove error check for negative celNo
Negative cel numbers are exploited by at least the hi-res mode of
PQ4CD.
2016-08-24 15:21:42 -05:00
Walter van Niftrik
e228b088c6 ADL: Set hires #1, #2 and #0 to TESTING 2016-08-24 21:05:22 +02:00
Retro-Junk
1111b24eea FULLPIPE: Fix direction calculation in MctlGraph::getLinkDir 2016-08-24 20:43:22 +02:00
Filippos Karapetis
380902eb07 SCI32: Add workarounds for a bug in Torin, in an animation of Lycentia 2016-08-24 11:57:08 +03:00
Torbjörn Andersson
796c40dc59 DIRECTOR: Add more width corrections for Apartment demo
These are the widths for the taxi. 1110 doesn't actually need a
correction to be drawn right, but 96 makes more sense than 90 if I
decode the image by hand. It may be worth noting that all three
sprite widths are multiples of 8, and that one of them was already
a multiple of 8, but I still needed to add 8 to it.

(This would suggest that w = (w & ~7) + 8 would yield the correct
width for everything, except it doesn't so scratch that idea.)
2016-08-24 07:00:39 +02:00
Paul Gilbert
3a20dca0cb TITANIC: Implemented more game classes 2016-08-23 21:46:04 -04:00
Walter van Niftrik
3d558fe6ca ADL: Make the optional scanlines less harsh 2016-08-24 01:04:37 +02:00
Eugene Sandulenko
754907f408 DIRECTOR: Gather statistic on correct bitmap sizes 2016-08-24 00:12:59 +02:00
Eugene Sandulenko
1bbbb14b30 DIRECTOR: Added test D3 target 2016-08-23 19:13:21 +02:00
Eugene Sandulenko
dbf2876b70 DIRECTOR: Further reduction of include dependency 2016-08-23 19:13:21 +02:00
Eugene Sandulenko
3d6d6fa2dd DIRECTOR: Reduce header dependency 2016-08-23 19:13:21 +02:00
Filippos Karapetis
511d9f1e40 SCI32: Fix crash in Torin, chapter 4, catapult scene (via ScreenItem)
loopNo/celNo are set to unsigned integers in ScreenItem::setFromObject
in SSCI, thus their value will be adjusted when it's negative, like in
this case
2016-08-23 15:52:54 +03:00
Paul Gilbert
a26a3d4338 TITANIC: Implemented CLift class 2016-08-23 07:40:14 -04:00
Filippos Karapetis
14f163bad1 SCI32: Allow kListAt to reference an empty list
Happens in Torin when examining Di's locket in chapter 3
2016-08-23 14:26:59 +03:00
Filippos Karapetis
d15660e70d SCI32: Add a workaround for an uninitialized variable in Torin 2016-08-23 14:06:39 +03:00
Filippos Karapetis
6929cc65f8 SCI32: Explicitly abord kEachElementDo when a game is being loaded
This is a better check than the one in commit 3d1f1a3a21
2016-08-23 13:08:37 +03:00
Filippos Karapetis
6ce472a12a SCI32: Update the SCI2/SCI2.1 games that use global 90 for speech/subs 2016-08-23 12:22:27 +03:00
Filippos Karapetis
3d1f1a3a21 SCI32: Fix restoring games from Torin's game restore dialog
The list in kListEachElementDo may be invalidated after a
selector invocation
2016-08-23 11:36:38 +03:00
Filippos Karapetis
cd00132d23 SCI32: Also handle game checks for "torinsg.cat" in Torin
This shows the "Open..." button when continuing a game
2016-08-23 11:36:37 +03:00
Eugene Sandulenko
f8483d2dab DIRECTOR: Split score.cpp file into classes 2016-08-23 09:41:00 +02:00
Eugene Sandulenko
812a43d559 DIRECTOR: Fix memory overwrite 2016-08-23 08:15:13 +02:00
Filippos Karapetis
1c19029c58 SCI32: Fix palette in SCI32 Mac games 2016-08-23 05:18:42 +03:00
Paul Gilbert
df3e545976 TITANIC: Implemented more game classes 2016-08-22 21:52:29 -04:00
Paul Gilbert
2822fb5811 TITANIC: Compilation fix 2016-08-22 20:47:14 -04:00
Paul Gilbert
8b3829549a TITANIC: Cleanup of engine references 2016-08-22 20:22:41 -04:00
Paul Gilbert
65bc8cb83c TITANIC: Implemented more game classes 2016-08-22 19:25:36 -04:00
Filippos Karapetis
f238ed18ec SCI: Fix compilation when SCI32 is not enabled 2016-08-23 01:48:06 +03:00
Walter van Niftrik
0470346ac0 ADL: Add initial support for #0: Mission Asteroid
Based on a patch by fuzzie
2016-08-23 00:36:38 +02:00
Retro-Junk
c5828a41f4 FULLPIPE: Inverse search mode behavior in MctlGraph::getHitNode 2016-08-22 22:22:00 +02:00
Retro-Junk
cb5bf0796e FULLPIPE: Fix always false condition check in MctlGraph::generateList 2016-08-22 22:21:49 +02:00