Commit Graph

38 Commits

Author SHA1 Message Date
scawful
ecac4e5b60 Add new keyboard shortcuts for saving and displaying help; refactor shortcut management 2025-03-09 19:28:10 -04:00
scawful
7b2c919745 Implement shortcut execution logic and update Cut command handling in EditorManager 2025-03-09 18:42:04 -04:00
scawful
02ae11ec9e Add ShortcutManager for handling keyboard shortcuts in the editor 2025-03-09 18:15:16 -04:00
scawful
412e617ce7 Add Load method to editor classes and update corresponding headers 2025-03-08 10:07:18 -05: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
6dfa5d282e Remove unused editor.cc file and clean up related CMake and code files 2025-03-03 18:01:29 -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
scawful
1bc0f07a7e Refactor FlagsMenu to core namespace; remove redundant flags.h file and update references in editor files 2025-01-26 13:20:29 -05:00
scawful
de53ccae21 Refactor ExperimentFlags to FeatureFlags for consistency across the codebase 2025-01-22 13:41:28 -05:00
scawful
50c9223a53 Add hex utility functions and refactor usage in editors 2025-01-22 13:28:21 -05:00
scawful
809282edad remove nonstandard type aliases 2025-01-19 20:16:40 -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
Justin Scofield
fe0dbd3642 Refactor graphics sheet management with singleton class
Refactor the handling of graphics sheets by introducing a singleton class `GraphicsSheetManager`. This centralizes the management of graphics sheets, replacing direct access through the `Rom` object. Key changes include:

- Updated various methods across multiple classes to use `GraphicsSheetManager::GetInstance()` for accessing and manipulating graphics sheets.
- Introduced standalone functions `LoadLinkGraphics`, `LoadAllGraphicsData`, and `SaveAllGraphicsData` for loading and saving graphics data.
- Refactored the `Rom` class to remove methods and member variables related to graphics sheet management.
- Updated `OverworldEditor` to use `std::array` for `maps_bmp_` and added error handling for `std::bad_alloc` exceptions.
- Improved code modularity and error handling throughout the application.
2025-01-04 20:04:00 -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
59e59f8a38 Refactor hex string handling: replace UppercaseHex functions with Hex equivalents 2024-12-30 09:48:19 -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
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
a97487fd2c Refactor EditorManager 2024-08-24 08:38:47 -04:00
scawful
5d10cf4107 Refactor overworld editor to improve code organization and consolidate save logic 2024-08-21 21:21:25 -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
9bbb6c6114 chore: Refactor file_dialog.cc and file_dialog.h to use namespace aliases 2024-08-13 23:56:17 -04:00
scawful
52502dc568 output rom size in hex longlong format 2024-08-10 21:46:08 -04:00
scawful
6dc90ead13 change rom title from c char to std::string 2024-08-10 21:42:09 -04:00
scawful
20289483ab rename MasterEditor to EditorManager 2024-08-10 12:23:28 -04:00