refactor(app): reorganize application structure and update includes

- Moved core components such as `Controller` and `Window` from `src/app/core/` to `src/app/` and `src/app/platform/`, respectively, to improve modularity and clarity.
- Updated include paths across the codebase to reflect the new locations of these components.
- Introduced a new foundational core library in `src/core/` for project management and ROM patching logic, enhancing the separation of concerns.
- Adjusted CMake configurations to ensure proper compilation of the new core library and updated dependencies in various modules.

Benefits:
- Streamlines the application structure, making it easier to navigate and maintain.
- Enhances code organization by clearly delineating core functionalities from application-specific logic.
- Improves overall architecture by promoting a clearer separation of concerns between different components.
This commit is contained in:
scawful
2025-10-15 20:10:04 -04:00
parent 066ffa46e2
commit d45f7819e1
88 changed files with 393 additions and 290 deletions

View File

@@ -5,7 +5,7 @@
#include <sstream>
#include <string>
#include "util/log.h"
#include "app/core/features.h"
#include "core/features.h"
#include "app/emu/audio/internal/opcodes.h"
#include "app/emu/audio/internal/spc700_accurate_cycles.h"

View File

@@ -7,7 +7,7 @@
#include <vector>
#include "absl/strings/str_format.h"
#include "app/core/features.h"
#include "core/features.h"
#include "app/emu/cpu/internal/opcodes.h"
#include "app/emu/debug/disassembly_viewer.h"
#include "util/log.h"

View File

@@ -29,7 +29,7 @@ target_include_directories(yaze_emulator PUBLIC
target_link_libraries(yaze_emulator PUBLIC
yaze_util
yaze_common
yaze_core_lib
yaze_app_core_lib
${ABSL_TARGETS}
${SDL_TARGETS}
)

View File

@@ -5,7 +5,7 @@
#include <fstream>
#include <vector>
#include "app/core/window.h"
#include "app/platform/window.h"
#include "app/editor/system/editor_card_registry.h"
#include "util/log.h"