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
698b5a43fa
update editors based on namespace changes
2025-01-02 10:16:50 -05:00
scawful
9164fec53f
refactor OverworldEditor: replace ConvertSurfaceToPNG with GetPngData for clipboard image copying
2025-01-01 15:53:59 -05:00
scawful
4a250a35cb
refactor Tile16Editor: improve LoadTile8 method with asynchronous tile data loading
2025-01-01 15:53:42 -05:00
scawful
d3eca0f950
Make ExperimentFlags a singleton, remove inheritance relationships
2024-12-31 18:13:53 -05:00
scawful
daad7a4731
Improve error handling in LoadBinaryGfx by checking palette application status before rendering
2024-12-31 17:40:41 -05:00
scawful
50e4117230
Add entrance names to common header and update usage in OverworldEditor
2024-12-31 16:40:44 -05:00
scawful
d47e8a8387
Remove ImGui input flag and related code from core and editor components
2024-12-31 16:40:24 -05:00
scawful
6d2de44b94
Refactor Overworld blockset types and update related function signatures
2024-12-31 16:40:01 -05:00
scawful
398ba36811
Remove ImGuiFileDialog integration and replace with FileDialogWrapper in assembly and tile editors
2024-12-31 15:47:51 -05:00
scawful
9745e7005c
Remove ImGuiColorTextEdit integration and update includes for TextEditor
2024-12-31 15:25:26 -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
79a16bbefe
mmmm housekeeping
2024-12-30 19:05:16 -05:00
scawful
19deca88ab
Add OverworldEntranceTileTypes and remove EntranceContext boiler plate
2024-12-30 19:04:51 -05:00
scawful
96095969c6
Refactor GfxContext references to use gfx::GfxContext for consistency
2024-12-30 19:04:20 -05:00
scawful
59e59f8a38
Refactor hex string handling: replace UppercaseHex functions with Hex equivalents
2024-12-30 09:48:19 -05:00
scawful
c0bce7fd1c
Fix formatting and clean up namespace declarations in editor and GUI files
2024-12-29 16:45:48 -05:00
scawful
7e470f2b33
remove dungeon namespace
2024-12-29 16:14:20 -05:00
scawful
8cf16906e6
remove overworld namespace
2024-12-29 16:12:53 -05:00
scawful
3fc3e2af43
Refactor OverworldEditor toolset to use gui::AddTableColumn
2024-12-29 16:03:40 -05:00
scawful
17659eccab
Refactor DungeonEditor::RefreshGraphics for improved readability and consistency
2024-12-29 16:02:47 -05:00
scawful
54c170373b
Change Load2BppGraphics to standalone fn, add mutable_data accessor
2024-12-29 09:58:58 -05:00
scawful
a8dcfe3d05
Remove dynamic layout code
2024-12-29 09:58:34 -05:00
scawful
295f512826
Refactor namespace declarations for consistency in command and extension managers
2024-12-28 21:33:53 -05:00
scawful
e05e7c35db
remove app namespace
2024-12-28 21:28:51 -05:00
scawful
07726d90a0
Cleanup MessageEditor
2024-12-28 17:47:33 -05:00
scawful
f752fc0d4a
Cleanup OverworldEditor
2024-12-28 17:17:50 -05:00
scawful
2deb0050be
Refactor EditorContext and system managers for improved clarity and consistency
2024-11-20 09:52:54 -05:00
scawful
21314702e8
Add EditorContext, refactor utils, add system managers
2024-11-19 23:10:23 -05:00
Justin Scofield
0b9f7ee6fa
Refactor includes for improved organization and clarity
2024-11-18 18:01:14 -05:00
scawful
ec85a206b1
Refactor color conversion functions for consistent naming and improved readability
2024-11-18 14:12:46 -05:00
scawful
d664762344
Implement dynamic layout support and enhance window management commands in EditorManager
2024-11-18 14:07:22 -05:00
scawful
f630aa88a2
Refactor command manager and editor includes for improved organization and functionality
2024-11-18 14:05:54 -05:00
scawful
731eb456ab
Refactor editor includes and update source files for improved organization
2024-11-18 14:05:08 -05:00
scawful
b336d14233
Refactor include paths and remove redundant headers in core and editor modules
2024-11-15 23:38:44 -05:00
scawful
e3ed705336
Refactor tab handling in Dungeon and Graphics editors for improved readability
2024-11-13 09:42:54 -05:00
scawful
c306b0d20c
Fix tile16 editing for dungeon map tiles
2024-11-13 09:16:31 -05:00
scawful
7798d769a5
Refactor bitmap update methods to remove unnecessary parameters; simplify texture updating in Renderer and Bitmap classes
2024-11-13 09:16:16 -05:00
scawful
b1edd862fc
Reorder includes in assembly and dungeon editor files for improved clarity; remove unused headers
2024-11-13 08:53:08 -05:00
scawful
e0db021e7c
Add input field size constant and improve sprite preview handling; adjust depth and add checks for empty graphics
2024-11-13 08:52:55 -05:00
scawful
5677b62b32
Update blockset canvas size for improved layout; adjust height to accommodate additional elements
2024-11-13 08:52:48 -05:00
scawful
8f8727b6c9
Update include paths in extension manager files for consistency
2024-11-13 08:51:10 -05:00
scawful
c32a158f77
Refactor includes in graphics editors for consistency; remove unused headers and improve clarity
2024-11-13 08:50:56 -05:00
scawful
a70414d803
Store converted binary graphics data in ScreenEditor and rename save functions for clarity
2024-11-10 17:25:26 -05:00
scawful
0035176f86
Add CopyTile8bpp16 function and refactor usage in OverworldMap
2024-11-10 17:16:46 -05:00
scawful
42db41ebae
Refactor GraphicsEditor tab handling for improved readability and structure
2024-11-10 16:58:34 -05:00
scawful
f3555b49ba
Add SaveDungeonMapTile16 function to handle saving dungeon map tile data and enhance tile editing UI
2024-11-10 15:07:52 -05:00
scawful
f5ac6124b0
Implement LoadBinaryGfx functionality: Refactor GFX loading from BIN file into a separate method, improve error handling, and update UI button for better user experience
2024-11-10 12:31:03 -05:00
scawful
6d4f7974ae
Enhance ScreenEditor: Refactor LoadDungeonMapTile16 to accept gfx data and bin mode, improve variable naming, and add functionality to load graphics from a BIN file
2024-11-10 11:29:06 -05:00