diff --git a/TODO.md b/TODO.md index f4b456d06..7a55f7b58 100644 --- a/TODO.md +++ b/TODO.md @@ -43,8 +43,17 @@ # Refactoring +* Convert doc::PixelFormat to a enum class +* Add doc::Spec with width/height/channels/ColorMode/ncolors +* Convert doc::LayerIndex -> typedef int doc::layer_t; +* Convert doc::FrameNumber -> typedef int doc::frame_t; +* Replace doc::LayerImage::getCel() with doc::Layer::cel() +* Replace doc::Sprite::getPalette() with doc::Sprite::palette() +* Replace doc::Palette::getEntry() with doc::Palette::entry() +* Remove LayerFolder, replace it with an array of layers +* Add new "level" into Layer class * Refactor src/file/ in several layers. -* Use streams instead of FILEs. +* Use streams instead of FILEs and create load/save tests with streams. * Destroy modules/gui.h. * Convert update_screen_for_document in an event from contexts or something similar. diff --git a/data/pref.xml b/data/pref.xml index 3001d0e30..fcf2c0ac6 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -46,6 +46,12 @@ + + + + + + @@ -116,6 +122,12 @@