Split the frame loop out of main.cpp (app_loop) for SDL main callbacks

main.cpp moves to app_loop.cpp; its body becomes RunClient, a C++20
coroutine suspended at the top of each frame, driven by ava2::app::AppLoop
(Start/Iterate/QueueEvent/Finish/Run). The new main.cpp uses SDL main
callbacks (AVA2_MAIN_CALLBACKS, default on except Android) or the classic
loop. Screenshots are byte-identical through both drivers; 54/54 tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-12 22:28:50 +09:00
co-authored by Claude Opus 5.5
parent 64d25e3571
commit f973b24abc
6 changed files with 2851 additions and 2614 deletions
+2718
View File
File diff suppressed because it is too large Load Diff