From 6fb9691d2e32d29cc2eb50999dddc2da381a86c5 Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Wed, 30 Nov 2016 15:06:10 +0500 Subject: [PATCH 01/19] Added PCC as PCX variation PCC is old PCX-compatible format, which is still occurs. --- src/docio/detect_format.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/docio/detect_format.cpp b/src/docio/detect_format.cpp index 805daba01..043f6a0ca 100644 --- a/src/docio/detect_format.cpp +++ b/src/docio/detect_format.cpp @@ -119,7 +119,8 @@ FileFormat detect_format_by_file_extension(const std::string& filename) if (ext == "pal") return FileFormat::PAL_PALETTE; - if (ext == "pcx") + if (ext == "pcx" || + ext == "pcc") return FileFormat::PCX_IMAGE; if (ext == "anim") From 767976c6bc3e0e1ed53b53a48605710f982242fb Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 30 Nov 2016 10:23:29 -0300 Subject: [PATCH 02/19] Add option to play all frames (ignoring tags) --- data/pref.xml | 2 ++ src/app/commands/cmd_play_animation.cpp | 5 ++-- src/app/ui/ani_controls.cpp | 3 ++- src/app/ui/editor/editor.cpp | 27 +++++++++++++++++--- src/app/ui/editor/editor.h | 6 +++-- src/app/ui/editor/play_state.cpp | 33 ++++++++++++++----------- src/app/ui/editor/play_state.h | 9 ++++++- src/app/ui/preview_editor.cpp | 12 ++++++--- src/app/ui/timeline.cpp | 3 ++- 9 files changed, 72 insertions(+), 28 deletions(-) diff --git a/data/pref.xml b/data/pref.xml index f8a8c1d32..5fac43bdc 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -116,6 +116,7 @@