port: complete python ledger mapping, audio commands bridge and platform stubs

- Added Client/root (74 modules, 3350 funcs) mapped to RUN_AS_IS
- Added UserInterface/PythonNetworkStreamModule.cpp.json mapped to PORTED
- Implemented AudioCommands queue bridging MilesLib SoundManager to Godot AudioDriver
- Implemented AudioDriver node for BGM crossfading, 2D UI SFX and 3D spatial sounds
- Implemented core platform stubs in PythonApplication, GrpScreen, and PythonGraphic
- Passed all 12 port tests (port_gate macos) and python_game_render_test
This commit is contained in:
shen
2026-09-23 23:44:48 -07:00
parent 3981cbe5e6
commit c84f913cfd
85 changed files with 25310 additions and 20 deletions
@@ -0,0 +1,162 @@
{
"reference": "../../Client/Eternexus/root/constinfo.py",
"reference_sha256": "c2978de54de08f716fa846f4434811b66d8554bb52124b0ae6725dca63746576",
"priority": "P3",
"contracts": [],
"functions": {
"GET_ITEM_QUESTION_DIALOG_STATUS": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:GET_ITEM_QUESTION_DIALOG_STATUS"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_ITEM_QUESTION_DIALOG_STATUS": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_ITEM_QUESTION_DIALOG_STATUS"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_DEFAULT_FOG_LEVEL": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_DEFAULT_FOG_LEVEL"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_FOG_LEVEL_INDEX": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_FOG_LEVEL_INDEX"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GET_FOG_LEVEL_INDEX": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:GET_FOG_LEVEL_INDEX"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_DEFAULT_CAMERA_MAX_DISTANCE": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_DEFAULT_CAMERA_MAX_DISTANCE"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_CAMERA_MAX_DISTANCE_INDEX": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_CAMERA_MAX_DISTANCE_INDEX"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GET_CAMERA_MAX_DISTANCE_INDEX": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:GET_CAMERA_MAX_DISTANCE_INDEX"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_DEFAULT_CHRNAME_COLOR": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_DEFAULT_CHRNAME_COLOR"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_CHRNAME_COLOR_INDEX": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_CHRNAME_COLOR_INDEX"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GET_CHRNAME_COLOR_INDEX": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:GET_CHRNAME_COLOR_INDEX"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_VIEW_OTHER_EMPIRE_PLAYER_TARGET_BOARD": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_VIEW_OTHER_EMPIRE_PLAYER_TARGET_BOARD"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GET_VIEW_OTHER_EMPIRE_PLAYER_TARGET_BOARD": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:GET_VIEW_OTHER_EMPIRE_PLAYER_TARGET_BOARD"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_DEFAULT_CONVERT_EMPIRE_LANGUAGE_ENABLE": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_DEFAULT_CONVERT_EMPIRE_LANGUAGE_ENABLE"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_DEFAULT_USE_ITEM_WEAPON_TABLE_ATTACK_BONUS": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_DEFAULT_USE_ITEM_WEAPON_TABLE_ATTACK_BONUS"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_DEFAULT_USE_SKILL_EFFECT_ENABLE": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_DEFAULT_USE_SKILL_EFFECT_ENABLE"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"SET_TWO_HANDED_WEAPON_ATT_SPEED_DECREASE_VALUE": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:SET_TWO_HANDED_WEAPON_ATT_SPEED_DECREASE_VALUE"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GET_ACCESSORY_MATERIAL_VNUM": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:GET_ACCESSORY_MATERIAL_VNUM"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"GET_BELT_MATERIAL_VNUM": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:GET_BELT_MATERIAL_VNUM"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IS_AUTO_POTION": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:IS_AUTO_POTION"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IS_AUTO_POTION_HP": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:IS_AUTO_POTION_HP"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"IS_AUTO_POTION_SP": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/constinfo.py:IS_AUTO_POTION_SP"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
}
}
}