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
scawful
0ebcd9a178
Add kSaveGraphicsSheet flag to ExperimentFlags for graphics sheet saving
2024-11-13 09:30:49 -05:00
scawful
ab7fa2ecac
Rename InitializeCocoa to yaze_run_cocoa_app_delegate and update its implementation; streamline Cocoa app delegate handling
2024-11-13 09:16:46 -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
8e8b3ed2f7
Refactor Renderer class to remove inheritance from ExperimentFlags; streamline bitmap rendering and updating methods
2024-11-13 08:53:24 -05:00
scawful
e100423d58
Enhance config directory handling and improve platform-specific path management
2024-11-10 16:58:19 -05:00
scawful
6dd8a36e5c
Refactor input handling in Controller: Remove unused key events, streamline window size handling, and improve event processing for better performance and clarity
2024-11-10 12:11:17 -05:00
scawful
d7f62f4fd4
Refactor project header and source files: update includes and restore method declarations for improved organization and clarity
2024-11-10 09:03:35 -05:00
scawful
cd3540aaa2
Add kYazeVersion constant to common.h and remove duplicate definition from constants.h
2024-11-10 09:03:11 -05:00
scawful
8555dacdb5
Refactor project structure: remove labeling.h and update references to use project.h, enhancing code clarity and maintainability
2024-11-09 21:04:39 -05:00
scawful
a1443e8187
Refactor user interface management: simplify UI components and remove deprecated classes to enhance maintainability
2024-11-09 20:53:13 -05:00
scawful
ba5c86f0ba
Refactor recent files management: consolidate RecentFilesManager into project.h and remove redundant recent_files.h
2024-11-09 20:38:00 -05:00
scawful
d9243b26f7
Refactor message handling: remove MessageDispatcher, MessageFilter, and related classes to streamline codebase
2024-11-09 19:17:36 -05:00
scawful
b06d632ef9
Refactor project management: create Project class for handling project file operations and remove message handling code
2024-11-09 19:17:24 -05:00
scawful
e21bdb3f44
Add documentation for file dialog and resource path functions
2024-11-08 21:02:24 -05:00
scawful
83949d23b5
Remove unused includes in common.h for code cleanup
2024-11-08 00:11:43 -05:00
scawful
38dc061b75
Add LoadConfigFile to Controller, include file_util src in build
2024-11-02 10:35:26 -05:00
scawful
0d5618a5ba
Update LoadFile, GetFileExtension, GetFileName
2024-11-02 10:25:30 -05:00
scawful
665d58aa97
General cleanup
2024-11-02 00:10:24 -05:00