summary refs log tree commit diff stats
path: root/tools/sprite_dumper/common.h
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-28 16:01:34 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-28 16:01:34 -0500
commit451241bc002efc99f628e399a63bf1b6c29b19c8 (patch)
tree2d85aac40bacdbb91c99f51b9b467e46f9e951c2 /tools/sprite_dumper/common.h
parentb844c6186a108d9b9ffce49950c969e916cf2745 (diff)
downloadtanetane-451241bc002efc99f628e399a63bf1b6c29b19c8.tar.gz
tanetane-451241bc002efc99f628e399a63bf1b6c29b19c8.tar.bz2
tanetane-451241bc002efc99f628e399a63bf1b6c29b19c8.zip
Added option to override palette in tileset_dumper
Useful because the hallucination version of Mixolydia's house is not a separate map, it's just a special palette (which you can dump from the game while it's running in an emulator).
Diffstat (limited to 'tools/sprite_dumper/common.h')
-rw-r--r--tools/sprite_dumper/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sprite_dumper/common.h b/tools/sprite_dumper/common.h index d9fb5da..0c7eefe 100644 --- a/tools/sprite_dumper/common.h +++ b/tools/sprite_dumper/common.h
@@ -154,6 +154,8 @@ public:
154 } 154 }
155 } 155 }
156 156
157 explicit Palette(std::vector<Magick::Color> colors) : colors_(colors) {}
158
157 const std::vector<Magick::Color>& Colors() const { return colors_; } 159 const std::vector<Magick::Color>& Colors() const { return colors_; }
158 160
159private: 161private: