Commit Graph

45 Commits

Author SHA1 Message Date
scawful
b012bd1404 Refactor EditorManager to utilize RomSession for improved ROM handling
- Replaced the previous ROM management system with a RomSession structure to encapsulate ROM and editor set data.
- Streamlined the initialization and loading processes for ROMs, reducing memory overhead and improving clarity.
- Updated methods to reference the new RomSession structure, enhancing maintainability and readability.
- Removed unused editor set management code, simplifying the overall architecture of the EditorManager.
2025-08-12 18:42:14 -04:00
scawful
cb2473e656 Refactor LoadAssets method in EditorManager to streamline asset loading 2025-05-05 11:42:37 -04:00
scawful
dcd7a81432 Refactor asset loading in EditorManager to iterate over active editors; streamline loading process for better scalability and maintainability. 2025-04-29 13:38:47 -04:00
scawful
c2a0cd930c Refactor DrawRomSelector method in EditorManager to return absl::Status for improved error handling; update method signature in header file and adjust menu drawing logic accordingly. 2025-04-16 22:34:57 -04:00
scawful
00d30efbf1 Add short name handling for ROMs in Rom class; update EditorManager to use short names in the ROM selector for improved UI clarity. 2025-04-16 17:33:48 -04:00
scawful
42cfb3bcb2 Refactor overworld constructors to accept Rom pointers 2025-04-12 11:27:23 -04:00
scawful
d8826739bf Refactor editor classes to accept a ROM pointer in constructors, enhancing dependency management and initialization across all editor types. 2025-04-11 16:54:47 -04:00
scawful
216ee23f51 Refactor EditorManager to utilize EditorSet for managing multiple editors per ROM, enhance ROM loading and saving processes, and improve popup management integration. 2025-04-11 02:57:50 -04:00
scawful
b6bed9e92e Refactor EditorManager and integrate PopupManager for improved popup handling 2025-04-11 02:56:33 -04:00
scawful
80655313d1 Refactor EditorManager to extract LoadAssets method for improved code organization and readability 2025-03-11 21:26:55 -04:00
scawful
61e35f2819 Implement docking support in the main editor window; enhance editor activation management 2025-03-11 21:05:04 -04:00
scawful
1452d3c381 Add project management features to EditorManager; implement new project, open project, and save project functionalities 2025-03-11 15:44:55 -04:00
scawful
33de8d2c77 Add "Load Last ROM" shortcut and streamline ROM asset loading in EditorManager 2025-03-11 14:04:13 -04:00
scawful
5607ef7702 Refactor Editor and SettingsEditor classes to manage context; update keyboard shortcuts display logic 2025-03-10 11:25:49 -04:00
scawful
ecac4e5b60 Add new keyboard shortcuts for saving and displaying help; refactor shortcut management 2025-03-09 19:28:10 -04:00
scawful
02ae11ec9e Add ShortcutManager for handling keyboard shortcuts in the editor 2025-03-09 18:15:16 -04:00
scawful
bc1701f490 Refactor EditorManager: Update Initialize method signature and streamline active editors initialization; remove unused menu items and related code 2025-03-07 19:10:45 -05:00
scawful
d7692ddddd Enhance EditorManager with new help and demo menus, and refactor existing menu structure 2025-03-03 18:48:31 -05:00
scawful
a28ad9c516 Enhance EditorManager: add assembly and palette editors to the view menu, and improve menu initialization for better readability 2025-02-28 00:48:12 -05:00
scawful
b8d1568b08 Implement menu system: add file and edit menus with recent files support and various actions 2025-02-10 11:51:17 -05:00
scawful
169bd09495 Refactor EditorManager: remove DrawRomMenu method and simplify Close function 2025-02-10 11:50:17 -05:00
Justin Scofield
02a86c41da Refactored EditorManager to consolidate popup drawing methods into a single DrawPopups method and added a DrawMenuBar method. Replaced DrawYazeMenu with DrawHomepage for displaying a welcome message and options for opening a ROM. Introduced a LoadRom method to handle ROM loading and updated related methods to set the current_rom_ pointer. Added settings_editor_ to the list of active editors. 2025-01-05 20:54:02 -05:00
scawful
d3eca0f950 Make ExperimentFlags a singleton, remove inheritance relationships 2024-12-31 18:13:53 -05:00
scawful
5ff7eaa526 Add yaze_config.h for version management and update version check logic 2024-12-31 12:50:14 -05:00
scawful
33dc1983bc Add Rom dependency injection to OverworldEditor 2024-12-31 11:43:33 -05:00
scawful
a8dcfe3d05 Remove dynamic layout code 2024-12-29 09:58:34 -05:00
scawful
e05e7c35db remove app namespace 2024-12-28 21:28:51 -05:00
scawful
21314702e8 Add EditorContext, refactor utils, add system managers 2024-11-19 23:10:23 -05:00
scawful
d664762344 Implement dynamic layout support and enhance window management commands in EditorManager 2024-11-18 14:07:22 -05:00
scawful
731eb456ab Refactor editor includes and update source files for improved organization 2024-11-18 14:05:08 -05:00
scawful
d118857e2e Add keybinding save and load functionality to CommandManager 2024-11-10 09:03:50 -05:00
scawful
ba5c86f0ba Refactor recent files management: consolidate RecentFilesManager into project.h and remove redundant recent_files.h 2024-11-09 20:38:00 -05:00
scawful
0ca27cd35c Refactor EditorManager to improve code consistency and readability by standardizing spacing and updating key press conditions in popups 2024-11-08 00:14:40 -05:00
scawful
46d7dc446e Add CommandManager::ShowWhichKey and include src in build 2024-09-19 20:59:56 -04:00
scawful
374eebfac4 header include cleanup 2024-09-07 09:55:01 -04:00
scawful
2681e46a7b Refactor file paths for extension headers 2024-08-30 02:22:08 -04:00
scawful
205e085a41 add constant manager 2024-08-29 13:08:45 -04:00
scawful
b2b3056ddd Refactor yaze_test 2024-08-24 23:26:50 -04:00
scawful
a97487fd2c Refactor EditorManager 2024-08-24 08:38:47 -04:00
scawful
d85530b14b extensions cleanup 2024-08-20 22:40:14 -04:00
scawful
7b33313281 big cleanup 2024-08-20 22:10:35 -04:00
scawful
e1fda49d91 chore: Refactor EditorManager to improve code organization and readability 2024-08-16 17:06:59 -04:00
scawful
93c1e1b6fa rename cmake files to match namespaces 2024-08-13 20:02:48 -04:00
scawful
9f63a7de67 add ExtensionManager 2024-08-10 14:49:37 -04:00
scawful
20289483ab rename MasterEditor to EditorManager 2024-08-10 12:23:28 -04:00