docs: fix AGENTS.md miami findings from review
linux / build (push) Failing after 4m51s

This commit is contained in:
2026-11-29 08:14:08 +00:00
parent 398adfd4d8
commit 308e7b9ee3
+8 -5
View File
@@ -185,7 +185,9 @@ cmake --build build --parallel "$(nproc)"
The option prefix on this branch is **`REVC_`** (`REVC_AUDIO`,
`REVC_VENDORED_LIBRW`, plus `REVC_WITH_OPUS` / `REVC_WITH_LIBSNDFILE`); there is no
`REVC_INSTALL` option on miami. The dependency list and flags match
`option(REVC_INSTALL)` declaration on miami — `REVC_INSTALL` is only consumed by
the optional install block (`CMakeLists.txt:51`) and set from outside by
`conanfile.py` and `.github/workflows/build-switch.yml`. The dependency list and flags match
`.gitea/workflows/linux.yml` (this branch's CI definition; master's copy lives on
master). `REVC_AUDIO=OAL` is the only audio backend on Linux (`MSS` is Windows-only
and needs the Miles SDK). `LIBRW_GL3_GFXLIB` accepts `GLFW` or `SDL2`, but `SDL2`
@@ -236,13 +238,13 @@ Source subsystems (`src/`):
| Dir | Contents |
|---|---|
| `core/` | per-frame/event dispatch and game logic (`main.cpp`: `Idle`, `FrontendIdle`, `RenderScene`, `Render2dStuff`, …), `CGame`, `CTimer`, frontend/menus, `reVC.ini` settings loader, streaming, `CFileMgr`/`CFileLoader`, pads and control mapping, profiles, stats, zones, world, `config.h` constants |
| `core/` | per-frame/event dispatch and game logic (`main.cpp`: `Idle`, `FrontendIdle`, `RenderScene`, `Render2dStuff`, …), `CGame`, `CTimer`, frontend/menus, `reVC.ini` settings loader, streaming, `CFileMgr`/`CFileLoader`, pads and control mapping, profiles, stats, zones, world, ropes (`CRopes`), `config.h` constants |
| `control/` | mission-script VM (`Script2.cpp`…`Script8.cpp`), car/ped AI control (`CarCtrl`, `CarAI`, `PathFind`), set pieces (`CSetPieces`), pickups, garages, phones, replay, records, road blocks, traffic lights, scene edit |
| `entities/` | `CEntity`/`CPhysical` base hierarchy |
| `peds/` | `CPed`, `CPlayerPed`, civilians/cops/emergency, population, ped AI/combat/IK/routes, attractors (`PedAttractor`) |
| `vehicles/` | `CAutomobile`, `CBoat`, `CBike`, `CHeli`, `CPlane`, `CTrain`, cranes, car generators, damage/handling |
| `audio/` | `DMAudio`/`AudioManager` front end, `sampman_oal.cpp` + `oal/` (OpenAL backend), `sampman_miles.cpp`, `eax/`, music/radio (`MusicManager`, `PolRadio`) |
| `renderer/` | `CRenderer`, `CHud`, `CSprite2d`, particles, weather, water, timecycle, coronas, shadows, skidmarks, glass, ropes, clouds, fluff/script paths, credits, point lights, motion blur, occlusion, cutscene shadows, water creatures, wind modifiers |
| `renderer/` | `CRenderer`, `CHud`, `CSprite2d`, particles, weather, water, timecycle, coronas, shadows, skidmarks, glass, clouds, fluff/script paths, credits, point lights, motion blur, occlusion, cutscene shadows, water creatures, wind modifiers |
| `collision/` | `CCollision`, `CColModel`, spheres/boxes/triangles/lines, `CVuCollision` (PS2 VU path) |
| `modelinfo/` | model descriptors: simple/clump/ped/vehicle/time/MLO models, `CModelInfo` store |
| `save/` | `C_PcSave`, `GenericGameStorage` (byte-wise serialisation), `SaveBuf.h` helpers, memory card stubs, dates |
@@ -337,8 +339,9 @@ loop around an inner loop that ends on `RsGlobal.quit`,
6. If `arg == nil`, return here (process-only frame).
7. Render phase, only when the frontend menu is **inactive** and no screen fade is
active (`!FrontEndMenuManager.m_bMenuActive && TheCamera.GetScreenFadeStatus()
!= FADE_2`; the PC path has no render-game-behind-menu option — the
`m_bRenderGameInMenu` flag exists only in `src/core/Frontend_PS2.cpp`):
!= FADE_2`; the PC `Idle` path has no render-game-behind-menu option — the
`m_bRenderGameInMenu` flag belongs to the PS2 menu path, declared in
`src/core/Frontend_PS2.h` and used under `PS2_MENU`/`GTA_PS2`):
1. `CRenderer::ConstructRenderList()`, `CRenderer::PreRender()`.
2. Clip/fog setup (`RwCameraSetFarClipPlane` / `RwCameraSetFogDistance` under
`FIX_BUGS`).