Paul
|
34c0e3ca28
|
chore(refactor): god-object decomposition and mega-file splits
Split all mega-files by single-responsibility concern and
partially extracting AudioCoordinator and
OverlaySystem from the Renderer facade. No behavioral changes.
Splits:
- game_handler.cpp (5,247 LOC) → core + callbacks + packets (3 files)
- world_packets.cpp (4,453 LOC) → economy/entity/social/world (4 files)
- game_screen.cpp (5,786 LOC) → core + frames + hud + minimap (4 files)
- m2_renderer.cpp (3,343 LOC) → core + instance + particles + render (4 files)
- chat_panel.cpp (3,140 LOC) → core + commands + utils (3 files)
- entity_spawner.cpp (2,750 LOC) → core + player + processing (3 files)
Extractions:
- AudioCoordinator: include/audio/ + src/audio/ (owned by Renderer)
- OverlaySystem: include/rendering/ + src/rendering/overlay_system.*
CMakeLists.txt: registered all 17 new translation units.
Related handler/callback files: minor include fixups post-split.
|
2026-04-05 19:30:44 +03:00 |
|
Paul
|
5ef600098a
|
chore(renderer): refactor renderer and add post-process + spell visuals systems
- Updated core render pipeline and renderer integration in CMakeLists.txt, renderer.cpp, renderer.hpp
- Added post-process pipeline module:
- post_process_pipeline.hpp
- post_process_pipeline.cpp
- Added spell visual system module:
- spell_visual_system.hpp
- spell_visual_system.cpp
- Adjusted application/audio integration:
- application.cpp
- audio_coordinator.cpp
|
2026-04-02 00:21:21 +03:00 |
|