layout: restructure into src/ tests/ android/ scripts/ tools/

- extension/src/{port,platform,codepage} -> src/; native_render -> src/host
  (+ dxt, shaders/); libgr2 -> src/gr2; extension/third_party -> third_party
- extension/tests -> tests/port, libgr2/tests -> tests/gr2
- android-native -> android (build.sh, push-client.sh moved in)
- script -> scripts; tools/40250 -> tools/server; oracle -> tools/granny-oracle;
  perf tools -> tools/perf
- all build trees under build/ (native, release, android, port-gate)
- xrender:: CMake aliases -> mt::; port-map ledger impl paths rewritten

No code changes. ctest 15/15, port_gate macos+android PASS, port_map check 0 errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-29 19:08:19 +09:00
co-authored by Claude Opus 5.5
parent 70710477cf
commit a46093104c
2817 changed files with 13728 additions and 13744 deletions
@@ -42,7 +42,7 @@
- 节点位置直接读取 C++ 实体坐标;按 `func`、`moving`、`walk_mode`、`dead` 更新远端动作。
- `extension/src/net/classic/classic_session.cpp`
- 将 classic 握手推导出的 `server_frame_ms()` 每帧喂给 `EntityStore`。
- `extension/tests/net_state_queue_test.cpp`
- `tests/port/net_state_queue_test.cpp`
- 覆盖帧门、阈值、技能位、死亡/击倒挂起、顺序、时钟防呆、根运动和 duration fallback。
## Audit findings (2026-09-20)
@@ -86,12 +86,12 @@
## Regression evidence
- `extension/tests/net_state_queue_test.cpp`:服务器帧释放、WAIT 1.0、攻击/技能 50.0、FUNC_EMOTION 100.0、死亡/击倒挂队、FIFO、时钟防呆、根运动和 duration fallback。
- `extension/tests/net_entity_test.cpp`:远端移动命令的 near/far 行为、到达后动作和未知 VID 忽略。
- `tests/port/net_state_queue_test.cpp`:服务器帧释放、WAIT 1.0、攻击/技能 50.0、FUNC_EMOTION 100.0、死亡/击倒挂队、FIFO、时钟防呆、根运动和 duration fallback。
- `tests/port/net_entity_test.cpp`:远端移动命令的 near/far 行为、到达后动作和未知 VID 忽略。
- `project/netplay_test.gd`、`project/movement_parity_test.gd`:上行状态节流和移动预测不回归。
- `project/net_world_remote_action_test.gd`:远端 `FUNC_ATTACK` 使用普通攻击索引 13,`FUNC_COMBO` 保留 `bArg` 连击段,并传递武器动作模式与攻速比例。
- `extension/tests/net_state_queue_test.cpp`:不可取消技能、活动表情、TCP 状态禁用和恢复后的队列释放边界。
- `extension/tests/net_entity_test.cpp`:`GC_SYNC_POSITION` 记录源点、单调 serial、150cm 大位移和技能抑制状态。
- `tests/port/net_state_queue_test.cpp`:不可取消技能、活动表情、TCP 状态禁用和恢复后的队列释放边界。
- `tests/port/net_entity_test.cpp`:`GC_SYNC_POSITION` 记录源点、单调 serial、150cm 大位移和技能抑制状态。
- `project/net_world_remote_action_test.gd`:TEMP_Push 大位移动作、击倒网络门、旧位置起始偏移和动作尾释放。
## Implementation fix round 2026-09-20