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
scawful
a70414d803
Store converted binary graphics data in ScreenEditor and rename save functions for clarity
2024-11-10 17:25:26 -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
scawful
89a8e47e9c
Fix DungeonMap ScreenEditor gfx bug, update formatting
2024-11-10 09:55:07 -05:00
scawful
94a05e6ea7
Enhance dungeon map functionality by adding buttons to manage floors and basements, and optimize tile rendering logic for improved performance
2024-11-08 00:14:01 -05:00
scawful
665d58aa97
General cleanup
2024-11-02 00:10:24 -05:00
scawful
e8e6ab00bf
Refactor ImTextureID casting for SDL_Texture rendering
2024-10-09 01:59:15 -04:00
scawful
616c85ab1c
unused include housekeeping
2024-10-05 11:07:14 -04:00
scawful
c31f3b81be
Refactor code to remove unused headers and unnecessary includes
2024-09-25 00:37:23 -04:00
scawful
028879aefd
Refactor palette_editor.cc and palette_editor.h for improved code organization and readability
2024-09-02 14:12:22 -04:00
scawful
12ce96e533
chore: Refactor CMakeLists.txt and app.cmake files for better organization
2024-08-30 02:57:14 -04:00
scawful
698055d165
Refactor OverworldEditor and Overworld class
2024-08-29 19:52:38 -04:00
scawful
3eaf320ff4
Refactor GfxGroupEditor
2024-08-25 14:33:01 -04:00
scawful
23640310be
Refactor tile16 blockset data access methods
2024-08-21 21:54:28 -04:00
scawful
c83d0440d8
cleanup snes_palette stuff
2024-08-21 10:13:13 -04:00
scawful
ea8a851539
clang tidy cleanups
2024-08-21 00:37:14 -04:00
scawful
4e908d0f26
chore: Refactor screen editor to improve code organization and remove unnecessary includes
2024-08-21 00:12:21 -04: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
731b8f1c75
chore: Refactor clipboard functions to use namespace aliases
2024-08-14 00:11:18 -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
54e8d7c3a5
Remove deprecated BitmapManager and experiment flag
2024-08-13 22:02:05 -04:00
scawful
4aabb3d0b4
Refactor GraphicsEditor to use std::array for gfx sheets
2024-08-13 21:55:17 -04:00
scawful
79e5986b0b
chore: Update asset_browser to use std::array for gfx sheets
2024-08-13 21:47:13 -04:00