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:
co-authored by
Claude Opus 5.5
parent
7358bf444a
commit
03de3f314a
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"reference": "EterBase/Poly/Base.cpp",
|
||||
"reference_sha256": "44777e6173df4d43f20730d2a241ecb5a2576561cb5c49d89645ab83f119aa6d",
|
||||
"priority": "P4",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"CBase::CBase": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Base.cpp:CBase::CBase"
|
||||
]
|
||||
},
|
||||
"CBase::~CBase": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Base.cpp:CBase::~CBase"
|
||||
]
|
||||
},
|
||||
"CBase::isNumber": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Base.cpp:CBase::isNumber"
|
||||
]
|
||||
},
|
||||
"CBase::isVar": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Base.cpp:CBase::isVar"
|
||||
]
|
||||
},
|
||||
"CBase::isSymbol": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Base.cpp:CBase::isSymbol"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
{
|
||||
"reference": "EterBase/Poly/Poly.cpp",
|
||||
"reference_sha256": "1ca53bed299366c916408e02c9e23b4a799134b63174bab9246d2d79e75b7a3c",
|
||||
"priority": "P4",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"_random": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:_random"
|
||||
]
|
||||
},
|
||||
"CPoly::SetRandom": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::SetRandom"
|
||||
]
|
||||
},
|
||||
"CPoly::my_irandom": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::my_irandom"
|
||||
]
|
||||
},
|
||||
"CPoly::my_frandom": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::my_frandom"
|
||||
]
|
||||
},
|
||||
"CPoly::CPoly": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::CPoly"
|
||||
]
|
||||
},
|
||||
"CPoly::~CPoly": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::~CPoly"
|
||||
]
|
||||
},
|
||||
"CPoly::SetStr": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::SetStr"
|
||||
]
|
||||
},
|
||||
"CPoly::Eval": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::Eval"
|
||||
]
|
||||
},
|
||||
"CPoly::Analyze": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::Analyze"
|
||||
]
|
||||
},
|
||||
"CPoly::Clear": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::Clear"
|
||||
]
|
||||
},
|
||||
"CPoly::expr": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::expr"
|
||||
]
|
||||
},
|
||||
"CPoly::error": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::error"
|
||||
]
|
||||
},
|
||||
"CPoly::lexan": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::lexan"
|
||||
]
|
||||
},
|
||||
"CPoly::term": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::term"
|
||||
]
|
||||
},
|
||||
"CPoly::factor": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::factor"
|
||||
]
|
||||
},
|
||||
"CPoly::expo": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::expo"
|
||||
]
|
||||
},
|
||||
"CPoly::match": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::match"
|
||||
]
|
||||
},
|
||||
"CPoly::emit": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::emit"
|
||||
]
|
||||
},
|
||||
"CPoly::find": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::find"
|
||||
]
|
||||
},
|
||||
"CPoly::insert": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::insert"
|
||||
]
|
||||
},
|
||||
"CPoly::SetVar": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::SetVar"
|
||||
]
|
||||
},
|
||||
"CPoly::GetVarCount": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::GetVarCount"
|
||||
]
|
||||
},
|
||||
"CPoly::GetVarName": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::GetVarName"
|
||||
]
|
||||
},
|
||||
"CPoly::init": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Poly.cpp:CPoly::init"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"reference": "EterBase/Poly/Symbol.cpp",
|
||||
"reference_sha256": "018d4ee2824ccf9b10c859650ff22e47d815c03d958caa7490acc4c90479a032",
|
||||
"priority": "P4",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"CSymbol::CSymbol": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Symbol.cpp:CSymbol::CSymbol"
|
||||
]
|
||||
},
|
||||
"CSymbol::~CSymbol": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Symbol.cpp:CSymbol::~CSymbol"
|
||||
]
|
||||
},
|
||||
"CSymbol::Equal": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Symbol.cpp:CSymbol::Equal"
|
||||
]
|
||||
},
|
||||
"CSymbol::Less": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Symbol.cpp:CSymbol::Less"
|
||||
]
|
||||
},
|
||||
"CSymbol::GetType": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Symbol.cpp:CSymbol::GetType"
|
||||
]
|
||||
},
|
||||
"CSymbol::SetType": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Symbol.cpp:CSymbol::SetType"
|
||||
]
|
||||
},
|
||||
"CSymbol::issymbol": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/EterBase/Poly/Symbol.cpp:CSymbol::issymbol"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user