Commit Graph

15 Commits

Author SHA1 Message Date
scawful
806885824a Refactor loading methods in EditorManager and OverworldEditor for improved clarity and consistency; add checks for loaded ROM in GfxGroupEditor and MessageEditor 2025-03-12 14:28:53 -04:00
scawful
c8883a1e54 Remove unused includes and clean up header files 2025-01-16 03:44:37 -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
e05e7c35db remove app namespace 2024-12-28 21:28:51 -05:00
scawful
731eb456ab Refactor editor includes and update source files for improved organization 2024-11-18 14:05:08 -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
665d58aa97 General cleanup 2024-11-02 00:10:24 -05:00
scawful
3eaf320ff4 Refactor GfxGroupEditor 2024-08-25 14:33:01 -04:00
scawful
54e8d7c3a5 Remove deprecated BitmapManager and experiment flag 2024-08-13 22:02:05 -04:00
scawful
7c708519ac standardize imgui headers as user instead of system 2024-07-30 23:33:12 -04:00
scawful
3710ee5ed9 remove pipeline.h 2024-07-24 09:37:35 -04:00
scawful
cbc6788e2e move DungeonEditor, merge widgets with style, split up CMakeLists 2024-07-24 01:38:36 -04:00
scawful
5fcd2a8f7e housekeeping 2024-07-20 09:02:04 -04:00
scawful
d070d095e7 update gfx group editor 2024-07-20 08:02:18 -04:00
scawful
53728d61e5 add editor/graphics, include graphics editor, palette editor, tile16, gfx group 2024-07-14 21:08:24 -04:00