Commit Graph
3 Commits
Author SHA1 Message Date
Gymnasiast 0833b474c4 Always set G1Flag::hasTransparency (bit 0) when importing an image
RCT1/2 always set this flag when an entry is an image of any sort (as opposed to a palette entry). It may be misnamed, as both regular and compressed/"RLE" images support transparency.

This modifies a single bit in the example.dat file, as expected. For convenience:

2c2
< 00000010: 0000 0000 0400 0000 0001 0501 0a01 0f01  ................
---
> 00000010: 0000 0000 0500 0000 0001 0501 0a01 0f01  ................
2026-06-24 12:34:04 +02:00
812ea151bb Fix duplicate RGB colours in palette (#18299)
* Remove duplicate RGB colours from palette

* Update hash

* Update reference dat file

---------

Co-authored-by: Spacek531 <spacek531@comcast.net>
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-04-16 15:15:26 +01:00
csunday95 51faec5c50 Close #13637: Refactor sprite compiler for filesystem efficiency
- sprite building would save a file with just the sprite file header
   and then immediately open it again at the beginning of compilation
 - sprite file generation is now entirely in memory until the final
   output file is saved on success
 - added validation of no file activity in the failed build test case;
   failed builds will not generate a file or edit an existing one
2020-12-29 13:12:55 +01:00