port: CPythonSkill + skill module + EterBase/Poly (1:1 40250)

Copy PythonSkill.cpp and the EterBase/Poly formula parser verbatim, drop the
pending stand-in and the skill module stub, register initskill() after
initfly() and build CPythonSkill in m_pySkill's place. LoadLocaleData now
loads skilldesc/skilltable. Skill and item icon handles go through
Py_BuildPointer/PyTuple_GetPointer (ILP32 ints truncate 64-bit pointers).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-24 03:07:15 +09:00
co-authored by Claude Opus 5.5
parent 7358bf444a
commit 03de3f314a
25 changed files with 3944 additions and 328 deletions
@@ -0,0 +1,20 @@
{
"reference": "EterBase/Poly/SymTable.cpp",
"reference_sha256": "055323b1fbc4360c9f751089eb537afabb42343d19b65439dbe7d2a2a47d2fb4",
"priority": "P4",
"contracts": [],
"functions": {
"CSymTable::CSymTable": {
"status": "PORTED",
"impl": [
"extension/src/port/EterBase/Poly/SymTable.cpp:CSymTable::CSymTable"
]
},
"CSymTable::~CSymTable": {
"status": "PORTED",
"impl": [
"extension/src/port/EterBase/Poly/SymTable.cpp:CSymTable::~CSymTable"
]
}
}
}