scawful
d6551f84d2
Refactor graphics handling to utilize Arena for graphics sheets management
...
Update various editors to replace instances of GraphicsSheetManager with gfx::Arena for accessing graphics sheets. This change enhances memory management and performance by centralizing graphics data handling within the Arena class. Clean up related code for improved clarity and maintainability.
2025-05-02 12:06:46 -04:00
scawful
718a14ca62
Refactor OverworldEditor and Tile16Editor to use Tilemap instead of array of Bitmap
2025-04-29 00:26:16 -04:00
scawful
9d2cb918b9
Update Tile16Editor to accept a pointer for tile16_individual; adjust OverworldEditor initialization accordingly for improved memory management.
2025-04-20 17:44:51 -04:00
scawful
44e13cf4bb
Refactor bitmap palette management across various components to streamline palette setting and improve error handling; remove unnecessary status checks and enhance consistency in palette application methods.
2025-04-17 21:49:47 -04:00
scawful
97788fc033
Refactor canvas drawing methods to remove unnecessary bitmap parameters in context menu and bitmap drawing functions; update inventory and graphics editors to use new method signatures for improved consistency and clarity.
2025-04-16 21:44:07 -04:00
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
1d64846a37
initialize blank editor set in EditorManager; update overworld initialization to use Rom pointers; add Clear and CleanupUnusedTextures methods in OverworldEditor.
2025-04-12 11:33:03 -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
12d2d212fd
Refactor Tile16Editor
2025-03-13 09:26:39 -04:00
scawful
e7720019fd
Implement Save method in various editor classes with unimplemented error
2025-03-12 15:16:32 -04:00
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
412e617ce7
Add Load method to editor classes and update corresponding headers
2025-03-08 10:07:18 -05:00
scawful
9919677e43
Refactor editor UI components: streamline button handling in graphics and music editors, remove unused macros, and improve table setup in assembly editor.
2025-03-08 00:58:47 -05:00
scawful
6714f77514
Implement Initialize method in Editor class and override in derived editors
2025-03-08 00:31:30 -05: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
c99a4b0bc4
rename ApplyPalette with SetPalette
2025-03-02 17:06:46 -05:00
scawful
7d77c51a27
Refactor NotifyValue: optimize value setting and modification tracking with move semantics and improved method names
2025-02-28 01:13:16 -05:00
scawful
4dc09ad5fc
Refactor graphics loading: simplify function calls by removing namespace prefixes and improve header organization in scad_format
2025-02-28 00:46:39 -05:00
scawful
26cda69d44
Refactor common functionality into zelda3 namespace; remove references to core::common
2025-01-22 13:53:01 -05:00
scawful
43fc52dec7
Refactor SnesToPc and PcToSnes functions for improved readability and consistency; remove redundant core:: namespace usage
2025-01-22 13:45:58 -05:00
scawful
a5b94ab173
Refactor folder item management and move NotifyValue to a new utility header
2025-01-22 13:32:45 -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
scawful
339df53674
Refactor ROM loading methods
2025-01-18 12:33:33 -05:00
scawful
c8883a1e54
Remove unused includes and clean up header files
2025-01-16 03:44:37 -05:00
scawful
e13cdcbf4b
Add DrawDungeonMapsRoomGfx
2025-01-06 21:39:27 -05:00
scawful
40a09f17e9
re-render graphics injected into tile16 editor
2025-01-06 21:38:59 -05:00
scawful
6bf8b62d64
Merge remote-tracking branch 'refs/remotes/origin/master'
...
Merge changes made on visual studio repo.
2025-01-06 11:13:29 -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
698b5a43fa
update editors based on namespace changes
2025-01-02 10:16:50 -05:00
scawful
4a250a35cb
refactor Tile16Editor: improve LoadTile8 method with asynchronous tile data loading
2025-01-01 15:53:42 -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
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
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
8cf16906e6
remove overworld namespace
2024-12-29 16:12:53 -05:00
scawful
54c170373b
Change Load2BppGraphics to standalone fn, add mutable_data accessor
2024-12-29 09:58:58 -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
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
731eb456ab
Refactor editor includes and update source files for improved organization
2024-11-18 14:05:08 -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
c32a158f77
Refactor includes in graphics editors for consistency; remove unused headers and improve clarity
2024-11-13 08:50:56 -05:00