EffectLib's 18 units are copied verbatim (Type.h: drop a comment backslash that clang splices into the next enum line). The remaining Utils stubs get the 40250 bodies, so .msf fly data resolve relative .mse attachments, and CPythonResource registers mde/mdatr as 40250 does. login_flow spawns level_up.mse and sees its particle draws. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
217 lines
7.7 KiB
JSON
217 lines
7.7 KiB
JSON
{
|
|
"reference": "EterBase/Utils.cpp",
|
|
"reference_sha256": "031ffe819a55e0cea829e0da23e490ebf6b17dca8e2e0c9151350081b12f59b3",
|
|
"priority": "P4",
|
|
"contracts": [],
|
|
"functions": {
|
|
"CreateTempFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:CreateTempFileName"
|
|
],
|
|
"note": "GetTempPath/GetTempFileName -> $TMPDIR + mkstemp (same unique-file contract).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetFilePathNameExtension": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetFilePathNameExtension"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetFileExtension": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetFileExtension"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetFileNameParts": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetFileNameParts"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetOldIndexingName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetOldIndexingName"
|
|
],
|
|
"note": "_ecvt(Index,256) truncated at dec -> snprintf %u of |Index| (same digits).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetIndexingName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetIndexingName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetOnlyFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetOnlyFileName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetExceptionPathName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetExceptionPathName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetOnlyPathName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetOnlyPathName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetLocalFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetLocalFileName"
|
|
],
|
|
"note": "40250 body; min -> std::min.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetWorkingFolder": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetWorkingFolder"
|
|
],
|
|
"note": "_getcwd -> getcwd.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"StringLowers": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:StringLowers"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"StringPath": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:StringPath"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"PrintAsciiData": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:PrintAsciiData"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"fMIN": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:fMIN"
|
|
],
|
|
"note": "Exact 40250 pure float comparison; platform unit retains its OS-specific functions.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"fMAX": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:fMAX"
|
|
],
|
|
"note": "Exact 40250 pure float comparison; fixes zero-distance camera when map becomes ready.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"fMINMAX": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:fMINMAX"
|
|
],
|
|
"note": "Exact 40250 pure float clamp in platform translation unit.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"IsFile": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:IsFile"
|
|
],
|
|
"note": "_access -> access.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"IsGlobalFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:IsGlobalFileName"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"MyCreateDirectory": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:MyCreateDirectory"
|
|
],
|
|
"note": "40250 body; CreateDirectory -> mkdir(0755).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"RemoveAllDirectory": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:RemoveAllDirectory"
|
|
],
|
|
"note": "CDirRemover (CDir walk + DeleteFile/RemoveDirectory) -> std::filesystem::remove_all.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"StringExceptCharacter": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:StringExceptCharacter"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"SplitLine": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:SplitLine"
|
|
],
|
|
"note": "40250 body verbatim in the platform translation unit (PORT-PLAN §3: Utils pure functions copied).",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"GetExcutedFileName": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:GetExcutedFileName"
|
|
],
|
|
"note": "GetModuleFileName(NULL) has no platform equivalent; returns the working folder.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"_getf": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:_getf"
|
|
],
|
|
"note": "_vsnprintf -> vsnprintf.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
},
|
|
"CommandLineToArgv": {
|
|
"status": "ADAPTED",
|
|
"impl": [
|
|
"extension/src/platform/EterBase/Utils.cpp:CommandLineToArgv"
|
|
],
|
|
"note": "40250 body; GlobalAlloc -> malloc, BOOLEAN/PUCHAR -> BOOL/unsigned char*.",
|
|
"test": "extension/tests/port_utils_test.cpp"
|
|
}
|
|
}
|
|
}
|