2V1-b/c: PythonNetworkStream phases, AccountConnector and the net module

Port PythonNetworkStream with its HandShake/Login/Select/Loading/Offline
phases, AccountConnector and PythonNetworkStreamModule verbatim; the net
stub goes. PythonBoot creates the network stream, account connector,
player, flying manager and effect manager like CPythonApplication, and
app.Create/Process drive CNetworkDevice and both connectors.

Packet.h long fields become 32-bit LONG; port.packet checks 38
login/select/loading packet sizes against wire_classic.h. Unported units
in the link closure live under platform/pending/ as stand-ins. The macOS
gate now builds all and finds iconv.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-09-23 15:02:14 +09:00
co-authored by Claude Opus 5.5
parent cd3b8b506f
commit 4d9b800efb
44 changed files with 8292 additions and 324 deletions
@@ -0,0 +1,76 @@
// Stand-in for the 40250 logic unit GameLib/FlyingObjectManager.cpp, not ported yet: the platform_stub.py skeleton of its
// header, so the units that call it (批次 2V1, the network slice) link. Delete this file in the commit
// that ports the unit into port/ (docs/PORT-PLAN.md 2V1).
#include "GameLib/StdAfx.h"
#include "GameLib/FlyingObjectManager.h"
#include "../../PlatformStub.h"
CFlyingManager::CFlyingManager()
{
MT_PLATFORM_STUB();
}
CFlyingManager::~CFlyingManager()
{
MT_PLATFORM_STUB();
}
auto CFlyingManager::Destroy() -> void
{
MT_PLATFORM_STUB();
}
auto CFlyingManager::DeleteAllInstances() -> void
{
MT_PLATFORM_STUB();
}
auto CFlyingManager::RegisterFlyingData(const char *) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CFlyingManager::RegisterFlyingData(const char *, DWORD &) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CFlyingManager::CreateFlyingInstanceFlyTarget(const DWORD, const D3DXVECTOR3 &, const CFlyTarget &, bool) -> CFlyingInstance *
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<CFlyingInstance *>();
}
auto CFlyingManager::Update() -> void
{
MT_PLATFORM_STUB();
}
auto CFlyingManager::Render() -> void
{
MT_PLATFORM_STUB();
}
auto CFlyingManager::RegisterIndexedFlyData(DWORD, BYTE, const char *) -> bool
{
MT_PLATFORM_STUB();
return mt_platform_stub_return<bool>();
}
auto CFlyingManager::CreateIndexedFly(DWORD, CActorInstance *, CActorInstance *) -> void
{
MT_PLATFORM_STUB();
}
auto CFlyingManager::__DestroyFlyingInstanceList() -> void
{
MT_PLATFORM_STUB();
}
auto CFlyingManager::__DestroyFlyingDataMap() -> void
{
MT_PLATFORM_STUB();
}