scawful
790f105013
Refactor font loading: enhance font management by passing FontConfig to AddIconFont and AddJapaneseFont functions, and streamline font initialization in LoadPackageFonts
2025-02-27 19:16:37 -05:00
scawful
c7608a8c0f
Refactor font loading: remove redundant icon and Japanese font configurations, and introduce FontState structure for better font management
2025-02-10 11:47:23 -05:00
scawful
e8659e9fde
Refactor audio buffer allocation: replace raw pointer with shared pointer for better memory management
2025-02-10 11:47:03 -05:00
scawful
646db9607a
Refactor Controller and File Dialog: streamline platform handling, remove redundant parameters, and enhance initialization logic
2025-01-26 19:28:40 -05:00
scawful
1bc0f07a7e
Refactor FlagsMenu to core namespace; remove redundant flags.h file and update references in editor files
2025-01-26 13:20:29 -05:00
scawful
9a11c970ae
Change yaze_run_cocoa_app_delegate to return an int for better error handling; update main to reflect this change
2025-01-26 13:19:58 -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
de53ccae21
Refactor ExperimentFlags to FeatureFlags for consistency across the codebase
2025-01-22 13:41:28 -05:00
scawful
b245b10963
Refactor logging to use util::logf and add log utility header
2025-01-22 13:36:37 -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
38d34fd40c
Add BPS patch utility functions and integrate into CLI handlers
2025-01-19 18:46:56 -05:00
scawful
c8883a1e54
Remove unused includes and clean up header files
2025-01-16 03:44:37 -05:00
scawful
2d15833b0d
Implement folder dialog, subdirs, files with nfd
2025-01-06 13:25:49 -05:00
scawful
65be2d0bd2
move sdl_delete.h to platform
2025-01-06 13:23:07 -05:00
scawful
b3bc05e620
consolidate file related functions, add nativefiledialog-extended to build
2025-01-06 13:21:28 -05:00
Justin Scofield
839449e85d
Improve logging and reformat CreateWindow call
...
Updated common.h to include <chrono> and absl/strings/str_cat.h.
Modified logf to include a timestamp in log messages.
Replaced log_to_console with ExperimentFlags::get().kLogToConsole.
Removed newline character from logf output.
Reformatted SDL_CreateWindow call in controller.cc for readability.
2025-01-05 20:56:53 -05:00
Justin Scofield
5e0fb9e36e
Add ReloadPackageFonts
2025-01-05 20:54:56 -05:00
Justin Scofield
31217e1c5c
Refactor flags and add Font Manager to settings editor
...
Simplified `ExperimentFlags` by removing unused flags and updated
`Controller` to no longer inherit from it. Refactored `FlagsMenu`
to separate flag categories into individual methods for better
organization. Enhanced settings editor with a new "Font Manager"
tab and updated `DrawGeneralSettings` to use the new flag category
methods. Added `DrawFontManager` function for font management.
2025-01-05 11:58:45 -05:00
Justin Scofield
66dc72148d
Add helper functions SetFontPath, LoadFont, AddIconFont, and AddJapaneseFont
2025-01-05 06:38:14 -05:00
Justin Scofield
f1f6df829f
controller and canvas houskeeping
2025-01-05 06:17:09 -05:00
Justin Scofield
8cb9eedb25
replace constexpr std string with static const
2024-12-31 21:00:27 -05:00
scawful
d3eca0f950
Make ExperimentFlags a singleton, remove inheritance relationships
2024-12-31 18:13:53 -05:00
scawful
1a5d5befb9
Initialize member variables in Controller class for improved stability
2024-12-31 17:41:47 -05:00
scawful
0e67413d55
Refactor logging to use logf function and update log file name
2024-12-31 16:54:44 -05:00
scawful
d47e8a8387
Remove ImGui input flag and related code from core and editor components
2024-12-31 16:40:24 -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
bac4660bac
Refactor Controller: Replace SetupScreen with Initialize and clean up unused code
2024-12-31 11:46:39 -05:00
Justin Scofield
1ca1e5f17a
make hex format strings const static
2024-12-31 11:41:26 -05:00
Justin Scofield
10c7e15f92
Add font path prefix for non apple platforms
2024-12-30 09:56:26 -05:00
scawful
f13ce9d6fd
Refactor hex string handling: introduce HexStringParams struct and consolidate hex formatting functions
2024-12-30 09:46:51 -05:00
scawful
bf862f2d5a
Refactor file loading functions: simplify LoadFile, add LoadConfigFile, and adjust platform handling
2024-12-29 10:44:22 -05:00
scawful
e05e7c35db
remove app namespace
2024-12-28 21:28:51 -05:00
scawful
0adfdfb135
Add getter for active state in Controller class
2024-12-21 18:56:47 -05:00
scawful
8b4345ca0a
Remove conditional logging to console in logm function
2024-12-09 18:39:04 -05:00
scawful
4507bd6b7a
Enhance font loading error handling in LoadPackageFonts function
2024-12-08 21:22:26 -05:00
scawful
853ecac4c4
Simplify SDL deleter logic
2024-11-27 16:39:36 -05:00
scawful
97b3a8638a
Refactor common module: streamline includes, improve code organization, and enhance logging functionality
2024-11-20 09:53:01 -05:00
Justin Scofield
0b9f7ee6fa
Refactor includes for improved organization and clarity
2024-11-18 18:01:14 -05:00
scawful
bf06fff0dc
Refactor input handling in Controller to improve event processing structure
2024-11-18 16:58:06 -05:00
scawful
36e5f7a150
Refactor input handling in Emulator and Controller for improved key event management
2024-11-18 14:34:08 -05:00
scawful
f630aa88a2
Refactor command manager and editor includes for improved organization and functionality
2024-11-18 14:05:54 -05:00
scawful
89774ddab4
Refactor AppDelegate header and implementation for improved readability and organization
2024-11-15 23:50:58 -05:00
scawful
b336d14233
Refactor include paths and remove redundant headers in core and editor modules
2024-11-15 23:38:44 -05:00
scawful
3cce624f59
Add absl/strings/str_format.h include to renderer.h
2024-11-15 21:21:27 -05:00
scawful
876a83f61c
Add font loading functionality and refactor font handling in core
2024-11-15 21:21:13 -05:00
scawful
fbb46d571a
Housekeeping
2024-11-14 13:28:42 -05:00
scawful
e3ed705336
Refactor tab handling in Dungeon and Graphics editors for improved readability
2024-11-13 09:42:54 -05:00