Commit Graph

  • b4dadd35b6 Use an iterator zip ISSOtm 2022-05-21 10:41:56 +02:00
  • d9b1402ef8 Fix RGBGFX number parsing ISSOtm 2022-05-21 10:25:22 +02:00
  • 832e0ec972 Report position in color errors ISSOtm 2022-05-20 20:13:46 +02:00
  • caaf7a8444 Test VRA0 size as well in randtilegen tests ISSOtm 2022-05-20 18:37:11 +02:00
  • a5ed0292b1 Reject colors with ambiguous alpha channel ISSOtm 2022-05-20 18:27:54 +02:00
  • 05e36767b0 Implement "palette map" output ISSOtm 2022-05-20 09:30:35 +02:00
  • 531092f5bd Add corrupted PNGs to check error handling ISSOtm 2022-05-14 22:27:14 +02:00
  • 4c51792f15 Allow testing RGBGFX with specific images as input ISSOtm 2022-05-14 22:05:20 +02:00
  • c4359c1058 Ignore -b and -N when reversing without tilemap ISSOtm 2022-05-07 16:42:58 +02:00
  • 159efe1257 Transfer test programs as well for cross-testing ISSOtm 2022-05-05 18:51:36 +02:00
  • 3cfe7800c7 Make randtilegen and rgbgfx_test compile with MSVC ISSOtm 2022-04-30 20:37:46 +02:00
  • 01cf0c5f98 Print RGBGFX test names ISSOtm 2022-05-01 15:31:56 +02:00
  • 0dbcebfeb4 Have CMake build and install steps be verbose ISSOtm 2022-05-01 13:05:00 +02:00
  • 491b6746ab Clean RGBGFX test programs with make clean ISSOtm 2022-05-01 11:20:17 +02:00
  • cbf6fadcdb Add RGBGFX tests ISSOtm 2022-04-25 09:39:30 +02:00
  • a77b0b396a Fix grayscale sorting not setting palette size ISSOtm 2022-04-25 02:22:22 +02:00
  • 568fb5e4c8 Only report "fusing" different colors once per pair ISSOtm 2022-04-24 19:10:31 +02:00
  • 82012f698e Fix alpha channel checking in RGBGFX test driver ISSOtm 2022-04-24 17:32:40 +02:00
  • 57ac07b03e Correctly handle fully-transparent tiles when outputting unoptimized tilemap ISSOtm 2022-04-24 17:15:27 +02:00
  • c521233499 Fix ProtoPalette::compare ISSOtm 2022-04-24 16:43:29 +02:00
  • bf869f6961 Fix memory leak in test driver program ISSOtm 2022-04-24 15:26:26 +02:00
  • 0f8cbb1faf Generate all necessary files for RGBGFX tests ISSOtm 2022-04-24 15:25:10 +02:00
  • fcce42d3d2 Avoid sorting proto-palettes breaking mappings ISSOtm 2022-04-24 15:03:27 +02:00
  • ed104a9f70 Add rgbgfx test program Eievui 2022-04-16 18:21:17 -04:00
  • f5d4126303 Report when an input "tile" contains too many colors ISSOtm 2022-04-24 13:21:37 +02:00
  • 78e751f022 Fix reading interlaced PNGs ISSOtm 2022-04-24 13:20:31 +02:00
  • d569c6392c Avoid initializing the PNG row ISSOtm 2022-04-24 13:19:18 +02:00
  • 75b9d48990 Make randtilegen report the file names it fails to open ISSOtm 2022-04-24 13:17:03 +02:00
  • 3aabe9c799 Move randtilegen to test/gfx subdir ISSOtm 2022-04-24 13:13:17 +02:00
  • 5be2b96b40 Remove incorrect check for reversed image width ISSOtm 2022-04-17 00:32:56 +02:00
  • 7fdfbbbbba Fix inverted condition in tile dedup warning ISSOtm 2022-04-16 23:53:42 +02:00
  • 7fdc6cbced Fix erroneous tabs in rgbgfx usage text ISSOtm 2022-04-16 00:08:37 +02:00
  • 56115653ef Include cross-ref link to at-files where mentioned ISSOtm 2022-04-14 21:59:33 +02:00
  • 7927dfd2e3 Remove negative values in parseNumber checking ISSOtm 2022-04-14 21:34:55 +02:00
  • b1aec91912 Assert that row size is not null ISSOtm 2022-04-14 21:23:23 +02:00
  • 7defaad9d2 Remove placeholder palette output format from -p ISSOtm 2022-04-13 19:06:22 +02:00
  • dc9185e50b Make output format descriptions more succinct and link to Pan Docs ISSOtm 2022-04-13 09:29:38 +02:00
  • 02d957278d Document output formats ISSOtm 2022-04-13 01:05:37 +02:00
  • 6feb1fb73a Retire -f ISSOtm 2022-04-12 23:55:10 +02:00
  • dc67f152a9 Document accepted external palette formats ISSOtm 2022-04-12 23:47:49 +02:00
  • 913c3dd711 Accept both colons and semicolons in inline pal spec ISSOtm 2022-04-12 23:47:32 +02:00
  • 32242e0ff2 Switch from colon separators to semicolon ISSOtm 2022-04-10 18:04:36 +02:00
  • 91071009a8 Implement some external palette specs ISSOtm 2022-04-09 15:58:25 +02:00
  • 1da884db15 Handle processing errors appropriately ISSOtm 2022-04-09 13:54:21 +02:00
  • ef473de75a Explicitly error out if no input image is given ISSOtm 2022-04-09 13:53:13 +02:00
  • 6b0cab32a6 Implement inline palette spec parsing ISSOtm 2022-04-09 13:47:38 +02:00
  • cc27169ecd Implement preliminary version of "reverse" feature ISSOtm 2022-03-27 20:21:00 +02:00
  • 843022772b Clean up randtilegen ISSOtm 2022-03-27 15:37:38 +02:00
  • 75f8b16f33 Implement "at-files" for RGBGFX ISSOtm 2022-03-27 13:53:08 +02:00
  • 188027bccc Rename convert to process ISSOtm 2022-03-22 18:42:33 +01:00
  • 79adcdb7ea Ignore tested sub-projects ISSOtm 2022-03-22 18:41:17 +01:00
  • 8ed65078da Import fixes to random image generator ISSOtm 2022-03-22 18:38:23 +01:00
  • 7311fc9ef8 Fix transparency handling ISSOtm 2022-03-22 18:37:58 +01:00
  • 7d54145e56 Record "seed" when generating images as well ISSOtm 2022-03-19 13:20:15 +01:00
  • e753b62d1a Add program by @aaaaaa123456789 to generate RGBGFX-able images ISSOtm 2022-03-19 12:08:51 +01:00
  • 6ed220b4c1 Make some style corrections ISSOtm 2022-03-14 21:31:46 +01:00
  • e49fb457ea Factor out row bitplanes extraction into a common function ISSOtm 2022-03-13 18:39:53 +01:00
  • 3c9d5b05d6 Implement transparency handling ISSOtm 2022-03-13 11:28:20 +01:00
  • e86eb9337a Check the range of the CLI-specified palette size ISSOtm 2022-03-13 11:02:31 +01:00
  • b0f8e04fb7 Do not do anything if option parsing goes wrong ISSOtm 2022-03-12 22:37:14 +01:00
  • 493b94919f Fix -TAP being non-functional ISSOtm 2022-03-12 20:52:05 +01:00
  • 71e22f3bfe Correct "is this palette empty?" function ISSOtm 2022-03-12 18:56:46 +01:00
  • ac02382632 Clean up palette packing a bit ISSOtm 2022-03-12 18:55:10 +01:00
  • 943d631701 Implement max palette count ISSOtm 2022-03-12 17:19:54 +01:00
  • d2f9cc7e8c Document accepted number formats ISSOtm 2022-03-12 14:23:21 +01:00
  • 76bb950be5 Parse bank capacities ISSOtm 2022-03-12 14:02:13 +01:00
  • f29c5d81ec Provide a per-option sane default when number parsing fails ISSOtm 2022-03-12 13:40:31 +01:00
  • 2307981878 Parse base tile IDs ISSOtm 2022-03-12 13:36:57 +01:00
  • 6bab2ea5c8 Add different verbosity levels ISSOtm 2022-03-12 13:03:08 +01:00
  • 35e57a55c9 Handle base tile IDs in "optimized" output ISSOtm 2022-03-12 11:38:56 +01:00
  • 21e9a65f0b Remove old C headers ISSOtm 2022-03-12 10:25:07 +01:00
  • 779c8c9368 Implement -m ISSOtm 2022-03-12 02:06:03 +01:00
  • e855b6f622 Include libstdc++-6.dll in 32-bit MinGW build ISSOtm 2022-03-10 21:24:34 +01:00
  • 3b1808cc8f Fix Windows-breaking use of struct vs class ISSOtm 2022-03-10 21:01:55 +01:00
  • 71cb2854e8 Use cinttypes instead of inttypes.h ISSOtm 2022-03-10 00:56:55 +01:00
  • 2099a25ee0 Avoid using transform_reduce ISSOtm 2022-03-10 00:51:53 +01:00
  • b9de65c9a2 Set C++ compiler in CI as well ISSOtm 2022-03-10 00:37:16 +01:00
  • c82cce6d95 Explicitly specify queue template param ISSOtm 2022-03-09 23:58:54 +01:00
  • 97965c9766 Revamp number parsing and remove <charconv> ISSOtm 2022-03-09 23:24:56 +01:00
  • 5efc49cb12 Change UseTab to ForIndentation ISSOtm 2022-03-09 21:43:36 +01:00
  • c4361b965c Remove <filesystem> ISSOtm 2022-03-09 09:35:46 +01:00
  • 8d00a61602 Flesh out man page ISSOtm 2022-03-09 09:03:04 +01:00
  • 20442c8a43 Add compatibility hack for unused colors in indexed PNGs ISSOtm 2022-03-09 00:00:07 +01:00
  • b95c26c886 Fully implement decanting step ISSOtm 2022-03-07 23:01:31 +01:00
  • a96aa1725f Optimize AssignedProtos::empty() to stop early ISSOtm 2022-03-07 22:58:50 +01:00
  • 3d79f76e41 Avoid calling skipEmpty() for AssignedProtos::end() ISSOtm 2022-03-07 22:51:47 +01:00
  • fdfedc45a6 Allow computing the combined weight of any proto-palette set ISSOtm 2022-03-07 22:44:41 +01:00
  • c98d92a4c4 Implement -C ISSOtm 2022-03-06 13:35:19 +01:00
  • d438838db4 Correctly handle "multiple" overlap between proto-palettes ISSOtm 2022-03-06 12:46:22 +01:00
  • d675523e49 Skip initializing the PNG pixel array ISSOtm 2022-03-06 10:44:16 +01:00
  • ad07c9deb9 Implement (stub) handling for all options ISSOtm 2022-03-05 21:44:07 +01:00
  • bf9f99ebf5 Reorder Options members by usage order ISSOtm 2022-03-05 21:28:45 +01:00
  • f0eca86c52 Update checkdiff to check for gfx/main.cpp ISSOtm 2022-03-05 11:43:40 +01:00
  • e8d8ae4c78 Print all configuration on verbose startup ISSOtm 2022-03-05 10:34:40 +01:00
  • 0cc62824b9 Use MinGW C++ compiler as well ISSOtm 2022-03-05 02:52:22 +01:00
  • 2fb1eb9136 Print file paths in a platform-independent way ISSOtm 2022-03-05 02:26:32 +01:00
  • bde380f38b Fix unchecked narrowing conversion of tile IDs ISSOtm 2022-03-05 02:13:27 +01:00
  • 38e8024ffa Add missing return type for unreachable_() ISSOtm 2022-03-05 02:10:35 +01:00
  • 3bd6078537 Tag AssignedProtos iterator as forward ISSOtm 2022-03-05 01:59:34 +01:00
  • 5409d0d15a Add missing header for strcasecmp ISSOtm 2022-03-05 01:50:27 +01:00