From 083fe662478c2662b7fe11db0d1e839d7a142e36 Mon Sep 17 00:00:00 2001 From: grunt-lucas Date: Fri, 22 Sep 2023 11:50:28 -0700 Subject: [PATCH] TODO updates --- Todo.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Todo.md b/Todo.md index 367d8208..0104c861 100644 --- a/Todo.md +++ b/Todo.md @@ -22,6 +22,7 @@ + attributes / behavior changes + allow user to specify default behavior value using CLI option `-default-behavior` + this option takes a string defined in the behavior header + + also have `-default-terrain-type` and `-default-encounter-type` + More assign algorithms? + Maybe some kind of A*? @@ -31,7 +32,8 @@ + Assignment config discovery + default behavior: look for assign.cfg in the input folder, use those settings + if assign.cfg does not exist, warn the user and run the full assignment param search matrix - + user can supply --save-assign-config option to force porytiles to search for a valid assign param and save it to input folder + + this will be a default-on warning + + user can supply --cache-assign-config option to force porytiles to search for a valid assign param and save it to input folder + we will also need a way to specify config params for the paired primary set when compiling in secondary mode + it is possible (and quite likely) that you will have cases where the primary set needs different params + there should be primary versions of the options: --primary-assign-algo=, etc @@ -77,9 +79,9 @@ + provide a way to input primer tiles to improve algorithm efficiency -+ `-manage-metatiles-with-porymap` skips generation of `metatiles.bin` ++ `-skip-metatile-generation` skips generation of `metatiles.bin` -+ `-manage-attributes-with-porymap` skips generation of `metatile_attributes.bin` ++ `-skip-attribute-generation` skips generation of `metatile_attributes.bin` + `dump-anim-code` command + takes input tiles just like `compile-X` commands @@ -87,9 +89,6 @@ + the C code should be copy-paste-able into `tileset_anims.h/c` and `src/data/tilesets/headers.h` + is it possible to generate the code and insert it automatically? -+ Refactor CLI parsing - + many commands share the same set of options, or slight variations - + `freestanding` mode for compilation + freestanding mode would allow input PNG of any dimension, would only generate a tiles.png and pal files + might be useful for some people who drew a scene they want to tile-ize @@ -99,5 +98,8 @@ + support custom masks and shifts for metatile attributes, see how Porymap does this ++ Refactor CLI parsing + + CXXOpts lib may be helpful here + + Support .ora files (which are just fancy zip files) since GIMP can export layers as .ora + https://github.com/tfussell/miniz-cpp