Commit Graph

2327 Commits

Author SHA1 Message Date
scawful
a267e18f46 Refactor Bitmap class to improve texture management and memory tracking; implement custom allocators for SDL_Surface and SDL_Texture, enhance bitmap constructors, and add utility functions for tile extraction and pixel manipulation. 2025-04-16 22:35:47 -04:00
scawful
875d3d2bcf Introduce TexturePool for efficient texture reuse. 2025-04-16 22:35:42 -04:00
scawful
110106dc61 Implement object rendering enhancements in DungeonObjectRenderer, including instruction execution limit to prevent infinite loops, improved tilemap initialization, and added palette setting functionality. Update header file with detailed method documentation. 2025-04-16 22:35:15 -04:00
scawful
c2a0cd930c Refactor DrawRomSelector method in EditorManager to return absl::Status for improved error handling; update method signature in header file and adjust menu drawing logic accordingly. 2025-04-16 22:34:57 -04:00
scawful
a01d554f15 Enhance message editor with import/export functionality for messages, including file handling and UI updates 2025-04-16 22:34:34 -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
e7f976fcf0 add hyperlink to GitHub in the homepage for easier access to the project 2025-04-16 19:06:01 -04:00
scawful
fa68ba9167 Update submodule references for imgui and imgui_test_engine to latest commits. 2025-04-16 17:35:12 -04:00
scawful
00d30efbf1 Add short name handling for ROMs in Rom class; update EditorManager to use short names in the ROM selector for improved UI clarity. 2025-04-16 17:33:48 -04:00
scawful
75d7ba9382 Enhance ClickableText function to improve hover and click detection; refactor text rendering with dynamic color based on hover state and streamline cursor positioning for better UI interaction. 2025-04-16 17:20:05 -04:00
scawful
c60c392264 Refactor EditorManager to handle status from ROM operations; improve error handling in ROM selector. Update overworld loading logic for consistency. 2025-04-12 13:25:40 -04:00
scawful
5637c20cb5 Add palette constants 2025-04-12 13:24:56 -04:00
scawful
96c9c5bea6 expand entrance room constants in Zelda3 and enhance OverworldMap class with mosaic handling. 2025-04-12 13:24:48 -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
935b0b5863 Add MemoryTracker class for memory allocation tracking; integrate with SDL deleters for improved memory management 2025-04-12 11:30:28 -04:00
scawful
f43328a1ae Update overworld loading logic to use Rom pointers directly; adjust test cases for consistency. 2025-04-12 11:29:45 -04:00
scawful
42cfb3bcb2 Refactor overworld constructors to accept Rom pointers 2025-04-12 11:27:23 -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
e0b95d8071 Refactor message pattern generation in TextElement for improved readability and maintainability; update table flags in MessageEditor for consistency. 2025-04-11 02:58:23 -04:00
scawful
216ee23f51 Refactor EditorManager to utilize EditorSet for managing multiple editors per ROM, enhance ROM loading and saving processes, and improve popup management integration. 2025-04-11 02:57:50 -04:00
scawful
b6bed9e92e Refactor EditorManager and integrate PopupManager for improved popup handling 2025-04-11 02:56:33 -04:00
scawful
5e13b1b571 Remove dungeon.h and overworld.h headers; integrate their structures directly into zelda.h and update include paths in related source files. 2025-04-11 00:50:48 -04:00
scawful
087b194651 Remove unused room_tag.h header file and clean up includes in room.cc 2025-04-10 17:55:01 -04:00
scawful
ecbf991305 Move object names 2025-04-05 19:41:58 -04:00
scawful
e38a7d7581 Fix formatting in ParseTextDataByte and optimize message handling in ReadAllTextDataV2 2025-04-05 17:50:49 -04:00
scawful
0a311356ea Add function to replace all dictionary words in a string 2025-04-05 17:25:49 -04:00
scawful
d332f45d2a Fix bug with FindDictionaryEntry return type to int8_t 2025-04-05 17:25:10 -04:00
scawful
3d3a88a9c6 Refactor message handling: replace TextElement return type with std::optional for better nullability handling 2025-04-05 17:24:11 -04:00
scawful
3e1dd19d48 Remove unused rom_file flag and version method from Rom class 2025-04-05 14:07:07 -04:00
scawful
f3bb4e2358 Refactor CMake configuration for yaze_emu: add macOS support and restructure executable definition 2025-04-05 14:06:45 -04:00
scawful
ad490cad71 Add YAZE_UTIL_SRC to CMakeLists and update flag definitions in z3ed and yaze 2025-04-05 13:46:56 -04:00
scawful
a76fbe1c8c Refactor OverworldMap: update ProcessGraphicsBuffer to accept graphics buffer as parameter 2025-04-05 13:46:42 -04:00
scawful
26fc39dad0 rename handle to Run for cli commands 2025-03-31 17:18:49 -04:00
scawful
999c142a31 remove DECLARE_FLAG macro and add mode parsing 2025-03-31 09:42:10 -04:00
scawful
3cf8edb467 remove yaze_py 2025-03-30 15:12:40 -04:00
scawful
6df2d6af84 Update submodule references for asar, imgui, and imgui_test_engine 2025-03-30 14:42:40 -04:00
scawful
14bd313a7e Refactor Controller::OnLoad: adjust ImGui style variables for improved dock space appearance 2025-03-30 14:42:02 -04:00
scawful
95df0b5d8b Refactor Bitmap class: remove deprecated constructor and update Initialize method signature 2025-03-20 18:17:45 -04:00
scawful
d8a783a69a Update submodule references for imgui and imgui_test_engine 2025-03-19 00:39:04 -04:00
scawful
e02ab2ded7 Refactor Room::CalculateRoomSize to use util::logf for logging and improve readability 2025-03-19 00:38:50 -04:00
scawful
e4e635b367 Refactor DungeonEditor: streamline Load and Update methods, enhance initialization flow and usage statistics calculation 2025-03-14 00:33:32 -04:00
scawful
ca9237fa22 switch to imgui docking branch, update asar and imgui_test_engine 2025-03-13 09:28:56 -04:00
scawful
61413b5a3b Fix ImGui initialization and rendering flow; update font loading method and improve ROM data loading function 2025-03-13 09:28:30 -04:00
scawful
2db9561a44 Fix ImGui::End() placement in EditorManager and ZEML rendering functions 2025-03-13 09:27:55 -04:00
scawful
1a674e731a Refactor OverworldEditor Load method to ensure graphics are loaded before initialization 2025-03-13 09:27:27 -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