yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
compress.cc
Go to the documentation of this file.
1#include "cli/command.h"
2
3namespace yaze {
4namespace cli {
5
6absl::Status Compress::handle(const std::vector<std::string>& arg_vec) {
7 std::cout << "Compress selected with argument: " << arg_vec[0] << std::endl;
8 return absl::OkStatus();
9}
10
11absl::Status Decompress::handle(const std::vector<std::string>& arg_vec) {
14 std::cout << "Please specify the tilesheets you want to export\n";
15 std::cout << "You can input an individual sheet, a range X-Y, or comma "
16 "separate values.\n\n";
17 std::cout << underline << "Tilesheets\n" << reset;
18 std::cout << "0-112 -> compressed 3bpp bgr \n";
19 std::cout << "113-114 -> compressed 2bpp\n";
20 std::cout << "115-126 -> uncompressed 3bpp sprites\n";
21 std::cout << "127-217 -> compressed 3bpp sprites\n";
22 std::cout << "218-222 -> compressed 2bpp\n";
23
24 std::cout << "Enter tilesheets: ";
25 std::string sheet_input;
26 std::cin >> sheet_input;
27
28 std::cout << "Decompress selected with argument: " << arg_vec[0] << std::endl;
29 return absl::UnimplementedError("Decompress not implemented");
30}
31
32} // namespace cli
33} // namespace yaze
absl::Status handle(const std::vector< std::string > &arg_vec) override
Definition compress.cc:6
absl::Status handle(const std::vector< std::string > &arg_vec) override
Definition compress.cc:11
@ FG_RESET
Definition command.h:37
@ FG_UNDERLINE
Definition command.h:38
Definition common.cc:21