Commit Graph

52 Commits

Author SHA1 Message Date
scawful
fa3da8fc27 fix: apply clang-format to all source files
Fixes formatting violations that were causing CI failures.
Applied clang-format-14 to ensure consistent code formatting
across the codebase.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 01:35:33 -05:00
scawful
dc9b9d5d10 move zelda3 directory to src from app 2025-10-12 22:01:52 -04:00
scawful
c6ba93fd33 feat: Add Application Entry Point for Yaze
- Introduced app_main.cc as the main entry point for the Yaze application, separating it from the C API implementation.
- Implemented command-line flag parsing for ROM file loading, logging level, log file path, and log categories.
- Configured the logging system to enhance traceability and user feedback during application startup and execution.
- Integrated the core controller for managing application state and rendering, improving overall application structure and functionality.
2025-10-05 14:38:32 -04:00
scawful
0cc420e53e feat: Update log level check to use YAZE_DEBUG constant 2025-10-04 16:52:43 -04:00
scawful
d699d1133d feat: Add collaboration features to AgentChatWidget and AgentCollaborationCoordinator 2025-10-04 15:14:53 -04:00
scawful
660c3fd46f Enhance CMake configuration and improve string safety in source files
- Updated CMakeLists.txt to silence C++23 deprecation warnings and added definitions for intrinsic int128 support.
- Modified GitHub Actions workflow to handle missing asset directories gracefully and ensure correct versioning in Info.plist.
- Refactored string handling in multiple source files to use std::memcpy for safer string copying, preventing potential buffer overflows.
- Improved font loading logic and ensured consistent handling of theme properties in the editor.
2025-09-27 22:03:03 -04:00
scawful
332f050cf6 Update library directories and improve string handling in source files
- Added 'absl::numeric' to the AdditionalLibraryDirectories in yaze.vcxproj for enhanced functionality.
- Refactored string handling in multiple source files to use std::strncpy for safer string copying and prevent buffer overflows.
- Cleaned up unnecessary whitespace and improved code readability across various files.
2025-09-27 21:55:01 -04:00
scawful
77ceb0256b Refactor CMake and enhance API documentation for YAZE
- Updated CMakeLists.txt to set a minimum required version of 3.5 and removed older policy settings for improved compatibility.
- Enhanced yaze.h and zelda.h with detailed documentation, including versioning information and API descriptions, to improve clarity for developers.
- Added new functions for version compatibility checks and improved error handling in the YAZE API.
- Refactored existing structures and enums for better readability and maintainability, ensuring a more consistent coding style.
2025-09-25 12:00:03 -04:00
scawful
3898b443f4 Refactor yaze_init to accept ROM filename as a parameter and remove unused project loading function 2025-08-17 11:51:31 -04:00
scawful
dacd9551f0 Add message loading functionality and refactor message data handling
- Introduced yaze_load_messages function to load messages from ROM data, enhancing message management.
- Updated message data structures to use std::string_view for improved performance and clarity.
- Refactored message parsing logic to utilize modern C++ features like ranges and optional, improving readability.
- Adjusted various functions to streamline message handling and ensure consistency across the codebase.
2025-08-03 17:55:11 -04:00
scawful
206a1a6935 Refactor ROM saving process to utilize SaveSettings struct
- Updated yaze_save_rom and Backup command to use the new SaveSettings struct for improved clarity and maintainability.
- Adjusted SaveToFile calls in Tile16Transfer to align with the new structured settings approach.
- Enhanced parameter management for ROM saving operations across multiple components.
2025-05-15 22:47:34 -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
f43328a1ae Update overworld loading logic to use Rom pointers directly; adjust test cases for consistency. 2025-04-12 11:29:45 -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
ad490cad71 Add YAZE_UTIL_SRC to CMakeLists and update flag definitions in z3ed and yaze 2025-04-05 13:46:56 -04:00
scawful
09473fde5e Add missing includes for app_delegate and flag in yaze.cc 2025-03-08 00:35:22 -05:00
scawful
004201c594 yaze_app_main fn: add main application entry point for yaze with command-line argument parsing and controller management 2025-02-10 11:52:50 -05:00
scawful
80b84caca8 Add yaze_save_rom function for saving ROM files 2025-01-19 02:45:56 -05:00
scawful
054f78ceb1 Update yaze.cc lib implementation to use zelda3 scoped fns 2025-01-18 15:10:47 -05:00
scawful
70510ec0e9 Fix overworld initialization by passing internal ROM to constructor 2025-01-17 23:31:32 -05:00
scawful
30bfa91427 Refactor yaze initialization and shutdown to use status codes and add error messaging 2025-01-06 23:17:18 -05:00
scawful
5ff7eaa526 Add yaze_config.h for version management and update version check logic 2024-12-31 12:50:14 -05:00
scawful
7e470f2b33 remove dungeon namespace 2024-12-29 16:14:20 -05:00
scawful
8f9aac1952 Update yaze lib source 2024-12-29 09:59:33 -05:00
scawful
e05e7c35db remove app namespace 2024-12-28 21:28:51 -05:00
scawful
1e330f4a72 Refactor yaze_init and yaze_cleanup to use project ROM filename and simplify header includes 2024-11-15 23:40:57 -05:00
scawful
bed0443289 Refactor sprite and editor context structures to use typedefs for clarity; add bitmap loading function 2024-11-10 23:42:58 -05:00
scawful
3601fe4026 Refactor Yaze initialization and cleanup functions to use yaze_editor_context 2024-11-10 22:50:57 -05:00
scawful
b03f979e87 Refactor yaze_project structure to use 'filepath' instead of 'filename' for clarity and improve project loading function 2024-11-08 00:13:49 -05:00
scawful
b4f07563a8 chore: Refactor yaze_test and test_editor for improved organization and readability 2024-08-25 11:02:37 -04:00
scawful
ba4700f124 housekeeping 2024-08-11 11:52:57 -04:00
scawful
e885c65b6c add yaze_check_version and core::CheckVersion 2024-08-10 21:32:16 -04:00
scawful
6e6f833b8e housekeeping cli and py 2024-08-10 20:30:45 -04:00
scawful
21f49f9946 add overworld_maps to yaze_load_overworld 2024-08-09 02:18:49 -04:00
scawful
6523844eac add yaze_load_project 2024-08-09 01:54:21 -04:00
scawful
596f5926dd add yaze_load_overworld 2024-08-09 01:43:54 -04:00
scawful
8a2477dd1f add yaze_flags, implement yaze_init, yaze_cleanup 2024-08-08 21:21:24 -04:00
scawful
bda251767c add yaze prefix to get_color_from_paletteset 2024-08-08 21:18:42 -04:00
scawful
200659e5d9 rename rom to z3_rom 2024-08-08 21:18:22 -04:00
scawful
5dedcd7ea4 rename yaze_c Rom to rom to fit convention of other primitives 2024-08-07 15:38:51 -04:00
scawful
1d4b86d61c add get_color_from_paletteset 2024-08-07 01:29:16 -04:00
scawful
38cbba79e2 implement load_rom and unload_rom 2024-08-06 22:23:43 -04:00
scawful
4013f30663 add yaze_c lib top level bindings 2024-08-06 21:26:41 -04:00
Justin Scofield
f59e3b46c2 Move yaze main 2022-08-15 13:04:55 -04:00
Justin Scofield
3b0dc9c195 Return Controller onEntry error in main. 2022-08-04 19:04:09 +00:00
Justin Scofield
69928b1212 Restore yaze header to help with build 2022-07-30 12:44:04 -04:00
Justin Scofield
332bf5f3f3 Build SDL from source 2022-07-30 12:15:08 -04:00
Justin Scofield
e4bdc525c2 Update yaze 2022-07-24 00:02:12 -04:00
Justin Scofield
118cc1eae6 Added failure signal handler 2022-07-23 18:43:35 -04:00
Justin Scofield
8aa19eae7e Remove unnecessary header 2022-07-23 14:33:55 -04:00