Files
mtgodot-poc/audit/port-map/UserInterface/PythonApplication.cpp.json
T
shenleiandClaude Opus 5.5 863f3771af render parity unit G: 40250 tiling selection + verbatim STP terrain
- PythonApplication::Create mirrors 40250 :1196-1251 (SOFTWARE_TILING cfg,
  auto tiling IsFastTNL ? HTP : STP, MinLOD on !IsFastTNL)
- RecordingDevice caps: VertexShaderVersion 1.1 + CLIPTLVERTS (fast T&L -> HTP)
- MapOutdoorRenderSTP.cpp replaced by the full 40250 source (native gate only)
- native_render XYZRHW: fix inverted screen->NDC Y, negative rhw clip,
  no texture transform on TL vertices, specular-alpha vertex fog (capture v9)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 13:54:11 +09:00

309 lines
14 KiB
JSON

{
"reference": "UserInterface/PythonApplication.cpp",
"reference_sha256": "9a9e5268c7475e6ed720bc8ee53ed58d334b22d1efa93310b3d45f1bbdd85bf3",
"priority": "P4",
"contracts": [],
"functions": {
"CPythonApplication::CPythonApplication": {
"status": "N_A",
"note": "Monolithic Win32 application constructor; subsystems managed as individual singletons in PythonBoot"
},
"CPythonApplication::~CPythonApplication": {
"status": "N_A",
"note": "Subsystems destroyed in GameSingletons / PythonBoot::Stop"
},
"CPythonApplication::GetMousePosition": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetMousePosition"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::SetMinFog": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::SetMinFog"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::SetFrameSkip": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::SetFrameSkip"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::NotifyHack": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::NotifyHack"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::GetInfo": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetInfo"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::Abort": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Abort"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::Exit": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Exit"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::RenderGame": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::RenderGame"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::UpdateGame": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::UpdateGame"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::SkipRenderBuffering": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::SkipRenderBuffering"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::Process": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Process"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::UpdateClientRect": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::UpdateClientRect"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::SetMouseHandler": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:SetMouseHandler"
],
"note": "Body verbatim on a file-static m_poMouseHandler (no application object yet); SetCursorNum calls its ChangeCursor.",
"test": "extension/tests/port_login_flow_test.cpp (step 10)"
},
"CPythonApplication::CheckDeviceState": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::CheckDeviceState"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::CreateDevice": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::CreateDevice"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::Loop": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Loop"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"LoadLocaleData": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:LoadLocaleData"
],
"note": "Body verbatim in the platform CPythonApplication stand-in (the class itself is not ported); it reads item/mob tables and CPythonSkill's skilldesc/skilltable.",
"test": "extension/tests/port_login_flow_test.cpp step 3c (port.login_flow / port.login_live: item 19 Sword+9, mob 101 Wild Dog, skill 1 Three-Way Cut cool time 12)"
},
"__GetWindowMode": {
"status": "N_A",
"note": "Win32 window mode helper; canvas size managed by Godot host"
},
"CPythonApplication::Create": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Create"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons; m_LightManager.Initialize() (40250 :1263) now called; Destroy() still empty (m_LightManager.Destroy at 40250 :1418 not yet mirrored); 40250 :1196-1251 tiling selection mirrored (SOFTWARE_TILING cfg → GRAPHICS_CAPS_SOFTWARE_TILING before device create, auto tiling IsFastTNL ? HTP : STP via ReserveSoftwareTilingEnable, !IsFastTNL → CGrannyLODController::SetMinLODMode(true)); RecordingDevice caps report VS 1.1 + CLIPTLVERTS so auto picks HTP",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::SetGlobalCenterPosition": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::SetGlobalCenterPosition"
],
"note": "40250 GlobalPositionToLocalPosition -> GetHeight -> SetCenterPosition order preserved in platform host; exercised by port.login_flow and python_game_render_test.",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::SetCenterPosition": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplicationCamera.cpp:CPythonApplication::SetCenterPosition"
],
"note": "40250 camera state adapted on platform ApplicationCamera structure",
"test": "extension/tests/port_login_flow_test.cpp (step 8, 9)"
},
"CPythonApplication::GetCenterPosition": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplicationCamera.cpp:CPythonApplication::GetCenterPosition"
],
"note": "40250 camera state adapted on platform ApplicationCamera structure",
"test": "extension/tests/port_login_flow_test.cpp (step 8, 9)"
},
"CPythonApplication::SetServerTime": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::SetServerTime"
],
"note": "GC_TIME sets the server time, local ELTimer millisecond base and wall-clock base in ServerClock; platform host routes IAbstractApplication::SetServerTime here.",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::GetServerTime": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetServerTime"
],
"note": "Returns 40250 server millisecond base plus wrapped ELTimer elapsed milliseconds; port.login_flow checks the fake GC_TIME replaces a sentinel.",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::GetServerTimeStamp": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetServerTimeStamp"
],
"note": "Returns 40250 server base plus wall-clock elapsed seconds; port.login_flow checks the fake GC_TIME replaces a sentinel.",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::GetGlobalTime": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetGlobalTime"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::GetGlobalElapsedTime": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetGlobalElapsedTime"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::SetFPS": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::SetFPS"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::GetWidth": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetWidth"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::GetHeight": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetHeight"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::SetConnectData": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::SetConnectData"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::GetConnectData": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::GetConnectData"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::EnableSpecialCameraMode": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplicationCamera.cpp:CPythonApplication::EnableSpecialCameraMode"
],
"note": "40250 camera state adapted on platform ApplicationCamera structure",
"test": "extension/tests/port_login_flow_test.cpp (step 8, 9)"
},
"CPythonApplication::SetCameraSpeed": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplicationCamera.cpp:CPythonApplication::SetCameraSpeed"
],
"note": "40250 camera state adapted on platform ApplicationCamera structure",
"test": "extension/tests/port_login_flow_test.cpp (step 8, 9)"
},
"CPythonApplication::SetForceSightRange": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::SetForceSightRange"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::Clear": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Clear"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
},
"CPythonApplication::Destroy": {
"status": "ADAPTED",
"impl": [
"extension/src/platform/UserInterface/PythonApplication.cpp:CPythonApplication::Destroy"
],
"note": "40250 CPythonApplication lifecycle and state adapted for platform host and singletons",
"test": "extension/tests/port_login_flow_test.cpp"
}
}
}