Add LC_LZ2 Compression library

Refactor ROM class
Editor housekeeping
This commit is contained in:
scawful
2023-07-21 03:44:44 -04:00
parent df8443152b
commit 82dd9dde1b
15 changed files with 646 additions and 504 deletions

View File

@@ -52,13 +52,15 @@ class GraphicsEditor {
absl::Status DrawDecompressedData();
absl::Status DecompressImportData(int size);
absl::Status DecompressSuperDonkey();
int current_offset_ = 0;
int current_size_ = 0;
int current_palette_ = 0;
bool gfx_loaded_ = false;
bool is_open_ = false;
bool super_donkey_ = false;
char file_path_[256];
ROM rom_;
@@ -71,9 +73,10 @@ class GraphicsEditor {
gfx::BitmapTable graphics_bin_;
PaletteEditor palette_editor_;
gfx::SNESPalette palette_;
MemoryEditor memory_editor_;
gfx::SNESPalette palette_;
ImGuiTableFlags gfx_edit_flags = ImGuiTableFlags_Reorderable |
ImGuiTableFlags_Resizable |
ImGuiTableFlags_SizingStretchSame;