scawful
a9a9cc888b
Refactor event handling and controller initialization for improved clarity
...
- Moved event handling logic from the Controller class to a new HandleEvents function in the Window class, enhancing separation of concerns.
- Simplified the OnEntry method by removing the Initialize function call and directly initializing the editor manager.
- Updated the OnLoad method to check for window activity, improving the logic for managing the controller's active state.
- Cleaned up the controller header by removing the obsolete Initialize method, streamlining the interface.
2025-08-03 16:42:06 -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
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
c0c6374539
Refactor event handling in Controller::OnInput to use SDL_WaitEvent instead of polling; improves efficiency by reducing CPU usage during event processing.
2025-04-20 17:37:05 -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
61e35f2819
Implement docking support in the main editor window; enhance editor activation management
2025-03-11 21:05:04 -04:00
scawful
2a6683db82
Refactor audio handling in Controller; replace LoadAudioDevice with backend audio initialization and shutdown methods
2025-03-11 21:03:38 -04:00
scawful
358520fcae
Remove test editor integration from Controller and update integration test logic
2025-03-11 20:11:47 -04:00
scawful
4c42dcc5dd
refactor controller
2025-03-03 17:33:46 -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
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
scawful
d47e8a8387
Remove ImGui input flag and related code from core and editor components
2024-12-31 16:40:24 -05:00
scawful
bac4660bac
Refactor Controller: Replace SetupScreen with Initialize and clean up unused code
2024-12-31 11:46:39 -05:00
scawful
e05e7c35db
remove app namespace
2024-12-28 21:28:51 -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
b336d14233
Refactor include paths and remove redundant headers in core and editor modules
2024-11-15 23:38:44 -05:00
scawful
876a83f61c
Add font loading functionality and refactor font handling in core
2024-11-15 21:21:13 -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
a1443e8187
Refactor user interface management: simplify UI components and remove deprecated classes to enhance maintainability
2024-11-09 20:53:13 -05:00
scawful
38dc061b75
Add LoadConfigFile to Controller, include file_util src in build
2024-11-02 10:35:26 -05:00
scawful
a64700d601
Load sys fonts if assets dir not found, return err if unsupported
2024-10-04 01:33:13 -04:00
scawful
4e47cd3c76
update font loading for macOS bundle resources
2024-09-07 09:59:20 -04:00
scawful
d5650c8bb6
chore: Refactor audio loading and handling in Controller class
2024-08-25 14:46:35 -04:00
scawful
ea8a851539
clang tidy cleanups
2024-08-21 00:37:14 -04:00
scawful
446fcfb779
add test editor load to app Controller
2024-08-13 18:05:21 -04:00
scawful
20289483ab
rename MasterEditor to EditorManager
2024-08-10 12:23:28 -04:00
scawful
251441f9fa
remove metal include, update platform includes
2024-08-10 00:19:48 -04:00
scawful
0ea1c13cea
remove old sdl_deleter from Controller
2024-08-09 19:17:44 -04:00
scawful
9a2c8ae17a
replace old renderer access pattern
2024-08-09 18:58:07 -04:00
scawful
c6952a66c8
ignore NewMasterFrame on iOS
2024-08-06 21:27:26 -04:00
scawful
b1119a0c35
housekeeping
2024-08-02 18:44:46 -04:00
scawful
a2da4375b5
set file path for fonts based on platform
2024-07-31 12:41:28 -04:00
scawful
8a9b25f290
set target conditionals for apple targets
2024-07-31 11:29:02 -04:00
scawful
49fbdd4c41
shutdown based on platform, update accessors for editors
2024-07-31 11:28:09 -04:00
scawful
cab185d1be
update platform OnEntry, move MasterFrame to Controller
2024-07-31 08:53:37 -04:00
scawful
cfdefef2db
remove imgui test engine from controller
2024-07-31 07:40:22 -04:00
scawful
7c708519ac
standardize imgui headers as user instead of system
2024-07-30 23:33:12 -04:00
scawful
0a0ee1bebd
disable test engine crash handler for now
2024-07-29 18:25:39 -04:00
scawful
e29ad20032
add Controller::CreateTestContext
2024-07-24 14:55:49 -04:00
scawful
dadf4aa4fa
add function keys to key mapping
2024-07-20 09:13:38 -04:00
scawful
69a407fee1
update keyboard input mapping
2024-07-20 09:00:50 -04:00
scawful
d9261464eb
remove shutdown
2024-05-30 18:18:39 -04:00
scawful
0f19fda556
handle errors in main entry point
2024-05-30 00:31:02 -04:00
scawful
b0bfcb6c7b
replace linux file macros with std::filesystem usage
2024-05-28 20:56:08 -04:00
scawful
c58131ddd7
update font loading string shit
2024-05-28 19:50:35 -04:00
scawful
3a3eac8ba3
use absl::StrCat for font filenames linux
2024-05-28 19:31:56 -04:00