port: CMapOutdoor + PythonBackground + minimap (1:1 40250)
GameLib map/area/terrain units, PRTerrainLib Terrain/TextureSet, PythonBackground(+Module) and ColorTransitionHelper ported verbatim; pending stand-ins and background module stubs removed. Hand edits: BeginEnvironment's pointer tag via uintptr_t, LoadWaterMap reads the file's 32-bit longs. Terrain draw passes stay platform no-ops (Godot draws the terrain). RecordingDevice gains textures, buffers and render targets; orthographic draws become UI commands so CPythonMiniMap's masked tiles show through minimap_image_filter in python_ui_surface. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b69116992c
commit
2ead95756e
@@ -5,243 +5,352 @@
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"CPythonBackground::GetRenderShadowTime": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GetRenderShadowTime"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::SetVisiblePart": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::SetVisiblePart"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::EnableTerrainOnlyForHeight": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::EnableTerrainOnlyForHeight"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::SetSplatLimit": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::SetSplatLimit"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::CreateCharacterShadowTexture": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::CreateCharacterShadowTexture"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::ReleaseCharacterShadowTexture": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::ReleaseCharacterShadowTexture"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RefreshShadowLevel": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RefreshShadowLevel"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::SetShadowLevel": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::SetShadowLevel"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::SelectViewDistanceNum": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::SelectViewDistanceNum"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::SetViewDistanceSet": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::SetViewDistanceSet"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GetFarClip": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GetFarClip"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GetDistanceSetInfo": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GetDistanceSetInfo"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::CPythonBackground": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::CPythonBackground"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::~CPythonBackground": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::~CPythonBackground"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::Initialize": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::Initialize"
|
||||
],
|
||||
"note": "40250 locale AtlasInfo setup, backed by transitional MapManager loader.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::Initialize"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::__CreateProperty": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::__CreateProperty"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GetPickingPoint": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::GetPickingPoint"
|
||||
],
|
||||
"test": "extension/tests/port_login_flow_test.cpp",
|
||||
"note": "40250 body over the cursor ray; CMapOutdoor::GetPickingPoint forwarded to GetPickingPointWithRay."
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GetPickingPoint"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GetPickingPointWithRay": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::GetPickingPointWithRay"
|
||||
],
|
||||
"test": "extension/tests/port_login_flow_test.cpp",
|
||||
"note": "Terrain half only: CMapOutdoor object pick (FGetPickingPoint over area objects) needs the unported CMapOutdoor."
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GetPickingPointWithRay"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GetPickingPointWithRayOnlyTerrain": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::GetPickingPointWithRayOnlyTerrain"
|
||||
],
|
||||
"test": "extension/tests/port_login_flow_test.cpp",
|
||||
"note": "CMapOutdoor::GetPickingPointWithRayOnlyTerrain/__PickTerrainHeight verbatim over the native CMapManager height; PR_FLOAT_TO_INT as floor."
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GetPickingPointWithRayOnlyTerrain"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GetLightDirection": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GetLightDirection"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::Destroy": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::Destroy"
|
||||
],
|
||||
"note": "Native map state cleanup; SnowEnvironment destruction remains TODO.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::Destroy"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::Create": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::Create"
|
||||
],
|
||||
"note": "Calls transition MapManager::Create; property and snow initialization remain TODO.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::Create"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::Update": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::Update"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::__IsSame": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::__IsSame"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::Render": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::Render"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderSnow": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderSnow"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderPCBlocker": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderPCBlocker"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderCollision": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderCollision"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderCharacterShadowToTexture": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderCharacterShadowToTexture"
|
||||
]
|
||||
},
|
||||
"Interpolate": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:Interpolate"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::CheckAdvancing": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::CheckAdvancing"
|
||||
],
|
||||
"test": "extension/tests/port_login_flow_test.cpp",
|
||||
"note": "40250 body and collision checkers verbatim, kept in the pending unit; no map objects are registered with CCullingManager until CMapOutdoor is ported."
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::CheckAdvancing"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderSky": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderSky"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderCloud": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderCloud"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderWater": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderWater"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderEffect": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderEffect"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderBeforeLensFlare": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderBeforeLensFlare"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RenderAfterLensFlare": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RenderAfterLensFlare"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::ClearGuildArea": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::ClearGuildArea"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RegisterGuildArea": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RegisterGuildArea"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::SetCharacterDirLight": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::SetCharacterDirLight"
|
||||
],
|
||||
"note": "Statement-equivalent 40250 function, kept in pending translation unit until the whole unit is ported; reachable RenderGame draws carry native light0.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::SetCharacterDirLight"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::SetBackgroundDirLight": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::SetBackgroundDirLight"
|
||||
],
|
||||
"note": "Statement-equivalent 40250 light setter, still in transitional pending translation unit.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::SetBackgroundDirLight"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GlobalPositionToLocalPosition": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::GlobalPositionToLocalPosition"
|
||||
],
|
||||
"note": "40250 base subtraction, kept in transitional pending translation unit.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GlobalPositionToLocalPosition"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::LocalPositionToGlobalPosition": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::LocalPositionToGlobalPosition"
|
||||
],
|
||||
"note": "40250 base addition, kept in transitional pending translation unit.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::LocalPositionToGlobalPosition"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::RegisterDungeonMapName": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::RegisterDungeonMapName"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GlobalPositionToMapInfo": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GlobalPositionToMapInfo"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::Warp": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::Warp"
|
||||
],
|
||||
"note": "Native AtlasInfo map selection and local coordinates reach pack-backed map; minimap, dungeon portals, target effects and full CMapOutdoor lifecycle remain TODO.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::Warp"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::VisibleGuildArea": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::VisibleGuildArea"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::DisableGuildArea": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::DisableGuildArea"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::GetWarpMapName": {
|
||||
"status": "ADAPTED",
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/platform/pending/UserInterface/PythonBackground.cpp:CPythonBackground::GetWarpMapName"
|
||||
],
|
||||
"note": "Returns current native Warp map name; still in pending translation unit.",
|
||||
"test": "project/python_game_render_test.gd"
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::GetWarpMapName"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::ChangeToDay": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::ChangeToDay"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::ChangeToNight": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::ChangeToNight"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::EnableSnowEnvironment": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::EnableSnowEnvironment"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::DisableSnowEnvironment": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::DisableSnowEnvironment"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::SetXMaxTree": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::SetXMaxTree"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::CreateTargetEffect": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::CreateTargetEffect"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::DeleteTargetEffect": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::DeleteTargetEffect"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::CreateSpecialEffect": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::CreateSpecialEffect"
|
||||
]
|
||||
},
|
||||
"CPythonBackground::DeleteSpecialEffect": {
|
||||
"status": "TODO"
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonBackground.cpp:CPythonBackground::DeleteSpecialEffect"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user