refactor: Simplify card shortcuts and enhance card control in editor
- Removed individual card shortcuts for dungeon and graphics categories to prevent hash table overflow, consolidating functionality into a Card Browser. - Introduced a context-sensitive card control feature that dynamically displays relevant cards based on the active editor. - Updated PaletteEditor to clarify its use of internal tabs instead of separate cards. - Registered multiple cards in MessageEditor and OverworldEditor, improving visibility and management of editor functionalities.
This commit is contained in:
@@ -186,7 +186,11 @@ absl::Status DisplayPalette(gfx::SnesPalette& palette, bool loaded) {
|
||||
return absl::OkStatus();
|
||||
}
|
||||
|
||||
void PaletteEditor::Initialize() {}
|
||||
void PaletteEditor::Initialize() {
|
||||
// PaletteEditor uses tabs within a single window, not separate cards
|
||||
// So we don't register individual cards - the whole editor is one unit
|
||||
printf("[PaletteEditor] No cards to register (uses internal tabs)\n");
|
||||
}
|
||||
|
||||
absl::Status PaletteEditor::Load() {
|
||||
gfx::ScopedTimer timer("PaletteEditor::Load");
|
||||
|
||||
Reference in New Issue
Block a user