Commit Graph
44 Commits
Author SHA1 Message Date
Eugene Sandulenko c03149d87f DIRECTOR: Blit images directly to 32-bit in 32bpp mode 2020-08-15 14:50:26 +02:00
Eugene Sandulenko 5c06d5402d DIRECTOR: More work on 32bpp rendering 2020-08-14 23:54:16 +02:00
Eugene Sandulenko e5e82d4cf6 DIRECTOR: Copy over PixelFormat from the WM for simpler access 2020-08-14 10:47:33 +02:00
Nathanael Gentry a49feca451 DIRECTOR: Properly set image tail length 2020-08-10 14:46:23 -04:00
jepael 1334292a62 DIRECTOR: Fix compiler warning 2020-06-15 01:14:14 +02:00
Scott Percival c94208cc27 DIRECTOR: Fix typo in compression size calculation 2020-06-15 00:15:33 +08:00
Scott Percival b3962f9501 DIRECTOR: Fix bitmap compression detection 2020-06-15 00:04:09 +08:00
Matthew Duggan 818e681746 IMAGE: Add support for Crusader: No Remorse movie decoding
The movies for Crusader: No Remorse have a unique decoder which is not too hard
to implement.  Unfortunately, they don't properly implement the "compression"
FourCC, and instead put their ID in the "Stream Handler".  Since supporting
them requires a change to the existing Image API, I thought I should make a
pull request for comments.

With this change, the movies in Crusader can all be played nicely.
2020-05-11 07:54:24 +02:00
Eugene Sandulenko 278c6c809e DIRECTOR: Fix crash on optimized out 32-bpp pictures
They still are not rendered correctly
2020-04-11 13:04:30 +02:00
Eugene Sandulenko a456938dab DIRECTOR: Fix code formatting 2020-04-11 13:00:55 +02:00
stevenhoefel 40501547f4 DIRECTOR: Extend Reverse Sprite drawing for shapes and controls.
Translate 32-bit images into palette-based sprites.
2020-04-10 22:38:12 +10:00
Eugene Sandulenko 1b4226ce90 DIRECTOR: Plugged memory leak it BITDDecoder 2020-04-02 13:58:04 +02:00
Roland van Laar 124b9ecc31 DIRECTOR: transformColor in non _vm places
- future proofing transformColor by using an uint32 instead of a byte
- handling cases where there is no reference to _vm by using
g_director->.
2020-03-21 14:45:08 +01:00
jepael 82e0a09610 DIRECTOR: Fix compiler warning 2020-01-29 22:57:32 +01:00
Eugene Sandulenko 7913684285 DIRECTOR: Fix regression in BITD image parsing 2020-01-23 15:03:25 +01:00
Eugene Sandulenko 54f42fb532 DIRECTOR: Added sanity check for reading BITD images 2020-01-20 23:16:11 +01:00
Eugene Sandulenko 046c1fc1c7 DIRECTOR: Plug memory leak 2020-01-06 13:24:02 +01:00
Eugene Sandulenko 7989d65b26 DIRECTOR: Add sanity check to BITDDecoder 2019-12-31 17:06:03 +01:00
Eugene Sandulenko 42dc7451ad DIRECTOR: Fix out-of-bounds write 2019-12-31 16:37:51 +01:00
Eugene Sandulenko cb95bb4dec DIRECTOR: Remove redundant code 2019-12-24 18:22:43 +01:00
Eugene Sandulenko 1e6ec8f3ac DIRECTOR: Finish work on reducing header dependency 2019-12-24 00:42:30 +01:00
Eugene Sandulenko b21b29a2f6 DIRECTOR: Further simplification of include dependencies 2019-12-24 00:19:27 +01:00
Scott Percival 3096a91c12 DIRECTOR: extract image pitch from BitmapCast 2019-11-17 22:31:54 +01:00
D G Turner 80522f1187 DIRECTOR: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-17 21:43:00 +01:00
Eugene Sandulenko 748878bf6b DIRECTOR: Hid noisy debug output 2017-02-14 18:57:53 +01:00
Eugene Sandulenko eafa56daf0 JANITORIAL: Formatting fixes 2017-02-11 23:23:56 +01:00
stevenhoefel 9cb400e05c DIRECTOR: Style fixes plus 1/8bpp corrections. 2017-01-13 22:39:58 +11:00
Eugene Sandulenko 72c676b0be DIRECTOR: Fix compiler warnings 2017-01-13 08:32:31 +01:00
stevenhoefel ef295bfd1d DIRECTOR: D4 image loading based on BPP. 2017-01-13 15:32:00 +11:00
stevenhoefel 41ee83e3f0 DIRECTOR: D4 Image Decoding, Buttons, Text, Shapes. 2017-01-09 00:05:06 +01:00
Eugene Sandulenko 1f2be2bb40 DIRECTOR: Plug memory leak 2016-11-10 23:03:51 +01:00
Willem Jan Palenstijn cfdbe40a5b DIRECTOR: Clean up BITDDecoder compression check 2016-08-26 22:26:32 +02:00
Willem Jan Palenstijn 866f0a6257 DIRECTOR: Clean up padding in image decoding 2016-08-25 02:59:52 +02:00
Eugene Sandulenko 3f1f3c5c1e DIRECTOR: More heuristics for 1bpp image decoding. Courtesy of wjp. 2016-08-25 01:16:03 +02:00
Eugene Sandulenko faf52df065 DIRECTOR: Fix horizontal coordinate calculation in 1bpp uncompressed 2016-08-24 23:24:07 +02:00
Eugene Sandulenko 35243a235a DIRECTOR: Implemented uncompressed 1bpp pictures. Works sometimes 2016-08-24 22:40:35 +02:00
Eugene Sandulenko 754907f408 DIRECTOR: Gather statistic on correct bitmap sizes 2016-08-24 00:12:59 +02:00
Eugene Sandulenko dbf2876b70 DIRECTOR: Further reduction of include dependency 2016-08-23 19:13:21 +02:00
Eugene Sandulenko 812a43d559 DIRECTOR: Fix memory overwrite 2016-08-23 08:15:13 +02:00
Eugene Sandulenko eca3ef76e6 DIRECTOR: Improvements to 1bpp image rendering 2016-08-22 19:16:43 +02:00
Eugene Sandulenko fdb451baca DIRECTOR: Improvements to the BITD rendering 2016-08-22 09:51:56 +02:00
Eugene Sandulenko 4b51844e52 DIRECTOR: RLE variant of 1bpp decoder. Better, but still not there 2016-08-21 23:36:25 +02:00
Eugene Sandulenko f1b25497d1 DIRECTOR: Naive implementation for 1bpp image decoder. Not yet working 2016-08-21 11:24:11 +02:00
Eugene Sandulenko 79995f6222 DIRECTOR: Stub for 1bpp bitmap decoder 2016-08-21 11:24:11 +02:00