Commit Graph

27 Commits

Author SHA1 Message Date
scawful
a1a48e9057 message editor housekeeping 2025-04-12 13:23:46 -04:00
scawful
37b8b1cd3f Refactor Tile16Editor to enhance functionality with clipboard and scratch space features; implement methods for copying, pasting, saving, and loading Tile16 graphics. Update UI layout for improved editing experience and organization. 2025-04-12 11:56:36 -04:00
scawful
12d2d212fd Refactor Tile16Editor 2025-03-13 09:26:39 -04:00
scawful
7a7d52353f Refactor Tile16Editor: rename InitBlockset to Initialize and update palette application methods for consistency 2025-03-02 17:06:58 -05:00
scawful
26cda69d44 Refactor common functionality into zelda3 namespace; remove references to core::common 2025-01-22 13:53:01 -05:00
scawful
a5b94ab173 Refactor folder item management and move NotifyValue to a new utility header 2025-01-22 13:32:45 -05:00
Justin Scofield
f625fc94b3 Updated GraphicsEditor and Tile16Editor to use std::array instead of std::vector for better performance. 2025-01-05 20:54:19 -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
4a250a35cb refactor Tile16Editor: improve LoadTile8 method with asynchronous tile data loading 2025-01-01 15:53:42 -05:00
scawful
6d2de44b94 Refactor Overworld blockset types and update related function signatures 2024-12-31 16:40:01 -05:00
scawful
96095969c6 Refactor GfxContext references to use gfx::GfxContext for consistency 2024-12-30 19:04:20 -05:00
scawful
8cf16906e6 remove overworld namespace 2024-12-29 16:12:53 -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
c32a158f77 Refactor includes in graphics editors for consistency; remove unused headers and improve clarity 2024-11-13 08:50:56 -05:00
scawful
7b33313281 big cleanup 2024-08-20 22:10:35 -04:00
scawful
a8ed9b7f92 remove magic numbers, enforce const correctness 2024-08-20 21:31:59 -04:00
scawful
49611d4944 big cleanup, replace Bytes alias with std::vector<uint8_t> to reduce ambiguity 2024-08-20 12:02:47 -04:00
scawful
e508076c18 Refactor Tile16Editor to use void return type for DrawTile16Editor method 2024-08-17 12:17:08 -04:00
scawful
46dd8ee617 tile16 editor ptr bug fix 2024-08-12 10:27:58 -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
4582a18f53 Move GfxContext to editor/utils, update CMakeLists.txt 2024-07-19 23:07:04 -04:00
scawful
7a7021cee8 update tile16 editor init and error handling 2024-07-19 17:23:31 -04:00
scawful
1f61d3bd27 housekeeping 2024-07-19 16:41:08 -04:00
scawful
f10eaf0877 add canvas id and context id to Canvas 2024-07-19 15:50:36 -04:00
scawful
53728d61e5 add editor/graphics, include graphics editor, palette editor, tile16, gfx group 2024-07-14 21:08:24 -04:00