aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit b332643ecd12bfe6b627615d65bdcff1bab70137
parent c6d40758ef2a7fda93821eabdaf5f74eb7f2bac4
Author: anon <anon@example.com>
Date:   Tue, 13 Oct 2026 09:51:42 +0000

Translate paired CCR input frame callback

Diffstat:
Mdocs/browser-porting.md | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/docs/browser-porting.md b/docs/browser-porting.md @@ -957,6 +957,11 @@ CRT-owned environment storage. Missing names return null. The environment must exist before DLL initialization, independently of whether __getmainargs has run; __getmainargs can expose the same zero-terminated pointer table. See [MSVCRT getenv](https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/getenv-wgetenv). +The paired input FrameProcess callback is CCR RVA `0x62d0`. It clears +the DWORD at global RVA `0x3e030`, obtains InputConfig_t and calls its +instance FrameProcess at `0x4bb0`. CCR exposes these two frame phases +as separate private static cdecl exports +(REA evidence `ev_8ecf346637d56e4b54c0a6075908441db851cad7932c6a1f85e44dd25b61d5aa`). The browser bridge renders in a worker-owned WebGL2 OffscreenCanvas. D3D row vector matrices upload as transposes; clip depth 0..w becomes -w..w. Readback