Commit Graph

61 Commits

Author SHA1 Message Date
scawful
6f906a020d Enhance Overworld and Tile16 editors with new features and UI improvements
- Added context-aware options in the EditorManager for refreshing overworld and dungeon data, improving user interaction.
- Streamlined the OverworldEditor by removing redundant menu bars and integrating refresh options directly into the context menu.
- Improved the Tile16Editor by scaling tile displays for better visibility and enhancing the blockset canvas functionality.
- Introduced new bitmap property dialogs in the Canvas class, allowing users to view and edit bitmap and palette properties directly from the context menu.
- Refactored various UI elements for consistency and clarity, enhancing overall user experience.
2025-09-25 15:51:34 -04:00
scawful
8b1b058fea Add MapPropertiesSystem for enhanced overworld map management
- Introduced MapPropertiesSystem class to manage map properties, including settings for area size, graphics, palettes, and overlays.
- Implemented UI components for drawing map properties, allowing users to customize map settings through a dedicated panel.
- Enhanced OverworldEditor to integrate map properties functionality, providing quick access to map settings via context menus and UI interactions.
- Added support for custom background colors and overlays, improving the overall customization experience for users.
2025-09-24 17:01:48 -04:00
scawful
8da8014170 Implement dungeon map screen drawing functionality in ScreenEditor
- Added DrawDungeonMapScreen method to encapsulate the logic for rendering the dungeon map, improving code organization and readability.
- Refactored DrawDungeonMapsTabs to utilize the new DrawDungeonMapScreen method, reducing code duplication.
- Updated various drawing operations for better clarity and efficiency, including adjustments to tile rendering and grid display.
- Removed commented-out code to clean up the implementation.
2025-09-23 21:38:54 -04:00
scawful
fdda77c172 Refactor ROM handling and remove SharedRom singleton for improved architecture
- Eliminated the SharedRom class to enhance modularity and reduce global state management.
- Updated various classes to directly manage ROM instances, improving clarity and encapsulation.
- Added new functions for loading messages and colors from ROM, enhancing functionality.
- Refactored Canvas and Editor classes to utilize direct ROM references, streamlining interactions.
- Improved documentation and comments for better code understanding and maintainability.
2025-08-03 17:52:02 -04:00
scawful
b5f6930d38 Refactor window management and renderer integration for improved structure
- Replaced platform backend references with a dedicated Window class for better encapsulation of window and audio device management.
- Updated various files to include the new window header, enhancing clarity and reducing dependencies on the platform backend.
- Removed obsolete platform backend code to streamline the codebase and improve maintainability.
- Refactored controller and editor classes to utilize the new window management system, ensuring consistent handling of window creation and rendering.
2025-08-03 16:09:51 -04:00
scawful
d97824c575 Update DrawTileSelector to support variable tile height
- Modified DrawTileSelector function to accept an additional parameter for tile height, defaulting to the original size if not provided.
- Adjusted the logic for calculating the second point in the tile selection to use the new height parameter, improving flexibility in tile rendering.
2025-05-10 11:00:08 -04:00
scawful
11504ca4c1 Refactor Renderer access and enhance graphics loading functionality
- Replaced instances of Renderer::GetInstance() with Renderer::Get() for consistency across the codebase.
- Updated various rendering methods to streamline bitmap updates and enhance performance.
- Removed unused includes and comments to improve code clarity and maintainability.
2025-05-08 19:37:48 -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
131f0485c6 Add context menu options for editable palette in Canvas; implement BeginCanvas and EndCanvas functions for improved canvas management. 2025-04-23 20:16:38 -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
dc88574152 housekeeping 2025-03-03 16:33:23 -05:00
Justin Scofield
02a86c41da Refactored EditorManager to consolidate popup drawing methods into a single DrawPopups method and added a DrawMenuBar method. Replaced DrawYazeMenu with DrawHomepage for displaying a welcome message and options for opening a ROM. Introduced a LoadRom method to handle ROM loading and updated related methods to set the current_rom_ pointer. Added settings_editor_ to the list of active editors. 2025-01-05 20:54:02 -05:00
scawful
79a16bbefe mmmm housekeeping 2024-12-30 19:05:16 -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
e8e6ab00bf Refactor ImTextureID casting for SDL_Texture rendering 2024-10-09 01:59:15 -04:00
scawful
a288dd8933 add DrawCustomHighlight to Canvas 2024-08-20 11:05:49 -04:00
scawful
941a184bb8 add canvas color constants 2024-08-16 16:10:00 -04:00
scawful
9a2c8ae17a replace old renderer access pattern 2024-08-09 18:58:07 -04:00
scawful
af29ef3fb7 cleanup canvas 2024-08-06 19:24:24 -04:00
scawful
7c708519ac standardize imgui headers as user instead of system 2024-07-30 23:33:12 -04:00
scawful
90ed9e1b86 add Canvas::DrawInfoGrid for custom labeled grids 2024-07-28 11:31:13 -04:00
scawful
8e9f5d345b move pipeline functions into respective gui files 2024-07-24 09:31:42 -04:00
scawful
92f25ffea2 add reformatting to canvas context menu 2024-07-24 01:41:05 -04:00
scawful
50589dc82c add palette controls to Canvas context menu if Bitmap ptr is passed 2024-07-21 11:39:31 -04:00
scawful
d66748a5da fix invalid texture draw by returning if bitmap is inactive 2024-07-19 16:33:57 -04:00
scawful
f10eaf0877 add canvas id and context id to Canvas 2024-07-19 15:50:36 -04:00
scawful
f0c4ae798f rearrange canvas methods 2024-07-19 14:12:40 -04:00
scawful
aad061ef65 cleanup Canvas 2024-07-19 10:41:21 -04:00
scawful
2ff79816ee remove unused canvas update routines 2024-07-18 22:58:26 -04:00
scawful
621337f4f2 update some graphics references 2024-07-14 21:12:44 -04:00
scawful
4ab5ee8a68 Add context info about bitmaps to canvas 2024-04-12 00:34:26 -04:00
scawful
aed54f1493 fix hyrule magic decompression memory leak, misc housekeeping 2024-02-03 00:04:21 -05:00
scawful
14e60b248f Update referenes to SnesColor members 2024-01-31 23:58:35 -05:00
scawful
51b4c167d5 Canvas DrawSelectRect + DrawBitmapGroup for Tile16 selection 2024-01-30 23:55:23 -05:00
scawful
6791fa03e5 Overworld updates, Tile16 and large map fixes 2024-01-29 22:58:39 -05:00
scawful
752215be03 Overworld Tile32 save improvements 2024-01-29 16:12:15 -05:00
scawful
e006702df1 OverworldMap sprite entities, canvas drawing updates 2024-01-28 12:04:52 -05:00
scawful
e086f12ade OverworldEntity update: Entrances, Exits, Items 2024-01-27 15:55:47 -05:00
scawful
df1cdb22f5 housekeeping and todos 2024-01-26 23:18:26 -05:00
scawful
c3e616e60f Tile16 Editor updates (big commit) 2024-01-23 22:37:23 -05:00
scawful
db51acd12a Canvas constructor improvements and housekeeping 2024-01-23 10:14:12 -05:00
scawful
e4c2cdf8a3 Add TODO for Canvas ContextMenu palette 2024-01-22 20:44:57 -05:00
scawful
9f137559c3 Fix DungeonMap tile16 copy IDs being used, update yaze version num 2024-01-22 20:24:44 -05:00
scawful
6f80f328a8 Add Tilesheet class, update ScreenEditor for DungeonMaps 2024-01-22 03:30:55 -05:00
scawful
0c2d724373 Add hihglight tile id feature to Canvas 2024-01-18 20:06:10 -05:00
scawful
9ba6af9c4c Canvas custom information grid 2024-01-10 23:13:49 -05:00
scawful
a73c944529 Canvas, Palettes, Bitmap updates 2023-12-25 17:32:56 -06:00
scawful
96cd8f1b15 Add DrawTileOnBitmap to Canvas 2023-12-19 18:42:06 -05:00